šŸ’¾ Archived View for novaburst.tilde.cafe ā€ŗ blog ā€ŗ disabling-javascript captured on 2023-11-04 at 11:27:02. Gemini links have been rewritten to link to archived content

View Raw

More Information

ā¬…ļø Previous capture (2022-04-28)

-=-=-=-=-=-=-

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