搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

Not able to find userChrome.css file for customizing the Firefox browser. I just installed 20.0.1 firefox browser. Want to disable/remove navigation bar.Pls Hlp

  • 6 回覆
  • 9 有這個問題
  • 43390 次檢視
  • 最近回覆由 vishaldev

more options

Not able to find userChrome.css file for customizing the Firefox browser. I just installed 20.0.1 Firefox browser version. I want to disable/remove navigation bar from the browser window, making the browser to work like kiosk mode.

Please Help,

Thanks, Vishal.

被選擇的解決方法

your profile folder is a subfolder of C:\Documents and Settings\XXXXXXX\Application Data\Mozilla\Firefox\Profiles\ and should be labelled something like <randomstring>.default - the chrome folder with the userChrome.css file has to go within that <randomstring>.default folder.

從原來的回覆中察看解決方案 👍 1

所有回覆 (6)

more options

hello vishal, the file isn't there by default. if you want to modify the UI you'd have to create the userChrome.css file yourself the first time. it has to go into the \chrome subfolder of your profile.

http://kb.mozillazine.org/index.php?title=UserChrome.css

more options

hello philipp, thanks for a quick response... I found my profiles folder "Application Data\Mozilla\Firefox\Profiles\chrome" and created chrome folder. I then created userChrome.css file and added the following commands to test out my changes ..

/* * Do not remove the @namespace line — it’s required for correct functioning */ /* set default namespace to XUL */ @namespace url(“http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul”); /* Remove Edit menu (if you already use all the keyboard shortcuts) */

  1. helpMenu, #edit-menu { display: none !important; }

/* Remove Stop button when there’s nothing to Stop */

  1. stop-button[disabled="true"] { display: none; }

I then closed my browser and restarted it again... but no change on the browser UI window...

Can you please suggest what I am doing incorrectly here..

Really appreciate your help on this..

Thanks, Vishal.

more options

hello, i think the file isn't located in the right folder - it should be somewhere in %appdata%\Mozilla\Firefox\Profiles\XXXXXXXXX.default\chrome

more options

hello, here is the complete path ..

C:\Documents and Settings\XXXXXXX\Application Data\Mozilla\Firefox\Profiles\chrome"

Let me know

Thanks, Vishal.

more options

選擇的解決方法

your profile folder is a subfolder of C:\Documents and Settings\XXXXXXX\Application Data\Mozilla\Firefox\Profiles\ and should be labelled something like <randomstring>.default - the chrome folder with the userChrome.css file has to go within that <randomstring>.default folder.

more options

Thanks Philipp, The last reply helped me and I was able to disable some firefox features...

Thanks for your help..

Vishal.