Firefox: How to hide the “X” from the vertical tabs on the right

Published by TheJoe on

Estimated reading time: < 1 minute

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:

  1. Type about:config in the address bar and set the string toolkit.legacyUserProfileCustomizations.stylesheets its true.
  2. Go up about:support, click on Open folder (at the Profile folder), create a folder called chrome and place the text file inside it userChrome.css with 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.

Look here:  Installare FreeFileSync su Linux

TheJoe

I keep this blog as a hobby by 2009. I am passionate about graphic, technology, software Open Source. Among my articles will be easy to find music, and some personal thoughts, but I prefer the direct line of the blog mainly to technology. For more information contact me.

0 Comments

Leave a Reply

Avatar placeholder

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.