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
  • 4 views
  • 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"