Disable tabs in Firefox


If you use a tiled window manager like me, Suckless DWM for example, and have Firefox as your browser, you may be interested by not showing the tabs.

It’s nearly easy not to show tabs in Firefox : change a configuration and add a custom css. This is how I do it.


  1. Type about:config in the address bar and press Enter. If you get a warning about security, click the button accepting the risk.
  2. Type userprof in the search bar_._ A line with toolkit.legacyUserProfileCustomizations.stylesheets appears.
  3. Double-click this line to switch the value from false to true.
  4. Close the window

I also changed the preference to not open new link in a tab but in a new window.

Custom css

In your home directory, there is an hidden folder called “.mozilla/firefox”. Change directory to it :

cd ~/.mozilla/firefox

In that folder, look for what seems your profile folder. For example, mine is like qtre86s9x.default. Enter in this folder :

cd qtre86s9x.default

Now we create a special folder named chrome :

mkdir chrome

And we create a special file in it named userChrome.css containing :

#TabsToolbar {visibility: collapse !important;}

Quit and relaunch your Firefox : no tabs !