Disable JavaScript easily in Firefox and derivatives

English translation by Alyssa Rosenzweig.

Given the "trap" that supposes the presense of JavaScript on the web, we could be executing proprietary software without realising. This software can compromise our privacy or do tasks that we don't want. Maybe we don't want to run JavaScript because we're testing how a page functions without JavaScript during the creation of a website.

To disable JavaScript in Firefox and derivative browsers, we can type about:config in the URL bar and change the value of the preference javascript:enabled from true to false. But doing this every time we want to enable or disable JavaScript is rather inconvenient.

Changing the value of the preference javascript.enabled in Tor Browser

To enable and disable JavaScript more comfortably we can use the extension JavaScript Toggle On and Off, which is available in two versions:

Once installed, the extension will create a button which we can click to enable or disable JavaScript. There are many other extensions that allow us to have control over the JavaScript code we want to execute, but this extension is ideal if we simply want to enable or disable JavaScript.

If we want to have JavaScript disabled with the extension but nevertheless execute JavaScript on certain websites, we can add the URLs of these websites to a blank list in the extension configuration menu.

Adding websites to the blank list of JavaScript Toggle On and Off