Is it possible to have 2 windows open with diff toolbar setting?
Hello
i would like Fx to display 2 windows but they have different toolbar settings. Is this possible? how? I have this need, as I have 1 window for a cloud app that i use all the time, and I dont want to see my bookmarks, addon bar etc.. on this as it wastes valuable screenspace.
On the other window, its the normal fx so i want all these toolbars e.g. bookmarks, addon bar etc..
thankyou for your helpf. fx, latest version osx, yosemite, latest
所有回复 (3)
Do you want to hide all the toolbars including the Navigation Toolbar?
Hi cor-el yes, i want to do this. But the key is for 1 window only. The other FX window to have all the toolbars etc. that i normally have
You can check if this code works for you in the command line of the Browser Console (Firefox/Tools > Web Developer). You need to set the devtools.chrome.enabled pref to true on the about:config page to enable the command line.
You can use the code in an extension like PrefBar (button) or keyconfig (keyboard shortcut). PrefBar allows to set a keyboard shortcut to buttons.
- PrefBar: https://addons.mozilla.org/firefox/addon/prefbar/
- http://dorando.emuverse.com/projects/mozilla/readme.html
var {classes:Cc,interfaces:Ci} = Components; var wm = Cc["@mozilla.org/appshell/window-mediator;1"].getService(Ci.nsIWindowMediator); var gB = wm.getMostRecentWindow("navigator:browser").window.document; var nt = gB.querySelector("#navigator-toolbox"); var ds = nt.style.getPropertyValue("display") == "none"; nt.style.setProperty("display",ds?"-moz-box":"none","important");