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

Confused about "userChrome.js", help?

  • No replies
  • 5 have this problem
  • 3 views
more options

I was trying to find a way to move the status bar to the top of the browser window and discovered code to be implemented on a file called userChrome.js that is supposed to be is the same directory as my userChrome.css. It was not in that directory and so I created the file in that directory, userChrome.js

The following is in it:

/* Status bar to top of browser */

var statusbar = document.getElementById("status-bar");

var browser = document.getElementById("browser-stack");

browser.parentNode.insertBefore(statusbar, browser);


/*EOF*/

So (I just added the EOF in this post to clarify). The posts that I've read that recommend editing the .js file did not mention it might not exist or if there is any configuration required.

The file and code seem to be ignored on a reset... well, at least it does nothing I can see.

Thanks, Mike (Firefox 3.6.8 user)

--- The next day;

Turns out you need an add-on that t Firefox asks you to allow permission to download. It did nothing good so I uninstalled it ("userChrome.js" is the name of the add-on as well as the file -- two thumbs down.) Hope everything is as it was with me browser.

Any other ideas of how to move the status bar up to the menu area or thereabouts?

Modified by Michael_Scolder