Disabling JavaScript · テクニカル魔理沙

Most websites are often infested with JavaScript, and they simply don’t work if you have it disabled.

Badwolf

It has JavaScript disabled by default, though can switch it on and off with a button on the toolbar.

Chromium (or Chromium-based browsers)

Install the [uMatrix] addon and block all scripts

Aftewards if a certain website breaks (of course it will do) you can whitelist scripts

Firefox (or Firefox-based browsers)

Same as above (basically)

Luakit

On the command mode write :set webview.enable_javascript false

If you need JS you can use :seton <domain> webview.enable_javascript true

There’s also a built-in noscript functionality on the browser.

You can toggle scripts with ,ts, plugins with ,tp, and reset with ,tr

Qutebrowser

On the command mode write ‘:set content.javascript.enabled False’

If you need JS you can add on ~/.config/qutebrowser/config.py the following line config.set('content.javascript.enabled, True, '<domain>') and run :config-source on the command mode

Falkon

Go to Preferences -> Browsing and untick ‘Allow JavaScript’

lrrh (Badwolf derivative)

Same as Badwolf

Vimb

On the command mode type ‘set scripts=false’

Domain whitelisting is tricky so I wouldn’t recommend it

Links and further reading

JavaScript malware infected nightmare

Stop pushing JavaScript!

uMatrix

Next: Alternative frontends

---

Built by kiln