š¾ 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
ā¬ ļø Previous capture (2022-04-28)
-=-=-=-=-=-=-
Most websites are often infested with JavaScript, and they simply donāt work if you have it disabled.
It has JavaScript disabled by default, though can switch it on and off with a button on the toolbar.
Install the [uMatrix] addon and block all scripts
Aftewards if a certain website breaks (of course it will do) you can whitelist scripts
Same as above (basically)
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
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
Go to Preferences -> Browsing and untick āAllow JavaScriptā
Same as Badwolf
On the command mode type āset scripts=falseā
Domain whitelisting is tricky so I wouldnāt recommend it
JavaScript malware infected nightmare
---