Join the Mozilla’s Test Days event from Dec 2–8 to test the new Firefox address bar on Firefox Beta 134 and get a chance to win Mozilla swag vouchers! 🎁

搜索 | 用户支持

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

详细了解

Why does changing the View toolbars setting on the window that has focus change it on ALL windows?

  • 2 个回答
  • 1 人有此问题
  • 37 次查看
  • 最后回复者为 cor-el

more options

If I have multiple windows open, and I click on View, Toolbars, and deselect one of the toolbars, EVERY window open has that change set to them instead of just the window that has the focus. It used to not work that way - deselecting a toolbar would only change the window that had the focus. I think it changed around V30 or so. Is there a setting that can be used to revert this behavior? Thanks.

If I have multiple windows open, and I click on View, Toolbars, and deselect one of the toolbars, EVERY window open has that change set to them instead of just the window that has the focus. It used to not work that way - deselecting a toolbar would only change the window that had the focus. I think it changed around V30 or so. Is there a setting that can be used to revert this behavior? Thanks.

所有回复 (2)

more options

may be no or if you want this then my suggestion is use developer edition and Firefox stable edition may it ca help you.

more options

You can use code like this to toggle a specific toolbar in the currently selected browser window. You need to use this code in a toolbar button via an extensions that creates such a button or in an extension that sets a code to a keyboard shortcut like the keyconfig extension.

(function(){ /* toggle Bookmarks Toolbar */
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 E=gB.getElementById('PersonalToolbar');
if(E.hasAttribute("collapsed")){E.removeAttribute('collapsed')} else{E.setAttribute('collapsed',true)}
})()

You can toggle any toolbar if you use the right selector. You can use the DOM Inspector to find the ID of a toolbar.