Product Hunt bookmarklet update

[Tweet : nvALT]

I posted a bookmarklet for quickly opening Product Hunt product links in the same browser tab in June. It was based on a specific CSS selector for finding the “Get It” link, and Product Hunt has since changed the markup, breaking the bookmarklet.

This is just a quick update to a more forgiving selector path that should be relatively future-proof to avoid reoccurrence of the issue should the markup continue to change.

This version also handles Get It buttons with dropdown menus containing both website and App Store links (it chooses the website link).

Just drag the button below to your bookmarks bar (removing the older one if you have it installed) and click it when you’re on a Product Hunt product page.