MozillaZine

Reorder or edit context menu in Quantum (FF59)

User Help for Mozilla Firefox
djbaxter
New Member
 
Posts: 1
Joined: August 27th, 2015, 12:53 pm

Post Posted April 19th, 2018, 4:08 am

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.

LIMPET235
Moderator

User avatar
 
Posts: 38233
Joined: October 19th, 2007, 1:53 am
Location: The South Coast of N.S.W. Oz.

Post Posted April 19th, 2018, 4:15 am

Moving this to Firefox Support...
Ancient Amateur Astronomer
Win-7-HP/IntelĀ® DualCore-2.0GHz/500G HDD/4 Gig Ram/550Watt PSU/350WattUPS/Firefox-20.0-57.0/T-bird-2.0.0.24/SnagIt-v10.0.1/MWP-7.11.0.
RadioYachting. (Always choose the "Custom" Install.)

therube

User avatar
 
Posts: 18575
Joined: March 10th, 2004, 9:59 pm
Location: Maryland USA

Post Posted May 1st, 2018, 1:26 pm

Can that be done through .css ?
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: 2664
Joined: February 3rd, 2009, 6:29 pm

Post Posted May 1st, 2018, 3:25 pm

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

Return to Firefox Support


Who is online

Users browsing this forum: No registered users and 7 guests