How to disable JavaScript

Updated at: Feb 19, 2022

Completely disabling JavaScript

Completely disabling JavaScript is as easy as following our guides to enabling JavaScript, but instead choosing the option to Enable JavaScript, you choose the Disable JavaScript at the point where you choose the actual configuration option.

Selectively allowing JavaScript

You might recognise the benefits of JavaScript in some situations, and only want to trust certain websites to run JavaScript code, and if that's the case then you can use Browser Extensions such as NoScript to give you very fine-grained control over whether you allow particular JavaScript files to run as you access the internet.

NoScript is available for Firefox and Chrome. There may be other similar extensions for your preferred browser as well; simply browse the Addons/Extensions store for your browser.

Control your JavaScript settings

Some web browsers - notably Google Chrome - make it easy to allow JavaScript on some websites to run, but prevent JavaScript from running on other websites.

If you are a "Power User" and want to really take fine-grained control over your computer and web browser, this is a great option to use if you don't want to use a Third-Party Plugin like NoScript.

When you are editing your JavaScript settings in Chrome, simply scroll down a bit further to the "Customized Behaviors" section and domain names to the "Allowed" or "Not allowed" sections.

Other browsers don't offer this level of control, and you will either need to switch to a different browser or use a Third-Party Browser Extension to get the same kind of functionality as Chrome.