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

Mulongo oyo etiyamaki na archive. Tuna motuna mosusu soki osengeli na lisalisi

Firefox 40 disable javascript control

  • 2 biyano
  • 79 eza na bankokoso oyo
  • 1 view
  • Eyano yasuka ya RBV

more options

For Firefox 40 on Windows 7 laptop.

I today noticed that a Web site did not enable me to right-click links or indeed anywhere. A quick test with a different Firefox 40 profile equipped with NoScript demonstrated that if I blocked that page's JavaScript, right-click functionality was restored. Clearly, then, the page was using JavaScript to disable context menus and so on.

I then looked in the FF profile where J'Script was disabling right-clicking for the controls that enabled me to control whether or not JavaScript was allowed to disable right-clicks / prevent menus / et cetera. Evidently this control has been removed? (Oh dear, is this another example of FF's "take control out of the hands of the user" improvements?)

■ Am I correct in my conclusion that in Firefox 40 (and perhaps even in prior releases), control over JavaScript has been removed from FF's options? (I currently have Classic Theme Restorer in all my FF profiles. I note in passing that the number of FF features and behaviors that extremely important addon needs to put back into the users hands grows with each release of FF. Sigh...)

■ If I am correct, is there an addon that restores that basic functionality? Or an about:config trick? Or?

Cheers & thanks for your help...

For Firefox 40 on Windows 7 laptop. I today noticed that a Web site did not enable me to right-click links or indeed anywhere. A quick test with a different Firefox 40 profile equipped with NoScript demonstrated that if I blocked that page's JavaScript, right-click functionality was restored. Clearly, then, the page was using JavaScript to disable context menus and so on. I then looked in the FF profile where J'Script was disabling right-clicking for the controls that enabled me to control whether or not JavaScript was allowed to disable right-clicks / prevent menus / et cetera. Evidently this control has been removed? (Oh dear, is this another example of FF's "take control out of the hands of the user" improvements?) ■ Am I correct in my conclusion that in Firefox 40 (and perhaps even in prior releases), control over JavaScript has been removed from FF's options? (I currently have Classic Theme Restorer in all my FF profiles. I note in passing that the number of FF features and behaviors that extremely important addon needs to put back into the users hands grows with each release of FF. Sigh...) ■ If I am correct, is there an addon that restores that basic functionality? Or an about:config trick? Or? Cheers & thanks for your help...

Solution eye eponami

That was done before FF 24. I have an extension called "Controle de Scripts" which works with FF 24 (even though the description says it only goes up to FF 21). Whether it works with FF 40 is another question. If not, there are a number of dom... settings in about:config (if they have not been removed). The one that controls the context menu is dom.event.contextmenu.enabled. Set that to false to get back control of the context menu.

Tanga eyano oyo ndenge esengeli 👍 17

All Replies (2)

more options

Solution eye oponami

That was done before FF 24. I have an extension called "Controle de Scripts" which works with FF 24 (even though the description says it only goes up to FF 21). Whether it works with FF 40 is another question. If not, there are a number of dom... settings in about:config (if they have not been removed). The one that controls the context menu is dom.event.contextmenu.enabled. Set that to false to get back control of the context menu.

more options

Thank you finitarry!

dom.event.contextmenu.enabled' did indeed' re-enable the right-click menu that the site had disabled via JavaScript. (Happy to learn that this setting still exists in FF 40 even though the user-facing controls have been removed.)

Cheers & thanks 'gain RBV SFO