Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Iwonder if it's possible to change the order of the context menu inside firefox? I would like the option "Open link in new tab" to appear at the top when I right click a link.

share|improve this question

migrated from stackoverflow.com Jan 18 '10 at 11:40

This question came from our site for professional and enthusiast programmers.

4 Answers 4

up vote 2 down vote accepted

from the personal menu extension page, i found this other extension that actually lets you edit the order of context menu: https://addons.mozilla.org/en-US/firefox/addon/710 (it is called "menu editor").

share|improve this answer

Yes, it is possible. You can customize all menus with the Personal Menu extension (original Russian link here).

share|improve this answer
    
Nice one! Updated the link to be English (but kept your Russian as well). –  T.J. Crowder Jan 18 '10 at 9:58
    
Sorry, the plugin description is english and I wasn't pay attention to page language :) –  ZhukovRA Jan 18 '10 at 10:05
    
but personal menu edits the menus in menubar, not in context menu (the one that shows up on right-click). right? –  barraponto Jan 18 '10 at 13:50

If you mean as part of a web application you're building, not really, no. You may be able to from within a Firefox extension.

If you mean for your own purposes, that would be a question best asked over on superuser.com. My guess is it would involve something in the depths of one of Firefox's various JavaScript files (firefox.js, etc.), using an extension like the one ZhuckovRA mentioned, or compiling Firefox yourself.

share|improve this answer

Nope, I don't think a web application would be able to do that, considering that this question regards web programming, right? Otherwise, it's not a question for StackOverflow.

If you really need this, build your own context menu using JavaScript - but bear in mind, that you won't be able to rebuild the context menu entirely, and also, that some users may find this annoying.

Having that in mind, look at this:

http://www.codeproject.com/KB/scripting/Context_Menu.aspx

http://luke.breuer.com/tutorial/javascript-context-menu-tutorial.htm

http://www.webtoolkit.info/javascript-context-menu.html

Found it with a quick google search.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.