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
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.
Read this answer in context 👍 1All Replies (6)
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.
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) */
- helpMenu, #edit-menu { display: none !important; }
/* Remove Stop button when there’s nothing to Stop */
- 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.
hello, i think the file isn't located in the right folder - it should be somewhere in %appdata%\Mozilla\Firefox\Profiles\XXXXXXXXX.default\chrome
hello, here is the complete path ..
C:\Documents and Settings\XXXXXXX\Application Data\Mozilla\Firefox\Profiles\chrome"
Let me know
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.
Thanks Philipp, The last reply helped me and I was able to disable some firefox features...
Thanks for your help..
Vishal.