Firefox 浏览器附加组件
  • 扩展
  • 主题
    • 适用于 Firefox
    • 字典和语言包
登录
TST Lock 预览

TST Lock 作者: Irv66

Prevents accidentally closing important tabs in Tree Style Tab by locking their close button. Toggle via customizable mouse click, tab context menu, or keyboard shortcut (Ctrl+Alt+L / ⌥+⌘+L). Fully customizable icons, sizes, and hover visibility.

5(2 条评价)5(2 条评价)
42 个用户42 个用户
下载 Firefox 并安装扩展
下载文件

扩展元数据

屏幕截图
Windows 11 with Firefox NovaWindows 10 with Firefox NovaPreset list of emojis that can be usedCustom graphics and ideasShortcut and settings
关于此扩展
TST Lock extends Tree Style Tab to help prevent accidentally closing important tabs via the "X" close button. When a tab is locked, its close button is replaced with a non-interactive lock graphic.

🔒 Three Ways to Lock & Unlock Tabs
  1. TST Mouse Shortcut (Left-Click): Hold Ctrl + Shift while left-clicking any tab in the Tree Style Tab sidebar (customizable with any combination of Ctrl / Cmd ⌘, Shift, and Alt / Option ⌥, or toggled On/Off in extension preferences).
  2. Tab Context Menu: Right-click on any tab (in the Tree Style Tab sidebar or native tab strip) and select Lock Tab or Unlock Tab.
  3. Firefox Keyboard Shortcut: Press Ctrl + Alt + L (⌥ + ⌘ + L / Option + Command + L on macOS) to toggle the active tab's lock state (customizable via about:addons ➔ ⚙ ➔ Manage Extension Shortcuts).

📦 Multi-Tab Batch Locking

Select multiple tabs to lock or unlock all highlighted tabs simultaneously via keyboard shortcut, right-click context menu ("Lock 3 Tabs"), or mouse click.

⚙ Visual Customization (No CSS Required)

Open settings by clicking the TST Lock toolbar icon or navigating to about:addons:
  • Preset & Custom Indicators: Choose from classic bundled lock icons, popular presets (📌, ⭐, 🛡), or type any single custom emoji/Unicode symbol.
  • Adjustable Sizing: Scale icons from 12px to 24px (16px default) with a responsive slider to match your tab height.
  • Visibility Modes: Choose between Always visible or On Hover only.
  • Dual Live Tab Preview: Test your custom indicators side-by-side against simulated light and dark tab backgrounds before saving.

(Note: You can still close a locked tab when needed by right-clicking on the tab and selecting "Close Tab".)

🎨 Advanced Customization (Optional TST CSS)

For power users who wish to further tweak icon positioning, scaling, or spacing, you can add custom styles to Tree Style Tab's Advanced settings:

#tabbar tab-item.locked tab-closebox {
display: initial;
height: 36px;
width: 18px;
transform: scale(1.3);
opacity: 1 !important;
}


🔗 Feedback & Support
  • Original TST discussion
  • Issue tracker & feature requests
开发者留言
Tree Style Tab is a requirement for this addon to work.
评分 5(1 位用户)
登录以评价此扩展
目前尚无评分

已保存星级评分

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

必要权限:

  • 获取最近关闭的标签页
  • 获取浏览器标签页

收集的数据:

  • 开发者称此扩展无需收集数据。
详细了解
更多信息
附加组件链接
  • 主页
  • 用户支持网站
  • 复制附加组件 ID
版本
1.2.0
大小
48.65 KB
上次更新
1 个月前 (2026年10月28日)
相关分类
  • 标签页
许可证
MIT 许可证
版本历史
  • 查看所有版本
添加到收藏集
举报此附加组件
转至 Mozilla 主页

附加组件

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

下载

  • Download Firefox
  • Windows
  • macOS
  • iOS
  • Android
  • Linux
  • All

最新版本

  • Nightly
  • Beta

商用版 Firefox

  • Enterprise

社区

  • Connect
  • Contribute
  • Developer

关注

  • Instagram
  • YouTube
  • TikTok
  • Bluesky
  • Podcast
  • 隐私
  • Cookie
  • 法律

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