Søg i Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Move or Remove Back/Forward buttons on Contextual Menu, Mac OS

more options

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.

Vedhæftede skærmbilleder

Alle svar (2)

more options

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:

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:

Ændret af cor-el den

Nyttig?

more options

Thanks, mate. I'll give it a go.

Nyttig?

Stil et spørgsmål

Du skal logge ind på din konto for at svare på et indlæg. Start et nyt spørgsmål, hvis du ikke har en konto endnu.