
TabGuard by why7e
Add-on to prevent accidental tab closures. Automatic URL matching and toggle button to enable a confirmation prompt before a webpage is unloaded.
You'll need Firefox to use this extension
Extension Metadata
Screenshots


About this extension
Features
Usage
Settings Page
To access the settings page in Firefox:
Managing URL Patterns
In the settings page, you can:
Examples of URL patterns:
The extension will automatically lock any tab whose URL matches one of your patterns.
- 🔒 Automatically locks selected pages to prevent accidental closure
- 🔄 Toggle lock/unlock for any webpage by clicking the extension icon
- 🚫 Prompts for confirmation when attempting to close a locked tab
- 📝 Configure automatic tab locking using regex patterns
- 🌓 Supports both light and dark modes
Usage
- Click the extension icon (🔒/🔓) to manually toggle the lock state for any tab
- When attempting to close a locked tab, you'll be prompted for confirmation
- Set up automatic tab locking rules in the settings page
Settings Page
To access the settings page in Firefox:
- Click the menu button (☰) in Firefox
- Select "Add-ons and themes"
- Find TabGuard in your extensions list
- Click the gear (⚙️) icon next to TabGuard
- Select "Extension Options" or "Preferences"
Managing URL Patterns
In the settings page, you can:
- Add new URL patterns using regular expressions
- View all your existing patterns
- Delete patterns you no longer need
Examples of URL patterns:
youtube\.com/watch # Matches YouTube video pages
docs\.google\.com # Matches Google Docs pages
.*\.example\.com # Matches all subdomains of example.com
# Matches Autotask time entries
(https:\/\/)?ww6\.autotask\.net\/Mvc\/ServiceDesk\/TimeEntry\.mvc\/.*
The extension will automatically lock any tab whose URL matches one of your patterns.
Rate your experience
PermissionsLearn more
This add-on needs to:
- Access browser tabs
- Access your data for all websites
More information
- Add-on Links
- Version
- 1.0.0
- Size
- 74.39 KB
- Last updated
- 13 days ago (Mar 22, 2025)
- Related Categories
- License
- MIT License
- Version History
- Tags
Add to collection
More extensions by why7e
- There are no ratings yet
- There are no ratings yet
- There are no ratings yet
- There are no ratings yet
- There are no ratings yet
- There are no ratings yet