We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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