After coming home from work this evening, I sat down and wrote a little browser extension. 4 hours later, it was done. Behold: Linksplosion. Simply select some content, right-click, and click on “Open all links in selection.” Bam! You’ll be treated to a cornucopia of new tabs.
You might be asking, “Why make this thing?”
I knew this feature already existed in other extensions, but I wanted something less bloated. Also, I wanted to get more experience writing Chrome extensions. I succeeded on both fronts. I learned useful things such as Chrome’s context menu API and discovered the particularly handy Element.querySelectorAll. Originally, I had a recursive function that walked the DOM looking for anchor tags. I knew it was bad, but couldn’t think of anything better.
2. Thanks to Bjorn for telling me about querySelectorAll.