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.
42 个用户42 个用户
扩展元数据
屏幕截图
关于此扩展
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
📦 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
(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:
🔗 Feedback & Support
🔒 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
Tree Style Tab is a requirement for this addon to work.
评分 5(1 位用户)
权限与数据
更多信息