Vyhľadajte odpoveď

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 can I move my toolbars up and down?

  • 2 odpovede
  • 38 má tento problém
  • 29 zobrazení
  • Posledná odpoveď od killme2

more options

I just upgraded to firefox 4 and I hate it already. I want to move my google toolbar to the bottom of the toolbars but I can't find a way to do that. Is it possible? If not I'll go back to 3.6 because I hate this. Also, I have a customized theme thing in my toolbar area and it's all funky like the toolbars are making the image not line up.

Všetky odpovede (2)

more options

A possible solution now is to use code in userChrome.css
The order of toolbars can be changed by setting the value of the -moz-ordinal-group property of that toolbar. You can open the Firefox > Web Developer (or Tools) > Error Console and click the Clear button to clear the display. Copy and paste this code in the Code field and click Evaluate. That will display a list of the currently install toolbar with their -moz-ordinal-group setting. Toolbars added by an extension have a value of 50 and making one smaller makes it appears as the first and making it larger appear as the last in the list.

Note that current Firefox (24 and later) releases no longer have the error Console, but have the Browser Console (Firefox/Tools > Web Developer) that has a command line where you can paste the code and press the Enter key to run the code. If the command line is hidden then set the devtools.chrome.enabled preference to true in about:config, or set the "Enable chrome debugging" option in the developer tool settings.

var Cc = Components.classes, Ci = Components.interfaces;
var wm = Cc["@mozilla.org/appshell/window-mediator;1"].getService(Ci.nsIWindowMediator);
var mw = wm.getMostRecentWindow("navigator:browser");
var doc = mw.document;
var nav = doc.getElementById('navigator-toolbox');
var elm = nav.getElementsByTagName('toolbar');
var i, inf='',moz='-moz-box-ordinal-group';
for(i=0;E=elm[i];i++){ inf+='#'+E.id+' { '+moz+': '+doc.defaultView.getComputedStyle(E,"").getPropertyValue(moz)+' }\n'; }

Only add the modified line(s) to userChrome.css below the @namespace line.

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */

EDIT: Forgot to write that you need to add the !important; flag to override the current property value.

{ -moz-box-ordinal-group: 30 !important; }

Upravil(a) cor-el dňa

more options

I just upgraded to Firefox 4.0 and edited my "extensions.ini" file in order to move the Google Toolbar to the bottom.

Navigate to Firefox Profiles folder: C:\Users\[username]\AppData\Roaming\Mozilla\Firefox\Profiles\[something].default\

Open the file extensions.ini

You'll see lines that look like this:





Each line identifies the location of the extension, but not necessarily the name. To identify an extension navigate to it's listed location and open the Chrome folder to see its name.

When you find the one you want to move use copy and paste to move it up or down the list and then renumber the lines accordingly. In Firefox 4.0 the list is loaded in order (as opposed to 3.0 and earlier when it was reversed). So if you want the Google Toolbar to be at the bottom it should be the last on the list.