Firefox: How to hide the “X” from the vertical tabs on the right
It's definitely not for everyone, but I find it convenient to have the list of browser tabs on the right. And you know what else is on the right? The button “x” to close them.
The problem is if I'm in a hurry, instead of activating the tab, I regularly end up clicking on the “X” and close it. If you also have this problem “mira”, the solution is drastic but very effective: hide the close button via CSS taking advantage of the potential of Firefox.
The solution in one line of code
Just add this rule inside the file userChrome.css of your Firefox profile:
/* Nasconde il pulsante di chiusura sui tab verticali */
.tab-close-button {
display: none !important;
}
How to apply it in 2 steps:
- Type
about:configin the address bar and set the stringtoolkit.legacyUserProfileCustomizations.stylesheetsits true. - Go up
about:support, click on Open folder (at the Profile folder), create a folder calledchromeand place the text file inside ituserChrome.csswith the code above.
A browser restart and it's annoying “X” it will disappear from your feet.
And to close tabs quickly? No drama: just do it click with the middle mouse button (the wheel) anywhere on the tab, or use the classic keyboard shortcut Ctrl + W.



0 Comments