Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Αναζήτηση στην υποστήριξη

Προσοχή στις απάτες! Δεν θα σας ζητήσουμε ποτέ να καλέσετε ή να στείλετε μήνυμα σε κάποιον αριθμό τηλεφώνου ή να μοιραστείτε προσωπικά δεδομένα. Αναφέρετε τυχόν ύποπτη δραστηριότητα μέσω της επιλογής «Αναφορά κατάχρησης».

Learn More

userChrome.css does not have @namespace there is only xul

  • 1 απάντηση
  • 1 έχει αυτό το πρόβλημα
  • 11 προβολές
  • Τελευταία απάντηση από cor-el

more options

Hi,

I am slightly concerned that my userChrome.css file does not contain the line:

@namespace url("https://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to XUL */

as understand this line should be in there.

However I'm not entirely certain what it does and what is the impact of not having it. I get the Ghostbusters allusion, but can anyone elaborate and advise whether or not i should add it in and if so where?

My current userChrome.css file:

#main-window {
	background-color: transparent !important;
} 

#titlebar-buttonbox .titlebar-button {
	background-color: transparent !important;
}

#titlebar-buttonbox #titlebar-min:-moz-any(:hover,[open]), #titlebar-buttonbox #titlebar-max:-moz-any(:hover,[open]) {
	background-color: hsla(210,4%,10%,.08) !important;
}
#titlebar-buttonbox #titlebar-close:-moz-any(:hover,[open]) {
	background-color: hsla(360,100%,50%,.4) !important;
}

tab {height: 45px !important;}
.tabbrowser-strip {height: 45px !important;}


#navigator-toolbox toolbar:not(#nav-bar):not(#toolbar-menubar) { -moz-box-ordinal-group:10; }
#TabsToolbar { -moz-box-ordinal-group:1000!important; }
Hi, I am slightly concerned that my userChrome.css file does not contain the line: @namespace url("https://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to XUL */ as understand this line should be in there. However I'm not entirely certain what it does and what is the impact of not having it. I get the Ghostbusters allusion, but can anyone elaborate and advise whether or not i should add it in and if so where? My current userChrome.css file: <pre><nowiki>#main-window { background-color: transparent !important; } #titlebar-buttonbox .titlebar-button { background-color: transparent !important; } #titlebar-buttonbox #titlebar-min:-moz-any(:hover,[open]), #titlebar-buttonbox #titlebar-max:-moz-any(:hover,[open]) { background-color: hsla(210,4%,10%,.08) !important; } #titlebar-buttonbox #titlebar-close:-moz-any(:hover,[open]) { background-color: hsla(360,100%,50%,.4) !important; } tab {height: 45px !important;} .tabbrowser-strip {height: 45px !important;} #navigator-toolbox toolbar:not(#nav-bar):not(#toolbar-menubar) { -moz-box-ordinal-group:10; } #TabsToolbar { -moz-box-ordinal-group:1000!important; }</nowiki></pre>

Τροποποιήθηκε στις από το χρήστη cor-el

Όλες οι απαντήσεις (1)

more options

Did you create the userChrome.css file yourself?

It is your responsibility to ensure that the @namespace is at the start of the userChrome.css file if you used sample code posted on internet to create the file.