搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

Reorder context menu addon-options

  • 6 回覆
  • 0 有這個問題
  • 14 次檢視
  • 最近回覆由 cor-el

more options

I have many addons and some add a context menu with specific options. One that I often use is "Copy Plain text". Can it be moved upwards, can the order of the context menu list of options for addons be customized?

I have many addons and some add a context menu with specific options. One that I often use is "Copy Plain text". Can it be moved upwards, can the order of the context menu list of options for addons be customized?
附加的畫面擷圖

由 cipricus 於 修改

所有回覆 (6)

more options

This is Firefox 102.12.0esr (64-bit), Linux.

由 cipricus 於 修改

more options

You can find "Edit this question" under the "Question Tools" menu in the sidebar. For a reply, "Edit this post" is in the three-dot menu next to a reply.

more options

You can change the order of context menu items with a file userChrome.css which you have to create yourself. If you have no luck here, ask on the FirefoxCSS sub of Reddit.

more options

For interacting with items added by an extension, it might not be easy because of the random UUID used by extensions.

more options

Menu items added by an extension are best specified using their label (menuitem[label="xxx"], e.g.

menuitem[label="View Image"] { order: -1 ;}
more options