The officially official Devuan Forum!

You are not logged in.

#1 2022-03-10 20:10:11

From: /home
Registered: 2018-07-16
Posts: 24  

HOWTO - Guide to restoring classic interface in Firefox 91 ESR

If you're unhappy with the changes to the Firefox interface in recent versions, don't worry. It's possible to change this and it's not overly complicated. I'm posting this quick guide to give you an idea of how it works.





Here's how:
  • Navigate to about:config

  • Type toolkit.legacyUserProfileCustomizations.stylesheets

  • Set value to true

  • Create folder chrome in your Firefox profile folder, i.e.

    mkdir ~/.mozilla/firefox/<PROFILE>/chrome
  • Create file userChrome.css in this directore, i.e.

    touch ~/.mozilla/firefox/<PROFILE>/chrome/userChrome.css
  • In userChrome.css you can put the following CSS code to change the tabs:

    border-radius: 0px 0px !important;
    margin-bottom: 0px !important;
    .tabbrowser-tab:not([selected=true]):not([multiselected=true]) .tab-background{
    background-color: color-mix(in srgb, currentColor 5%, transparent);
    menupopup > menu, menupopup > menuitem{
    padding-block: 2px !important;
    min-height: 0px !important;
    --arrowpanel-menuitem-padding: 0px !important;
    /* active tab accent color */
    .tabbrowser-tab[selected="true"] .tab-background {
      border-top: 2px solid #5294e2 !important;

    In this example, I gave the active tab the accent color #5294e2 which I based on arc-theme but you can change that to whatever you want. Note that this code will also reduce padding on your Firefox menu so it looks more compact.

  • You can also add the following code to userChrome.css to keep the address bar from "popping out", though you may have to fiddle with the url-toolbar-height settings so it aligns properly. The following works for me:

    #urlbar[breakout][breakout-extend] {
      --urlbar-height: 28px !important;
      --urlbar-toolbar-height: 38px !important;
      width: 100% !important;
      top: 3px !important;
      left: 0 !important;
    #urlbar[breakout][breakout-extend] > #urlbar-input-container,
    #urlbar-input-container {
      height: var(--urlbar-height) !important;
      width: 100% !important;
      padding-block: unset !important;
      padding-inline: unset !important;
      transition: none !important;
    #urlbar[breakout][breakout-extend] > #urlbar-background {
      box-shadow: 0 1px 4px rgba(0,0,0,.05) !important;
      animation: none !important;

That's it.


You can revert to the default interface simply by setting toolkit.legacyUserProfileCustomizations.stylesheets to false in about:config without needing to delete the userChrome.css file or the chrome folder.

Reference material:

Last edited by tylerdurden (2022-03-10 20:12:18)


Board footer