-
Find your profile folder (profile names are different for everyone):
Address bar > Enterabout:support> ClickOpen Folder.
-
Download this project and unzip it.
-
Move
userChrome.cssandsimpleMenuWizardinto [...]\profile.folder\chrome\ directory.
Ifchromefolder doesn't exist, create it.
IfuserChrome.cssalready exists, do not overwrite and proceed here.
-
Open
userChrome.csswith a texteditor for a general overview and some options.
-
Open the
simpleMenuWizarddirectory and edit each .css file (except beginning withopt_) 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.csswhen right-clicking on a blank area or textframe-context.csswhen right-clicking on an iframeimage-context.csswhen right-clicking on an imageinput-context.csswhen right-clicking on an input-fieldlink-context.csswhen right-clicking on a linkmain-hamburger.csswhen left-clicking on the three lines on top rightmain-menubar.csswhen left-clicking on the main menubar (open with ALT key - file, edit, view, ...)media-context.csswhen right-clicking on media like audio or html5 videoselect-context.csswhen right-clicking on selected text or objectsidebar-context.csswhen right-clicking on items in bookmark- or history sidebarsidebar-header.csswhen left-clicking the sidebar dropdown menusource-context.csswhen right-clicking a blank area on view-source pagestab-context.csswhen right-clicking on a tabtoolbar-context.csswhen right-clicking on toolbar or tabbarurlbar-context.csswhen right-clicking on the addressbarurlbar-pageaction.csswhen left-clicking the three dots in the addressbar
-
Restart Firefox to make changes work.
- All options are disabled by default, so if you don't edit the files, nothing will happen.
- Items that appear in different contexts with the same ID will disappear in all those contexts when activated only once. This is because many menus internally share the same very big context menu and are separated here for more convenience.
For specific problems please open an issue, there may be workarounds.
Hide Pocket / Sync / Screenshots
If you don't use either of those "internal addons" at all, you can just disable them, which will also remove their context menu entries everywhere.How to do it: Set the respective value in
about:config.- For Pocket, load
about:config?filter=extensions.pocket.enabledinto addressbar and switch tofalse. - For Sync, load
about:config?filter=identity.fxaccounts.enabledinto addressbar and switch tofalse. - For Screenshots, load
about:config?filter=extensions.screenshots.disabledinto addressbar and switch totrue.
Using simpleMenuWizard together with other custom modifications
Easiest thing to do is renaming theuserChrome.css that came with the zip package of simpleMenuWizard.
Rename it to simpleMenuWizard.css and put it into chrome directory next to the already existing userChrome.css.Open the old
userChrome.css which is filled with foreign code and add @import url("./simpleMenuWizard.css"); to the very top. That's it!You can now edit
simpleMenuWizard.css for a general overview and some options or continue with step 5.Uninstall simpleMenuWizard
Delete all the files and folders that came with this project.So if you don't use other modifications, you can simply delete the whole [...]\profile.folder\chrome\ directory.
No comments:
Post a Comment