How to Use the Bookmarklets. What's the point?

Just received the latest DEVONtechnologies News. It included an article headed ‘How to Use the Bookmarklets’.

I visited the Handbooks & Extras page, and installed two bookmarklets in my browser: ‘Clip to DEVONthink’, and ‘Bookmark’. They both seem to work as intended, but I’m left wondering: in what way are they any better than using the DT browser extension I normally use? ‘Clip to DEVONthink’ seems to function in an identical manner to the extension, allowing me to select the format and destination of the clip. ‘Bookmark’ seems not as useful as the extension since it only clips a bookmark—fair enough—but it puts it in the global inbox rather than the inbox of my open database.

The article implied that a bookmarklet “can work even better” than a browser extension. But I just don’t get it. Can anyone elaborate?

I havent seen them, but I can imagine that the bookmarklets are smaller and more specialised. Also, a bookmarklet has access to the complete DOM of a HTML document that’s currently visible. It can, without reloading it (!), do whatever it wants with the DOM. For example, it could send it to an “HTML to MD” service and save the MD to the clipboard. OTOH, bookmarklets might not have (easily) access to DT databases (or not at all, I’m not sure).

Actually better than the sharing extension. Therefore the bookmarklets are useful if there’s no browser extension for a browser.

I was referring to the ‘Clip to DEVONthink’ Safari extension that I’ve been using for years. So I infer from your comment that in my case the bookmarklet offers no extra functionality. Thanks

Thanks for that. But I fear I don’t understand. What do you mean ‘bookmarklets are smaller’? What is a DOM? What is an MD? I’m an experience Mac user—but I’m not a coder.

So say you’re an avid NYTimes reader and you have a subscription. You’re logged into the NYTimes on Safari and reading articles. If you want to save an article as a Web Archive and you use the “Clip to DEVONthink” Safari extension, the extension won’t recognize that you’re logged in. So when it clips to DT, it won’t be the entire article.

If you use the “Web Archive” bookmarklet, it WILL recognized that you’re logged in and will clip the full article.

That’s just one example.

Smaller = less code
DOM = Document Object Model, the logical structure of an HTML document in the browser
MD = Markdown

I was typing on an iPad, therefore trying to save on key strokes.

I see. That makes sense. I guess it’s not something I ever do. All I seem to do is to save clips as bookmarks.
Thanks for sharing.
Best
Kevan

Appreciate the explanations!

Hello,
I have some different resuls clipping with the bookmarklets (DM) as explained or using the “services” menu from Safari.
The main difference is that the first option in not capturing the images, but if I select whole content of the webpage, and then I use that service, I get all the content, including the image as a base64 code.
Is that normal, or can I have the same behaviour from the bookmarklet?
Thanks

What bookmarklet and what service?

The bookmarklet for Markdown and the service installed with the same name. Maybe a screeshot is useful

Bookmarklets and services are not technologically the same so they won’t necessarily produce the same output. Why not just choose the one that gives you the desired results?

1 Like

I did it! thank you for your answer. The bookmarklet is just one click, service’s just a bit more thant that. Just want to be sure there isn’t no problem with my installation because from my point of view, looks like the same process.

You’re welcome!

Note: You can add a hotkey for a service in System Settings > Keyboard > Keyboard Shortcuts > Services.