Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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). – Kai Noack Nov 13 '13 at 11:25

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .