Important
✨ This is the CLI version.
👉 The Chrome extension is here: lennarto/reopen-existing-tab-extension
brew tap lennarto/reopen
brew install reopenreopen netflix.com # standard-browser = chrome
reopen safari netflix.com # use specific browser
reopen standard safari # change standard-browserosascript -l JavaScript /scripts/open-chrome-tab.js "https://web.whatsapp.com/"reopen standard chrome
reopen standard safari
reopen standard edge
reopen standard opera Unfortunately, Arc and Firefox do not allow access to "tabs". They also have very limited AppleScript support. A solution for Firefox might be possible, but needs more development effort. You can upvote the issues to show your interest.
You can integrate this with Tools like Apple Shortcuts or BetterTouchTool to quickly re-open urls with specific gestures, buttons, or keyboard shortcuts.
BetterTouchTools and Shortcuts (especially in “Run Shell Script”) often run a minimal environment: they don’t load your full shell config. That’s why reopen might be unknown inside these tools, and you might have to load your shell config before. In my case, it works with:
source ~/.zshrc
reopen "https://netflix.com"In the embedded terminals, you might need to put the url in "brackets" and add https://
reopen netflix.com # works perfectly in normal terminals
reopen "https://netflix.com" # might be needed in embedded terminals (like Shortcuts or BetterTouchtools)Feel free to file a new Issue.
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 👈
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 👈


