Este site está com funcionalidades limitadas enquanto realizamos manutenção para melhorar sua experiência de uso. Se nenhum artigo resolver seu problema e você quiser fazer uma pergunta, nossa comunidade de suporte pode te ajudar em @FirefoxSupport no Twitter e /r/firefox no Reddit.

Pesquisar no site de suporte

Evite golpes de suporte. Nunca pedimos que você ligue ou envie uma mensagem de texto para um número de telefone, ou compartilhe informações pessoais. Denuncie atividades suspeitas usando a opção “Denunciar abuso”.

Saiba mais

Esta discussão foi arquivada. Faça uma nova pergunta se precisa de ajuda.

Firefox 40 disable javascript control

  • 2 respostas
  • 79 têm este problema
  • 1 visualização
  • Última resposta de 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...

Solução escolhida

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.

Ler esta resposta 👍 17

Todas as respostas (2)

more options

Solução escolhida

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