You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 23, 2026. It is now read-only.
/* Lock Pinned Tabs * * Pinned tabs in a workspace are persistent assets, so their hover (x) close * button is removed to avoid dismissing one by an accidental click. * Normal (unpinned) tabs are unaffected and keep their close button. */
.tabbrowser-tab[pinned] .tab-close-button {
display: none !important;
}
Readme
# Lock Pinned Tabs
Pinned tabs in a workspace are **assets**, not disposable tabs. This mod removes
the hover `×` close button on **pinned tabs** so they can't be dismissed by an
accidental click. Normal (unpinned) tabs are unaffected and keep their `×`.
## Closing a pinned tab on purpose
Right-click → **Close Tab**, or **middle-click** the tab.
## Optional: also stop ⌘W from closing pinned tabs
Zen Mods are CSS-only and can't rebind keys. If you want ⌘W to leave pinned tabs
alone, set `zen.pinned-tab-manager.close-shortcut-behavior` in `about:config` to
e.g. `reset-unload-switch` — Zen resets/unloads the pinned tab instead of closing
it, while ⌘W keeps working normally on other tabs.
Name
Lock Pinned Tabs
Description
Hides the close × on pinned tabs so an accidental click can't dismiss them.
Homepage
https://github.com/rocavence/zen-workspace-tabs-as-assets
Image
https://raw.githubusercontent.com/rocavence/zen-workspace-tabs-as-assets/main/image.png
Type
Theme Styles
Readme
Preferences
No response