搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Is it possible to have 2 windows open with diff toolbar setting?

  • 3 回覆
  • 1 有這個問題
  • 16 次檢視
  • 最近回覆由 cor-el

more options

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

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)

more options

Do you want to hide all the toolbars including the Navigation Toolbar?

more options

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

more options

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.


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");