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 a companion discussion topic for the original entry at https://brettterpstra.com/2016/07/29/product-hunt-bookmarklet-update