TST Lock EN
Irv66 · Firefox
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.
截图
简介
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
- TST Mouse Shortcut (Left-Click): Hold
Ctrl + Shiftwhile left-clicking any tab in the Tree Style Tab sidebar (customizable with any combination ofCtrl/Cmd ⌘,Shift, andAlt/Option ⌥, or toggled On/Off in extension preferences). - 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.
- Firefox Keyboard Shortcut: Press
Ctrl + Alt + L(⌥ + ⌘ + L/Option + Command + Lon macOS) to toggle the active tab's lock state (customizable viaabout: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
TST Lock 是做什么的
TST Lock 是一款面向 Firefox 的实用工具类扩展,主要用来解决浏览器里某类具体的小问题。官方对它的介绍是: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.在Firefox 附加组件商店(AMO)上,它当前版本 1.2.0,评分 5(2 人评价),约 45 名用户。
适合什么人用
从功能定位看,TST Lock 更适合想补上浏览器原生缺失功能的用户。如果你平时只是偶尔遇到相关需求,用浏览器自带功能也能凑合;但如果这件事每天都发生,装一个专门处理它的扩展通常比手动操作省事得多。
怎么安装 TST Lock
- 打开Firefox 附加组件商店(AMO)上的官方页面;
- 点「添加到浏览器」并确认权限提示;
- 装好后在扩展列表里固定图标,方便随时开关。
本站只做索引与介绍,安装包来自官方商店。如果商店页面提示当前地区不可用,说明该扩展未在你所在区域上架。
常见问题
TST Lock 是免费的吗?
TST Lock 在Firefox 附加组件商店(AMO)免费提供下载。它是浏览器扩展,装上就能直接用,不需要注册账号。
TST Lock 安全吗?
它只申请了 0 项权限,范围比较克制,没有申请「读取所有网站数据」这种大权限。
TST Lock 支持哪些浏览器?
当前收录的版本来自Firefox 附加组件商店(AMO),适用于 Firefox。同一个扩展在其他商店可能有对应版本,但功能与版本号不一定相同。
怎么卸载 TST Lock?
在扩展管理页找到 TST Lock,点移除即可。它在本地保存的设置会一起清掉,不会残留数据。
权限清单 来自 manifest.json 原文
接口权限 4
menussessionsstoragetabs




