How many times have you visited a post with a list of resources, e.g. “15 resources for free stock photos,” and wished you could just grab them all at once? I don’t know about you, but it happens to me frequently.

This bookmarklet lets you click any link on the page, then analyzes it to find immediate sibling links of the same type, within the same immediate container element. Currently, it displays them as a Markdown list, but I may add an option to simply open them all in new tabs, or even add Pinboard bookmarks for all of them with a custom tag. If you’re interested in additional features like that, let me know so I can gauge the level of effort I should put into any further development.

Drag the link below to your browser’s bookmark bar, then click it on any page with a list of links. Hover over one of the links in the list and click to grab all of the links that match its criteria. Typing any key or clicking outside of the Markdown output display will turn the bookmarklet off and restore page functionality.

Note that:

  1. Similarity is written in pure JavaScript and requires no external loads. I ran into issues with loading external bookmarklets in Chrome with its new security issues (because I don’t want to generate an SSL certificate for a server with no other need for one).
  2. It also uses “modern” JavaScript features, so it won’t work for anyone using older browsers. No offense to those folks, but I just don’t care about them.
  3. This should work on mobile, but I make no guarantees.

Let me know how it goes!