Skip to content

lennarto/reopen-existing-tab-extension

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Important

This is the Chrome Addon.
👉 The CLI version is here: lennarto/open-existing-tab-addon

Fallback image description

Simple Chrome Addon to (re)open a specific URL via bookmark. If no such tab exists, it opens a new one.

Demo GIF

🚀 Installation via Chrome Web Store

Install from Chrome Web Store
  • Option 1: Install directly from the Chrome Web Store
  • Option 2: Download this repository and load it as an unpacked extension in Chrome.

🔥 Usage

Replace in the bookmarks:

https://x.com

with

javascript:window.postMessage({type:'REOPEN_REQUEST',url:'https://x.com'},'*')

💪 Pro Tip

  1. go to Bookmarks >>> chrome://bookmarks
  2. Export bookmarks (top right ...)
  3. Open in Text Editor
  4. Replace old urls with new urls, this will keep the original icons !!!

Example: Replace ...

<DT><A HREF="https://mail.google.com/mail/u/0/#inbox" ADD_DATE="1726411430" ICON="data:image/png;base64,iVBORw0KGgoAAA ..."></A>

... with ...

<DT><A HREF="javascript:window.postMessage({type:'REOPEN_REQUEST',url:'https://mail.google.com/mail/u/0/#inbox'},'*')" ADD_DATE="1726411430" ICON="data:image/png;base64,iVBORw0KGgoAAA ..."></A>

  1. Import bookmarks (top right ... same page as export ...)

💙 Support

🐞 Found a bug? Missing a specific feature?

Feel free to file a new Issue.

🤝 Contact me

I love building digital products, working in it-strategy, or applying ai in real-world use cases. On top of that, i create private it expert reports (🇩🇪 IT-Gutachten) for legal proceedings in germany, especially in criminal cases. 👉 My website 👈

🍻 Buy me a beer

If you’ve found something useful, feel free to fuel my next project with a Beer! 🍻 I do have a couple of cool ideas in my backlog 🚀 👉 My Paypal | Ko-Fi 👈

About

Simple Chrome Addon to (re)open a specific URL via bookmark. If no such tab exists, it opens a new one.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Sponsor this project

Contributors