Prohledat stránky podpory

Vyhněte se podvodům. Za účelem poskytnutí podpory vás nikdy nežádáme, abyste zavolali nebo poslali SMS na nějaké telefonní číslo nebo abyste sdělili své osobní údaje. Jakékoliv podezřelé chování nám prosím nahlaste pomocí odkazu „Nahlásit zneužití“.

Zjistit více

How to customize(reduce) context menu entries?

  • 2 odpovědi
  • 1 má tento problém
  • 1 zobrazení
  • Poslední odpověď od SpringQ

more options

Hi, my firefox context menu is too miscellaneous. I want to keep "copy" and "seach...for..." entries, and delete others, so I will not be distracted by them. How can I do that? Making the context menu as simple as possible?

Hi, my firefox context menu is too miscellaneous. I want to keep "copy" and "seach...for..." entries, and delete others, so I will not be distracted by them. How can I do that? Making the context menu as simple as possible?
Přiložené obrázky

Upravil uživatel SpringQ dne

Zvolené řešení

I feel your pain!

Not easy, but doable. Can get complicated when a user does many modifications via userChrome.css. And IMO too many people are using if far more than was conceived of when Netscape came up with that 'optional user file' that can be added the minor tweaks - part of Firefox which is derived from the original mid-1990's Netscape Navigator.

https://www.reddit.com/r/firefox/comments/7dvtw0/guide_how_to_edit_your_context_menu/

Here's the Firefox source code to see the contextual menu items:
https://searchfox.org/mozilla-release/source/browser/base/content/browser-context.inc

This is where you can get the scripts for userChrome.css .
https://github.com/stonecrusher/simpleMenuWizard
Updates provided there as needed, when Firefox is changed. Current version v1.26 is 4 months old now.

There are 16 separate CSS files that can be used to deal with the various Contextual Menus, one at a time to "toggle off" each menu item by setting that pref.
My advice is to use the @import url feature in the main userChrome.css file and have separate *.css file (like for select-context.css) saved in the userChrome.css (main file).
https://www.userchrome.org/adding-style-recipes-userchrome-css.html

I recommend using that @import url feature to help you troubleshoot future issues that will develop so that each batch of "contextual menu code" can be easily disabled more easily. I am still trying to fix what got broke 4 months ago with a Firefox update.

Přečíst dotaz v kontextu 👍 0

Všechny odpovědi (2)

more options

Zvolené řešení

I feel your pain!

Not easy, but doable. Can get complicated when a user does many modifications via userChrome.css. And IMO too many people are using if far more than was conceived of when Netscape came up with that 'optional user file' that can be added the minor tweaks - part of Firefox which is derived from the original mid-1990's Netscape Navigator.

https://www.reddit.com/r/firefox/comments/7dvtw0/guide_how_to_edit_your_context_menu/

Here's the Firefox source code to see the contextual menu items:
https://searchfox.org/mozilla-release/source/browser/base/content/browser-context.inc

This is where you can get the scripts for userChrome.css .
https://github.com/stonecrusher/simpleMenuWizard
Updates provided there as needed, when Firefox is changed. Current version v1.26 is 4 months old now.

There are 16 separate CSS files that can be used to deal with the various Contextual Menus, one at a time to "toggle off" each menu item by setting that pref.
My advice is to use the @import url feature in the main userChrome.css file and have separate *.css file (like for select-context.css) saved in the userChrome.css (main file).
https://www.userchrome.org/adding-style-recipes-userchrome-css.html

I recommend using that @import url feature to help you troubleshoot future issues that will develop so that each batch of "contextual menu code" can be easily disabled more easily. I am still trying to fix what got broke 4 months ago with a Firefox update.

more options

Thank you very much !