Reorder or edit context menu in Quantum (FF59)

User Help for Mozilla Firefox
Post Reply
djbaxter
Posts: 10
Joined: August 27th, 2015, 12:53 pm

Reorder or edit context menu in Quantum (FF59)

Post by djbaxter »

Looking for an add-on or simple instructions for re-ordering items in the right-click context menu and optionally for editing the context menu.
User avatar
LIMPET235
Moderator
Posts: 39952
Joined: October 19th, 2007, 1:53 am
Location: The South Coast of N.S.W. Oz.

Re: Reorder or edit context menu in Quantum (FF59)

Post by LIMPET235 »

Moving this to Firefox Support...
[Ancient Amateur Astronomer.]
Win-10-H/64 bit/500G SSD/16 Gig Ram/450Watt PSU/350WattUPS/Firefox-115.0.2/T-bird-115.3.2./SnagIt-v10.0.1/MWP-7.12.125.

(Always choose the "Custom" Install.)
User avatar
therube
Posts: 21714
Joined: March 10th, 2004, 9:59 pm
Location: Maryland USA

Re: Reorder or edit context menu in Quantum (FF59)

Post by therube »

Can that be done through .css ?
Fire 750, bring back 250.
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball CopyURL+ FetchTextURL FlashGot NoScript
morat
Posts: 6421
Joined: February 3rd, 2009, 6:29 pm

Re: Reorder or edit context menu in Quantum (FF59)

Post by morat »

You can edit the image of a menu item with css, but not the command.

You can change the order of menu items with css.

Code: Select all

/* Firefox userChrome.css */

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");

#menu_FileQuitItem { -moz-box-ordinal-group: 1 !important; } /* Exit */
#goOfflineMenuitem { -moz-box-ordinal-group: 2 !important; } /* Work Offline */
http://kb.mozillazine.org/UserChrome.css

It isn't simple to find the id of a menu item with the browser toolbox.

http://developer.mozilla.org/en-US/docs ... er_Toolbox
Post Reply