Purpose of the "@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */" css code?
Can anyone please explain the purpose of the
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */
css code, which is often recommended to head any userchrome.css text inside the chrome folder? What happens when you omit this @namespace url line?
선택된 해결법
Hi, have a read of https://www.userchrome.org/adding-style-recipes-userchrome-css.html
If your question is resolved by this or another answer, please take a minute to let us know. Thank you!
문맥에 따라 이 답변을 읽어주세요 👍 1모든 댓글 (5)
Is it simply an advertisement for Firefox XML User Interface Language?
You use this line to set the namespace for the code on that page.
Why does one need to set a namespace?? What happens if it is not done?
선택된 해결법
Hi, have a read of https://www.userchrome.org/adding-style-recipes-userchrome-css.html
If your question is resolved by this or another answer, please take a minute to let us know. Thank you!
Thanks, Scribe, that is very useful:
Scribe said
Hi, have a read of https://www.userchrome.org/adding-style-recipes-userchrome-css.html
Good to know it is safe to leave that namespace line out of my userchrome.css code.