Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Funkcjonalność tej witryny będzie ograniczona w czasie konserwacji. Jeśli artykuł nie rozwiązuje twojego problemu i chcesz zadać pytanie, to nasza społeczność wsparcia jest dostępna na @FirefoxSupport na Twitterze i /r/firefox na Reddicie.

Przeszukaj pomoc

Unikaj oszustw związanych z pomocą.Nigdy nie będziemy prosić Cię o dzwonienie na numer telefonu, wysyłanie SMS-ów ani o udostępnianie danych osobowych. Zgłoś podejrzaną aktywność, korzystając z opcji „Zgłoś nadużycie”.

Więcej informacji

Firefox 40 disable javascript control

  • 2 odpowiedzi
  • 79 osób ma ten problem
  • 1 wyświetlenie
  • Ostatnia odpowiedź od 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...

Wybrane rozwiązanie

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.

Przeczytaj tę odpowiedź w całym kontekście 👍 17

Wszystkie odpowiedzi (2)

more options

Wybrane rozwiązanie

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