How to disable JavaScript in Google Chrome, Edge and Firefox


JavaScript is a website scripting (programming) language for websites that has been prominent in web design since 1995. This scripting language integrates with HTML and allows designers to design more dynamic websites. Many sites include interactive elements added with JavaScript.

So why might some users prefer to disable JavaScript? Disabling JavaScript will make the page load faster and block ads enabled by this scripting language. Here’s how to disable JavaScript in Firefox, Edge, and Google Chrome.

How to Disable JavaScript in Google Chrome

Google Chrome includes a series of built-in content options. With these options you can block images, cookies, pop-ups and interactive JavaScript content on websites.

Click it Customize and control Google Chrome (three dots) near the upper right corner of the browser window. Select the Settings option to display this tab. Then click Privacy and Security in Settings.

Select the Site settings browse options. Then click on the JavaScript possibility of content. Select the Do not allow sites to use JavaScript radio button. Restart Chrome to make sure the new option takes effect.

Alternatively, you can disable JavaScript only on specific websites. To do this, click on the Add button for the Not allowed to use JavaScript option. Enter the URL of a website’s homepage in the Add a site box. Then click on the Add option.


Would you rather disable JavaScript on almost all websites with a few exceptions? If so, click the Authorized to use options Add button. Enter a URL for a website to exclude in the Site box, then select the Add option. Then select the Do not allow sites to use JavaScript option to generally disable the scripting language.

How to Disable JavaScript in Firefox

Firefox has no visible option to disable JavaScript from its standard Settings tongue. However, a hidden option (flag) to disable JavaScript exists in Fox’s Advanced preferences (about:config) tab.

Type about: setup in the Firefox website address box and press Walk in. Click on Accept the risk and carry on to make flag settings.

To find the disable JavaScript flag, type javascript.enabled in the search field. Double click on the javascript.enabled parameter to change its value to false. Then click on Firefox close (X) to restart this browser.

If you ever want to restore JavaScript, go back to javascript.enabled in the Advanced Preferences tab. Double-click this flag again to set it to true. Or you can click on a Reset (arrow) to the far right of the javascript.enabled option.

How to Disable JavaScript in Edge

Edge offers similar site permission (control) options as Google Chrome. Among them is a setting to enable/disable JavaScript.

Select the Settings (ellipsis) to open Edge’s main menu. Click on Settings On the menu. To select Cookies and site permissions to the left of Settings.

Scroll down and click JavaScript. Click it Allowed (recommended) option toggle button to disable this option. Restart Edge after choosing to disable JavaScript.

Edge also offers an exclusion list option for users who choose to disable JavaScript. Click it To permit options Add button. Then enter the URL of a website for which you want JavaScript enabled, then press the key Add button.

If you want JavaScript to remain enabled, you can always choose to block it on specific sites. Click on Add for the Block option. Then enter the web address of a site and click Add.

Browse the web faster with JavaScript disabled

Now you can sit back and enjoy faster web browsing with JavaScript disabled in your Chrome, Edge or Firefox browser. Disabling this scripting language will noticeably improve browsing speeds on websites that are choc-a-bloc with JavaScript elements.

However, many web pages may also look somewhat different when JavaScript is disabled. So configure Edge, Firefox or Chrome depending on how you prefer to have it.

People looking at code on laptop

Learn how to create asynchronous programs with JavaScript

Read more

About the Author


Comments are closed.