Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

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

  • 2 replies
  • 1 has this problem
  • Last reply by 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.

All Replies (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[";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.