搜尋 Mozilla 技術支援網站

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

了解更多

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.