Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I start using the Web Console that is built-in to Firefox 18.

Do you know any command I can use to disable JavaScript directly from the web console?

PS: Before I was using the addon webdeveloper toolbar where you find such an option, but I would like to be able to switch off JavaScript quickly without addon (and without changing Firefox's settings each time).

share|improve this question

1 Answer 1

This is one way to disable javascript using the Web Console:

pref set javascript.enabled false

And enable it again:

pref set javascript.enabled true
share|improve this answer
Another option for Firefox 25: When opening the web console and clicking the settings icon on the very left there will be a checkbox to "Disable Javascript" (only for the session). –  Echt Einfach TV Nov 13 '13 at 11:25

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.