_____ _____ ____ __
/__ / ___ ____ / ___/____ ____ _____ / __ )____ ______/ /__
/ / / _ \/ __ \ \__ \/ __ \/ __ `/ __ \/ __ / __ `/ ___/ //_/
/ /__/ __/ / / / ___/ / / / / /_/ / /_/ / /_/ / /_/ / /__/ ,<
/____/\___/_/ /_/ /____/_/ /_/\__,_/ .___/_____/\__,_/\___/_/|_|
/_/
Zen-SnapBack is an ultra-lightweight power-user mod for Zen Browser. It allows you to instantly reset any pinned tab to its original "Home" URL with a simple double-click.
To use this mod, you need a script loader (which enables Zen to execute .uc.js files).
If you haven't enabled script support yet, we recommend fx-autoconfig, the gold standard for Firefox-based browsers: fx-autoconfig
Follow their instructions to place the
config.jsanddefaultsfiles into your Zen installation folder.
Once your loader is ready:
- Open your Zen Profile Folder:
- Type
about:supportin the address bar. - Find Profile Folder and click Open Folder.
- Type
- Navigate to the
chromefolder:- If it doesn't exist, create a new folder named
chrome.
- If it doesn't exist, create a new folder named
- Add the script:
- Download
zenSnapBack.uc.jsfrom this repository. - Drop it into the
chromefolder.
- Download
- Restart Zen Browser.
- Pin a tab (e.g., Gmail, YouTube, or your favorite dashboard).
- Navigate freely within that tab.
- Double-click the tab icon or label in the tab bar.
- Result: The tab instantly resets to its original URL, and the navigation history for that tab is cleared.
The script hooks into Zen's internal command dispatcher:
- Command ID:
cmd_zenPinnedTabReset
By triggering the native command rather than just reloading the URL, the mod ensures perfect synchronization with Zen's session management and UI state.
Feedback and Pull Requests are welcome! If you encounter a bug or have an idea for a feature, please open an Issue.