X
Tippen Sie hierhin, um die Version dieser Website für Mobilgeräte aufzurufen.

Hilfeforum

Remove Firefox Screenshots from the mouse's context-menu

Veröffentlicht

I think the screenshot feature is pretty useful, so I'd like to keep it. However, as someone who uses the Developer Tools a lot, it is fairly frustrating to me that the FF Screenshots feature is added to the bottom of the context menu.

My question: Is it possible to remove FF Screenshots from the context menu, while keeping the feature itself active?

I think the screenshot feature is pretty useful, so I'd like to keep it. However, as someone who uses the Developer Tools a lot, it is fairly frustrating to me that the FF Screenshots feature is added to the bottom of the context menu. My question: Is it possible to remove FF Screenshots from the context menu, while keeping the feature itself active?
Angefügte Screenshots

Geändert am von Zambaballen

Ausgewählte Lösung

I suppose you are familiar with toggling the extensions.screenshots.disabled preference to true in order to disable the feature entirely, which is not what you want.

To hide the context menu entry only, try adding this to your (or create a) userChrome.css file: @namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul); #context-navigation, #screenshots_mozilla_org-menuitem-_create-screenshot { display: none !important } (Source, including important remarks and a link to userChrome.css help)

Note that the entry will still be enabled in the address bar’s three-dot menu, which may be no issue. If it is, use this for the second line: #context-navigation, #screenshots_mozilla_org-menuitem-_create-screenshot, #pageAction-panel-screenshots

Diese Antwort im Kontext lesen 1
Zitieren

Mehr Details zum System

Installierte Plugins

  • Shockwave Flash 28.0 r0

Anwendung

  • User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:59.0) Gecko/20100101 Firefox/59.0

Weitere Informationen

Tonnes
  • Top 25 Contributor
  • Locale Leader
246 Lösungen 1453 Antworten
Veröffentlicht

Ausgewählte Lösung

I suppose you are familiar with toggling the extensions.screenshots.disabled preference to true in order to disable the feature entirely, which is not what you want.

To hide the context menu entry only, try adding this to your (or create a) userChrome.css file: @namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul); #context-navigation, #screenshots_mozilla_org-menuitem-_create-screenshot { display: none !important } (Source, including important remarks and a link to userChrome.css help)

Note that the entry will still be enabled in the address bar’s three-dot menu, which may be no issue. If it is, use this for the second line: #context-navigation, #screenshots_mozilla_org-menuitem-_create-screenshot, #pageAction-panel-screenshots

I suppose you are familiar with toggling the ''extensions.screenshots.disabled'' preference to ''true'' in order to [/questions/1174259 disable the feature entirely], which is not what you want. To hide the context menu entry only, try adding this to your (or create a) userChrome.css file: <nowiki> @namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul); #context-navigation, #screenshots_mozilla_org-menuitem-_create-screenshot { display: none !important } </nowiki> ([https://www.reddit.com/r/firefox/comments/7dvtw0/guide_how_to_edit_your_context_menu/ Source], including important remarks and a link to userChrome.css help) Note that the entry will still be enabled in the address bar’s three-dot menu, which may be no issue. If it is, use this for the second line: <nowiki> #context-navigation, #screenshots_mozilla_org-menuitem-_create-screenshot, #pageAction-panel-screenshots </nowiki>
Hat Ihnen das weitergeholfen? 1
Zitieren
jscher2000
  • Top 10 Contributor
7448 Lösungen 60790 Antworten
Veröffentlicht

Hilfreiche Antwort

That bottom section of the context menu is used by all extensions that create new menu items, so it may be difficult to keep it clear in the long run. You can use a custom style rule to force the Inspect Element item and its accompanying separator to the bottom of the menu so that regardless of how many extensions add to it, you will always find it in the same place.

/* 
   Move "Inspect Element" and preceding separator 
   down the menu
*/
#context-inspect, #inspect-separator {
  -moz-box-ordinal-group: 20 !important;
}

For more information on setting up a userChrome.css file, see: https://www.userchrome.org/how-create-userchrome-css.html

That bottom section of the context menu is used by all extensions that create new menu items, so it may be difficult to keep it clear in the long run. You can use a custom style rule to force the Inspect Element item and its accompanying separator to the bottom of the menu so that regardless of how many extensions add to it, you will always find it in the same place. <pre>/* Move "Inspect Element" and preceding separator down the menu */ #context-inspect, #inspect-separator { -moz-box-ordinal-group: 20 !important; } </pre> For more information on setting up a userChrome.css file, see: https://www.userchrome.org/how-create-userchrome-css.html
Hat Ihnen das weitergeholfen? 1
Zitieren
Stellen Sie eine Frage

Sie müssen sich mit Ihrem Benutzerkonto anmelden, um auf Beiträge zu antworten. Bitte stellen Sie eine neue Frage, wenn Sie noch kein Benutzerkonto haben.