Firefox 浏览器附加组件
  • 扩展
  • 主题
    • 适用于 Firefox
    • 字典和语言包
    • 其他浏览器网站
    • 适用于 Android 的附加组件
登录
TabGuard 预览

TabGuard 作者: why7e

Add-on to prevent accidental tab closures. Automatic URL matching and toggle button to enable a confirmation prompt before a webpage is unloaded.

5 (1 reviews)5 (1 reviews)
1 个用户1 个用户
您需要 Firefox 来使用此扩展
下载 Firefox 并安装扩展
下载文件

扩展元数据

屏幕截图
Set URL matching rules using regular expressions. Any tab with a matching URL will be automatically locked.A locked tab will prompt for confirmation when attempting to close or navigate away from the current page.
关于此扩展
Features
  • 🔒 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:
  1. Click the menu button (☰) in Firefox
  2. Select "Add-ons and themes"
  3. Find TabGuard in your extensions list
  4. Click the gear (⚙️) icon next to TabGuard
  5. 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.
评分 5(1 位用户)
登录以评价此扩展
目前尚无评分

已保存星级评分

5
1
4
0
3
0
2
0
1
0
阅读全部 1 条评价
权限与数据详细了解

必要权限:

  • 获取浏览器标签页
  • 访问您在所有网站的数据
更多信息
附加组件链接
  • 主页
  • 用户支持网站
  • 支持邮箱
版本
1.0.0
大小
74.39 KB
上次更新
5 个月前 (2025年3月22日)
相关分类
  • 标签页
许可证
MIT 许可证
版本历史
  • 查看所有版本
标签
  • container
  • security
  • user scripts
添加到收藏集
举报此附加组件
why7e 制作的更多扩展
  • 目前尚无评分

  • 目前尚无评分

  • 目前尚无评分

  • 目前尚无评分

  • 目前尚无评分

  • 目前尚无评分

转至 Mozilla 主页

附加组件

  • 关于
  • Firefox 附加组件博客
  • 扩展工坊
  • 开发者中心
  • 开发者政策
  • 社区博客
  • 论坛
  • 报告缺陷
  • 评价指南

浏览器

  • Desktop
  • Mobile
  • Enterprise

产品

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • 隐私
  • Cookie
  • 法律

除非另有注明,否则本网站上的内容可按知识共享 署名-相同方式共享 3.0 或更新版本使用。