Skip to content

Instantly share code, notes, and snippets.

@mad9scientist
Created May 22, 2014 14:58
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mad9scientist/e964d2a0200dd48a6361 to your computer and use it in GitHub Desktop.
Save mad9scientist/e964d2a0200dd48a6361 to your computer and use it in GitHub Desktop.
Hide/Remove Pocket context menu item from Firefox's Context menu
# Hide/Remove Pocket Content Menu from Firefox
Using the above custom user chrome style you can hide [Pocket's](http://getpocket.com) context menu item from Firefox context (right click) menu. I did this because the menu option is in the same place that copy is usually located at, and thus messes with my workflow/muscle memory.
This does not use any special plugins/addons to work, just a function of Firefox (tested on version 29) and [Pocket Service](https://getpocket.com/firefox/?a=firefox) 1.0.
## Known issue
* If the menu label changes this file will need to be updated.
* This item does not use a ID, and may hide other items (I don't know of this happening, but still is possible)
## Install
0. Copy or add the rule from the above userChrome.css file to your userChrome.css file.
1. Locate your userChrome.css, on Windows Vista/7/8 go to %APPDATA%/Mozilla/Profiles/<RandomKey>.default/chrome/userChrome.css
* <RandomKey> can be anything, e.g. qd68ks98
* If the folder "chrome" does not exist, go ahead and create it
* If the file "userChrome.css" does not exist, go ahead and create it (or download the above file and skip to the last step)
2. If you need, copy and paste the above rule into your userChrome.css file
3. If you do not have a userChrome.css file, just download/save the above file to this location
4. Restart Firefox (if you have it running)
5. The Pocket Context Menu item should be gone! All without using an addon.
* Please note the Known issues
menuitem[label="Save Page to Pocket"] {
display:none !important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment