Advance Tweaking: Firefox Menus
Last time we see how to tweak Firefox Context Menu to Hide menu items from right click context menu. Today we will go a little further with that and will see some more advance tweaks that we can use to tweak/optimize firefox or at least use use to make your Geek friend crack Nuts.
In last post we have used ID’s to hide menus, but it seems really difficult and time consuming as we have to look upon ID of every menu item we want to hide/modify, another option is to use labels.
You can tweak your menus using userChrome.css file. userChrome.css is a CSS file that can be used to change the way Mozilla Firefox interface look. But to edit it you need to locate it first.
For Windows XP users:
C:\Documents and Settings\\Application Data\Mozilla\Firefox\Profiles\
For Windows Vista and Seven Users:
C:\Users\\AppData\Roaming\Mozilla\Firefox\Profiles\
Or
1. Press WIN + R and type %Appdata%
2. Then navigate to Mozilla\Firefox\Profiles\********.default\chrome
3. Here create a file named “userChrome.css”
The easiest way to hide a menu item is using the Label attribute.
For example, if you want to hide the “View Page Source” menu item from the right click context menu than use
menuitem[label="View Page Source"] {display: none !important; }
How to Hide Menu Bar completely?
#toolbar-menubar { display: none !important; }
Hide selected browser menus
#navigator-toolbox menu[label="File"],
#navigator-toolbox menu[label="Edit"],
#navigator-toolbox menu[label="View"],
#navigator-toolbox menu[label="Go"],
#navigator-toolbox menu[label="Bookmarks"],
#navigator-toolbox menu[label="Tools"],
#navigator-toolbox menu[label="Help"]
{ display: none !important; }
Remove Items From Right Click Context Menu
#context-back,
#context-forward,
#context-reload,
#context-stop,
#context-sep-stop
{ display: none !important; }
After applying this code
In the Next Tutorial we will see some more advanced concepts of customizing userChrome.css file to make your Firefox do what you want.
So are you enjoying tweaking sessions of Firefox?
You Might Also Like:
- Tweaking: Edit Firefox Context Menu
- Secure your FireFox by tweaking it manually
- Add a Website link to the right click Context Menu
- Design Mozilla Firefox Homepage – Design Challenge
- IE Tweaker- a power tool for Internet Explorer
- Learn Windows tweaking with Gpedit and Regedit – Part 1
- Learn Windows tweaking with Gpedit and Regedit – Part 2









good post,btw rt done
MostlyBlog´s last blog ..Nokia N97 Mini Gold Edition Announced by Nokia
[Reply]
Cool trick mate!
thanks for sharing 

Pubudu Kodikara´s last blog ..Hacker’s Fun : Cool YouTube Videos
[Reply]
This kind if feature I was looking for in Firefox but would again say needs bit of effort as I said in my last comment too. A very nice post.
Suhasini´s last blog ..Google Analytics Will be Down Starting March 2, 2010 from 7 AM to 11 PM(Pacific Time)
[Reply]
Cool tweaks. Let me apply and check out the result
[Reply]
Firefox has some great plug ins internet explorer need to step up big time!
[Reply]
What's in your Mind!
Sponsors
Search BeingPC
Recent Posts
Sponsors
Categories
Featured Links
Archives
Rank
Random Posts
Random Posts
Friends
Special Links
Most Popular
More in Hacking,How to Recipies,Internet Browser,Windows Security (19 of 19 articles)
Advance Tweaking: Firefox Menus