Move or Remove Back/Forward buttons on Contextual Menu, Mac OS
Love me FF, thanks for such a great browser.
As the Subject describes, I just wanna move or remove the Forward/Back/Refresh/Bookmark controls either down or off the contextual menu. I am constantly right-clicking for dev purposes and it automatically clicks the back button almost every time and thus goes back to the previous page. THIS IS A HEADACHE AND A TIME SUCK.
Screenshot attached. Any help is appreciated.
All Replies (2)
You can use either of these CSS fragments in userChrome.css to move this group to the bottom or hide it completely.
Add code to the userChrome.css file below the default @namespace line.
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */ /* move #context-navigation group to bottom of list */ #context-sep-navigation {-moz-box-ordinal-group:10} #context-navigation {-moz-box-ordinal-group:11} /* hide #context-navigation group */ #context-navigation {display:none !important}
It is not that difficult to create userChrome.css if you have never used it.
The first step is to open the "Help -> Troubleshooting Information" page and find the button to access the profile folder.
You can find this button under the "Application Basics" section as "Profile Folder -> Open Folder".
If you click this button then you open the profile folder in the Windows File Explorer.
You need to create a folder with the name chrome in this folder (name is all lowercase).
In the chrome folder you need to create a plain text file with the name userChrome.css (name is case sensitive).
In this userChrome.css text file you paste the text posted.
On Mac you can use the TextEdit utility to create the userChrome.css file as a plain text file.
You need to close (Quit/Exit) and restart Firefox when you create or modify the userChrome.css file.
See also:
- https://www.userchrome.org/what-is-userchrome-css.html
- https://www.userchrome.org/how-create-userchrome-css.html
In Firefox 69 and later you need to set this pref to true on the about:config page to enable userChrome.css and userContent.css in the chrome folder.
- toolkit.legacyUserProfileCustomizations.stylesheets = true
See:
Athraithe ag cor-el ar
Thanks, mate. I'll give it a go.