timgioh/Tab-Shield-Saver-Protect-Stash-Tabs

Protect active tabs from accidental closes and stash entire browser sessions with one click. 100% local and private.

3

stars

5

commits

JavaScript

primary language

Aug 18, 2026

updated

README

πŸ›‘οΈ Tab Shield & Saver

Protect active tabs from accidental closes and stash entire browser sessions with one click. Version Manifest Privacy License A lightweight Chrome extension for people who live in too many tabs. It keeps important pages from vanishing by accident β€” and parks a whole window of work when you need a clean slate. No servers. No accounts. No tracking. Everything stays in your browser.

✨ What it solves

Closing the wrong tab (or the whole window) is a tiny click with a big cost: lost research, a forgotten checkout, a half-written form. Tab Shield & Saver does two jobs:

  1. Shield β€” lock the current tab. If it gets closed, the service worker reopens it automatically. If the entire window disappears, the URL is saved to a local backup instead of being lost.
  2. Stash β€” save every restorable tab in the current window as a named session, then close them in one click. Restore later, inspect individual URLs, or delete what you no longer need.

πŸš€ Features

  • πŸ›‘οΈ Shield Mode β€” Protect the active tab. Accidental closes trigger an automatic reopen plus a desktop notification.
  • πŸ’Ύ Protected Links Backup β€” If a window is closed, protected URLs are stored locally. Restore them later from a banner in the popup.
  • πŸ“¦ One-Click Stash β€” Park all tabs in the current window as a session (title + url + timestamp) and start fresh.
  • πŸ“‚ Expandable Sessions β€” Inspect every saved link with favicons, open a single tab, or remove one URL with Γ—.
  • ✏️ Rename Sessions β€” Click a session title to give it a custom name. Stored in chrome.storage.local.
  • πŸ—‘οΈ Safe Delete β€” Deleting a session asks for confirmation first.
  • πŸŒ™ Dark / Light Mode β€” Toggle in the header. Your theme preference persists across popup opens.
  • πŸ”’ 100% local β€” Data never leaves your machine. Permissions used: tabs, storage, activeTab, notifications.

πŸ“₯ Installation

Coming soon to the Chrome Web Store. Until then, you can load it locally in under a minute:

  1. Clone this repository or download the tab-stash-shield folder.
  2. Open Chrome and go to chrome://extensions.
  3. Turn on Developer mode (top right).
  4. Click Load unpacked.
  5. Select the project folder. The icon appears in the toolbar. Click it to open the popup.

After pulling updates, hit Reload on the extension card in chrome://extensions.


πŸ› οΈ Technologies

LayerStack
ExtensionChrome Manifest V3
UIHTML5, modern CSS variables, vanilla JavaScript (no build step)
BackgroundService worker (background.js)
Chrome APIschrome.tabs (onRemoved, onUpdated, create, query) Β· chrome.windows (onRemoved) Β· chrome.storage.local Β· chrome.notifications
PrivacyAll state lives in chrome.storage.local β€” protected tabs, session stash, theme, backup list
tab-stash-shield/ β”œβ”€β”€ manifest.json # MV3 config & permissions β”œβ”€β”€ popup.html # Popup UI β”œβ”€β”€ styles.css # Dark / light theming β”œβ”€β”€ popup.js # Shield, stash, sessions, theme β”œβ”€β”€ background.js # Reopen + window-close backup β”œβ”€β”€ icons/ # 16 / 48 / 128 └── README.md

Author

Created by Konstantin (@konstantinsio)

Built with Cursor. Contributions and ideas are welcome.

Contributors

timgioh

5 commits

timgioh/Tab-Shield-Saver-Protect-Stash-Tabs

Protect active tabs from accidental closes and stash entire browser sessions with one click. 100% local and private.

3

stars

5

commits

JavaScript

primary language

Aug 18, 2026

updated

README

πŸ›‘οΈ Tab Shield & Saver

Protect active tabs from accidental closes and stash entire browser sessions with one click. Version Manifest Privacy License A lightweight Chrome extension for people who live in too many tabs. It keeps important pages from vanishing by accident β€” and parks a whole window of work when you need a clean slate. No servers. No accounts. No tracking. Everything stays in your browser.

✨ What it solves

Closing the wrong tab (or the whole window) is a tiny click with a big cost: lost research, a forgotten checkout, a half-written form. Tab Shield & Saver does two jobs:

  1. Shield β€” lock the current tab. If it gets closed, the service worker reopens it automatically. If the entire window disappears, the URL is saved to a local backup instead of being lost.
  2. Stash β€” save every restorable tab in the current window as a named session, then close them in one click. Restore later, inspect individual URLs, or delete what you no longer need.

πŸš€ Features

  • πŸ›‘οΈ Shield Mode β€” Protect the active tab. Accidental closes trigger an automatic reopen plus a desktop notification.
  • πŸ’Ύ Protected Links Backup β€” If a window is closed, protected URLs are stored locally. Restore them later from a banner in the popup.
  • πŸ“¦ One-Click Stash β€” Park all tabs in the current window as a session (title + url + timestamp) and start fresh.
  • πŸ“‚ Expandable Sessions β€” Inspect every saved link with favicons, open a single tab, or remove one URL with Γ—.
  • ✏️ Rename Sessions β€” Click a session title to give it a custom name. Stored in chrome.storage.local.
  • πŸ—‘οΈ Safe Delete β€” Deleting a session asks for confirmation first.
  • πŸŒ™ Dark / Light Mode β€” Toggle in the header. Your theme preference persists across popup opens.
  • πŸ”’ 100% local β€” Data never leaves your machine. Permissions used: tabs, storage, activeTab, notifications.

πŸ“₯ Installation

Coming soon to the Chrome Web Store. Until then, you can load it locally in under a minute:

  1. Clone this repository or download the tab-stash-shield folder.
  2. Open Chrome and go to chrome://extensions.
  3. Turn on Developer mode (top right).
  4. Click Load unpacked.
  5. Select the project folder. The icon appears in the toolbar. Click it to open the popup.

After pulling updates, hit Reload on the extension card in chrome://extensions.


πŸ› οΈ Technologies

LayerStack
ExtensionChrome Manifest V3
UIHTML5, modern CSS variables, vanilla JavaScript (no build step)
BackgroundService worker (background.js)
Chrome APIschrome.tabs (onRemoved, onUpdated, create, query) Β· chrome.windows (onRemoved) Β· chrome.storage.local Β· chrome.notifications
PrivacyAll state lives in chrome.storage.local β€” protected tabs, session stash, theme, backup list
tab-stash-shield/ β”œβ”€β”€ manifest.json # MV3 config & permissions β”œβ”€β”€ popup.html # Popup UI β”œβ”€β”€ styles.css # Dark / light theming β”œβ”€β”€ popup.js # Shield, stash, sessions, theme β”œβ”€β”€ background.js # Reopen + window-close backup β”œβ”€β”€ icons/ # 16 / 48 / 128 └── README.md

Author

Created by Konstantin (@konstantinsio)

Built with Cursor. Contributions and ideas are welcome.

Contributors

timgioh

5 commits

Languages

JavaScript

61.3%

CSS

29.9%

HTML

8.7%