This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

block javascript/HTML context menu/right click controls

  • 2 replies
  • 2 have this problem
  • 1 view
  • Last reply by cor-el

more options

anyone know of an extension/add-on that will let me remove a publisher's ability to control my context menu and/or right-click ability ?

right now, publishers can use <body oncontextmenu="return false">

or something like if (document.layers) document.captureEvents(Event.MOUSEDOWN);

               document.onmousedown = rightclickerror;

and i end up using wget which always annoys me.

anyone know of an extension/add-on that will let me remove a publisher's ability to control my context menu and/or right-click ability ? right now, publishers can use <body oncontextmenu="return false"> or something like if (document.layers) document.captureEvents(Event.MOUSEDOWN); document.onmousedown = rightclickerror; and i end up using wget which always annoys me.

Chosen solution

just found RightToClick - not bad!

Read this answer in context 👍 0

All Replies (2)

more options

Chosen Solution

just found RightToClick - not bad!

more options

See also:

  • Tools > Options > Content : JavaScript > Advanced > Allow Scripts to:
[] "Disable or replace context menus"