TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: A Chrome extension to open bookmarks in a new tab by default

1 pointsby vitalets22 days ago
I got tired of losing my current page every time I clicked a bookmark and forgot to Ctrl+click. So I built a Chrome extension that makes bookmarks open in a new tab by default — with just a regular left-click.<p>What seemed like a simple idea turned out to be surprisingly tricky to implement. Chrome doesn&#x27;t provide a direct API for intercepting bookmark clicks from the bookmarks bar, so I had to get creative:<p>- The extension slightly rewrites the bookmark URL (using the username part of the URL scheme) - When clicked, the link redirects to a harmless ZIP file, which triggers a download and leaves the current tab untouched - The extension intercepts the download and instantly cancels it - Then it opens the original URL in a new tab<p>The final solution may look over-engineered — and it kind of is — but it works reliably, preserves favicons, and doesn&#x27;t break UX.<p>You can try it here: <a href="https:&#x2F;&#x2F;chromewebstore.google.com&#x2F;detail&#x2F;open-bookmarks-in-a-new-t&#x2F;mcecogccjlcplcccpnejnldpijppkfil" rel="nofollow">https:&#x2F;&#x2F;chromewebstore.google.com&#x2F;detail&#x2F;open-bookmarks-in-a...</a><p>Happy to hear your feedback.

no comments

no comments