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

Lolu chungechunge lwabekwa kunqolobane. Uyacelwa ubuze umbuzo omusha uma udinga usizo.

List of ALL parameters and settings allowed in userchrome.css

  • 13 uphendule
  • 2 zinale nkinga
  • 34 views
  • Igcine ukuphendulwa ngu cor-el

more options

Please provide a link to a reference for all of the parameters and options that are controllable by setting withing userchrome.css.

Thank you

All Replies (13)

more options

http://kb.mozillazine.org/Chrome_element_names_and_IDs

I can't really verify if that link includes ALL parameters...

does it

it should

EDIT
There is no comprehensive listing of every single possible selector to use when styling the user interface (just as it would be silly to create such a comprehensive list for a web page), but a few of the more common and interesting selectors are listed below.

it doesnt

sry

Okulungisiwe ngu snitch_ninja

more options

I found that. It is far from complete. I know, for example, that items such as the following are valid...

menuitem[command="Browser:BookmarkAllTabs" toolbarbutton.bookmark-item > .toolbarbutton-icon bookmarksShowAll organizeBookmarksSeparator


I have found nothing at all the shows all such parameters/options. Thank you for your input though.

more options

It would not at all be silly to do so, and in fact there are multiple on line references for the legal parameters for most web page languages (HTML, PHP, Ruby, etc). It is actually quite absurd that such a list does not exist.

more options

Your imagination is the limit. It is not possible to have a complete list. Use the DOM Inspector or check the source code if you need information about specific elements.


more options

Seriously? READ THE SOURCE CODE? Surely you are not a programmer with an answer like that. That has the be the most laughable answer to any question ever asked on the internet. Thanks anyway.

more options

Quite actually it is possible to have a list. In fact it is absurd to NOT have one. It is lazy to not have one. There should be a master list of all customization parameters for FireFox. For example, the parameters to hide/display the history or bookmarks items in the main menu should be documented somewhere. They HAVE TO be or else no one would know them. They HAVE TO be documented somewhere or FF would not even work.

more options

Did you read the article about selectors?

You will have to make yourself familiar with the DOM Inspector to find the selectors and to compose your own CSS rules.

more options

I am fully aware of how css is written. I do not need a primer on css, I need a list of valid parameters for FF is all.

Thank you for your continued input.

more options

A browser like Firefox has tens of thousands of elements and each of them can have its own attributes that can be used as additional selectors like you posted above (menuitem[command="..."]). It is impossible to create a comprehensive list and include version information to what Fx versions it applies. If an element has an ID then you use that ID and otherwise revert to a class name or a unique selector that starts with an ID.

A file like browser.css already has a lot of style rules.

  • chrome://browser/content/browser.css
  • chrome://browser/skin/browser.css

  • resource:///chrome/browser/skin/classic/
  • resource://gre/chrome/toolkit/skin/classic/

Okulungisiwe ngu cor-el

more options

FrogSteaks said

Quite actually it is possible to have a list. In fact it is absurd to NOT have one. It is lazy to not have one. There should be a master list of all customization parameters for FireFox. For example, the parameters to hide/display the history or bookmarks items in the main menu should be documented somewhere. They HAVE TO be or else no one would know them. They HAVE TO be documented somewhere or FF would not even work.

You can volunteer your services to create such a list.

more options

Cor the DOM does nothing to help me with what I am looking for (as fr as I can see). It inspects the web page currently loaded. I want to be able to control the layout and look/feel of FF itself. Is there a way to have DOM inspect the FF UI itself?

more options

the-edmeister said

FrogSteaks said
Quite actually it is possible to have a list. In fact it is absurd to NOT have one. It is lazy to not have one. There should be a master list of all customization parameters for FireFox. For example, the parameters to hide/display the history or bookmarks items in the main menu should be documented somewhere. They HAVE TO be or else no one would know them. They HAVE TO be documented somewhere or FF would not even work.

You can volunteer your services to create such a list.

Well gee Wally that was so very helpful. Perhaps if I knew the available parameters I would not be asking where I can find them.

more options

The DOM Inspector (DOMi) has a menu item (Edit > Select Element By Click) and a toolbar button "Find a node to inspect by clicking on it" (left icon on the toolbar in the DOMi).

  • open the browser window in the DOMi (File > Inspect Chrome Document) and choose the first entry from the drop-down list.
  • click the "Find a node to inspect by clicking on it" button and use the keyboard (Alt Tab) or the Task bar to go back to the browser window (do not click in the browser window other than the title bar).
  • click that element with the mouse and keep the button pressed until you see a red border to indicate that the DOMi has located that element in the DOM tree.

See also: