Skip to content

e-orlov/simpleMenuWizard

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 

Repository files navigation

simpleMenuWizard

Hide default contextmenu items in Firefox 57 and later


This project is inspired by this post on reddit.com/r/Firefox and by this issue in the great CustomCSSforFx project.

I made it because I am missing Menu Wizard addon in Firefox 57+ like many others.

Instructions:

To remove entries from the context menu you need to

  1. Find your profile folder (profile names are different for everyone):
    Address bar > Enter about:support > Click Open Folder
    or Shift+F2 to open Firefox's command line, then enter the command folder openprofile

  2. Download this project and unzip it.

  3. Move userChrome.css and simpleMenuWizard into [...]\profile.folder\chrome\ directory. If chrome folder doesn't exist, create it.

  4. Open userChrome.css for a general overview and some options.

  5. Open the simpleMenuWizard directory and edit each .css file (except beginning with opt_) with a texteditor to customize them to your needs.
    Activate option to remove menu item: Remove /* at the beginning of the line
    Deactivate option to leave menu item: Add /* at the beginning of the line

    Each file is for another context:

    • blank-context.css when right-clicking on a blank area or text
    • frame-context.css when right-clicking on an iframe
    • image-context.css when right-clicking on an image
    • input-context.css when right-clicking on an input-field
    • link-context.css when right-clicking on a link
    • media-context.css when right-clicking on media like audio or html5 video
    • select-context.css when right-clicking on selected text or object
    • sidebar-context.css when right-clicking on items in bookmark- or history sidebar
    • tab-context.css when right-clicking on a tab
    • toolbar-context.css when right-clicking on toolbar or tabbar
    • urlbar-context.css when right-clicking on the addressbar

Important notes:

  • All options are disabled by default, so if you don't edit the files, nothing will happen.
  • Items that appear in different contexts with same ID might disappear in several contexts when activated. This is because many menus actually share the same context and are separated here for more convenience. For specific issues ask back here, there may be workarounds.

To do

Menus not included yet:

  • Left click on (main) hamburger menu (.panel-subview-body)
  • Main titlebar menus (oldschool menu opening with alt key) (#main-menubar)

Contribute

For bugreports and missing items you're welcome to open an issue here or make a pull request.

About

Hide contextmenu items in Firefox 57

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • CSS 100.0%