Help with Bookmarklets

When trying to clip code snippets from the web to DTPO, using the bookmarklet Clip to DevonThink (link below) and choosing HTML results in an HTML page that says “undefined”.

Using the Selection bookmarklet, highlighting the text here returns nothing. Is it due to that specific page?

Which page are you trying to clip?

the code in the link in my post. (here). I’m trying to find a quick way to add code snippets to DTPO I find online.

I’ve just added the code, called the Clip to DEVONthink bookmarklet and added it as HTML (adds the whole page and the selected text into the comments), note (adds the selected text as new plain text document), and web archive. All worked as expected.