Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How do I hide the Add-on Bar by default?

  • 22 replies
  • 223 have this problem
  • 29 views
  • Last reply by Macenro

more options

Whenever I disable the Add-on Bar, it returns after I restart Firefox. Is there any way to make it hidden by default? The only button in it for me is Firebug, and its already got a toolbar button and a keyboard shortcut. Thanks!

Whenever I disable the Add-on Bar, it returns after I restart Firefox. Is there any way to make it hidden by default? The only button in it for me is Firebug, and its already got a toolbar button and a keyboard shortcut. Thanks!

All Replies (20)

more options

Maybe Firebug is causing that Add-on bar to appear or it is because the Add-on bar isn't empty.

You can check:

more options

If that's the case, it seems like this is a bug that should be fixed--what's the point of even letting people hide the add-on bar if it will always appear on startup if any installed add-on has a button? Can someone else verify that I'm not just missing something stupidly obvious (entirely possible)?

more options

Do you have Xmarks installed?

I was having the same issue as you. Try going to about:config and changing "extensions.xmarks.forceAddonbar" from 1 to 0. Then restart Firefox and Xmarks should ask you if you want to enable the addon bar, and click no.

Hopefully that helps.

more options

Thanks for the suggestion. Firebug doesn't seem to have a similar option, but I tracked down a bug report on their tracker that indicates (I think?) that Firebug is what's forcing the Add-on Bar to display at start-up, and that it will be fixed very shortly.

more options

Thanks a lot mrtn400. This problem was annoying me too, but your Xmarks hint helped me out.

more options

Hi, all! I was experiencing the same issue. With version 3.9.5, after resetting the "extensions.xmarks.forceAddonbar" parameter, upon next start of Firefox, Xmarks would ask if i'd like to show the Addon bar AND whether i clicked OK or Cancel, it was still showing it!

Guess, the issue is soleley with Xmarks. Now, using v3.9.8 the problem is gone.

more options

I don't have Xmarks installed yet have the same problem. Are there any other add ons that could cause the same issue?

more options

In my case it was ShowIP extensions, simply try to disable them(sitting on Add-on Bar) one by one.

more options

The problem, as Grant states, is not that there are add-ons that expect the a Add-on Bar to be present. We already know that there are developers who have lost the plot but whose add-ons still work and which we users find very useful. Mikes Kaszman's AutoContext is a case in point. The point is that we can Customise the toolbar to place the icons for these on the toolbar, alongside the Address Bar. Having done so we no longer need to see the Add-on Bar, whether or not the icons for these add-ons still appear there. However, FF insists on launching it every time it restarts. How do we stop it?

more options

if you want to hide the add-on bar permanently, you can add the following to userChrome.css:


#addon-bar {
    display: none !important;
}


Note that this hide the add-on bar irrespective of whether View->Toolbars->Add-on Bar is checked or not.

Modified by cor-el

more options

Tried that mod but doesn't seem to work. userChrome.css file looks like this:

/*

* Do not remove the @namespace line -- it's required for correct functioning
*/

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to XUL */

/*

* Hide Add-on Bar by default
*/

1. addon-bar{

 display: none !important;

}

The add-on bar still appears on Firefox start.

more options

Greetings.

A sloppy side tracking solution might be to install Stylish extension and use some of the autohide addonbar scripts some might be able to disable it better.

Otherwise try SafeMode on firefox.

Start menu > Mozilla Firefox (Safe Mode) > temporarily disable addons and click continue. Be carefull with the options there you can reset your browser.

https://support.mozilla.com/kb/Safe+Mode


Cheers

RaZoR

more options

Finally discovered elsewhere the solution to this issue. The example code given above by dpnolte is incorrect. It should read:

/* 
 * Hide Add-on Bar by default
 */
#addon-bar { display: none !important; }


The comments (between /* and */) are my own and optional.

(fixed the code - c)

Modified by cor-el

more options

I see now why the example code given by dpnolte is incorrect! The comments he entered (and I entered as well in my posting) have been corrupted by the code used to maintain this log. Where is says "1. addon-bar", the "1. " should actually be the hash symbol, immediately attached to the front of "addon-bar". For some reason I can't determine, when the reply is posted the code behind this log substitutes "1. " in place of the hash symbol, so it is displayed incorrectly. I have attached a screenshot within PSPad to show how it should look

more options

cor-el - many thanks for sorting out the problem that was causing corruption of our entries in this log. If you hadn't done that I was going to experiment to see if two successive hash symbols produced the desired effect. However, as now fixed it's working as it always should have done.

more options

where is this userChrome.css file? (searching my computer did not discover such a file

more options

The file userChrome.css doesn't exist by default and needs to be in the chrome folder in the Firefox profile folder.
You need to create a chrome folder in the Firefox Profile Folder if that folder doesn't exist

You need to add thecode to userChrome.css below the @namespace line.


See also:

You can use the ChromEdit Plus or Stylish extension to have easier access to the customization files.

more options

What's a non-techy, non-engineer-type person to do? I have this same problem. When I go to view / toolbars / and uncheck add-on bar, shouldn't this PERMANENTLY change this setting?

more options

Some extensions can place data on the Add-ons bar and that can cause the Add-ons bar to get displayed.
You can either remove all elements that are placed on the Add-ons bar by extensions or uninstall the extensions that do that.

more options

I disabled all extensions, then rebooted. The bar is narrower now since there's no content, but it's still there at the bottom of every window  :(

  1. 1
  2. 2