Why you might disable JavaScript and how to do it
You can turn off JavaScript in Chrome through the Settings menu, though the process is not as direct as it was in older versions. Chrome no longer offers a straightforward on-off toggle for JavaScript in the main settings — instead, you control it through site-specific permissions or by using Developer Tools to disable it temporarily while you work.
Most people disable JavaScript to speed up a slow website, to prevent tracking scripts from running, or to test how a page works without interactive features. Some disable it on untrusted sites to avoid malicious code. If you want to turn it off everywhere at once, you will need to use a browser extension, since Chrome's built-in options work on a per-site basis.
Key Takeaways
- Chrome does not have a global JavaScript off switch in Settings anymore — you must disable it per site or use an extension.
- To block JavaScript on one site, go to Settings, then Privacy and Security, then Site Settings, then JavaScript, and add the site to the blocked list.
- Developer Tools lets you disable JavaScript temporarily while testing, without changing your permanent settings.
- Extensions like uBlock Origin or NoScript give you finer control and can block JavaScript on all sites by default, then allow it where you choose.
- Disabling JavaScript may break features like forms, maps, video players, and interactive content on many modern websites.
Disable JavaScript on a single website
Open Chrome and go to the website where you want to block JavaScript. Click the lock icon or info icon in the address bar on the left side. A small menu will appear — click "Site Settings" at the bottom of that menu.
In the Site Settings panel that opens, scroll down until you see "JavaScript". Click the dropdown next to it and select "Block". Close the tab and reload the website. JavaScript will no longer run on that site, though you may notice some features stop working — buttons might not respond, forms might not submit, or content might not load.
To turn JavaScript back on for that site later, return to the same menu, click Site Settings, find JavaScript, and change it back to "Allow".
Block JavaScript on all sites using an extension
If you want JavaScript off everywhere by default, you will need a browser extension because Chrome removed the global toggle. Open the Chrome Web Store by clicking the three vertical dots in the top right corner, then select "Extensions" and "Open Chrome Web Store".
Search for "NoScript" or "uBlock Origin" — both are free and widely used. NoScript blocks JavaScript on every site until you allow it individually. uBlock Origin is primarily an ad blocker but also blocks scripts. Click "Add to Chrome" on whichever you choose, then confirm the permission prompt.
After installation, click the extension icon in your toolbar. For NoScript, you will see a list of scripts running on the page — click the power icon to block all of them. For uBlock Origin, click the settings icon to access more detailed controls. Both extensions remember your choices per site, so you only have to set them once.
Disable JavaScript temporarily using Developer Tools
If you want to test a website without JavaScript but do not want to change your permanent settings, use Chrome's built-in Developer Tools. Press Ctrl + Shift + J on Windows or Command + Option + J on Mac to open the Console tab.
At the top of the Console, click the three vertical dots, then select "Settings". In the Settings panel, scroll down to the "Debugger" section and check the box next to "Disable JavaScript". Close the Settings panel and reload the page. JavaScript will be off for this session only.
When you close Developer Tools or open a new tab, JavaScript turns back on automatically. This method is useful for quick testing without affecting your browser's permanent configuration.
What breaks when you disable JavaScript
Disabling JavaScript will cause many modern websites to stop working properly. Interactive features like dropdown menus, image sliders, form validation, and real-time search suggestions all rely on JavaScript. Maps, video players, and chat widgets often will not load at all.
Some sites will appear to work but show you an older, simpler version of the page. Others will display an error message or a blank screen. Before you disable JavaScript on a site you use regularly, test it first to make sure the features you need still work.
Re-enable JavaScript when you need it back
If you blocked JavaScript on a site and now need it back, return to the address bar, click the lock or info icon, select Site Settings, find JavaScript, and change it from "Block" to "Allow". Reload the page.
If you are using an extension like NoScript, click the extension icon and toggle JavaScript back on for that site. The change takes effect when ready on your next page load.
Frequently Asked Questions
Does disabling JavaScript make Chrome faster?
It can make individual pages load slightly faster because the browser skips processing scripts, but the difference is usually small. If a site is slow because of tracking scripts or ads, disabling JavaScript might help noticeably. For most sites, the slowdown comes from images or server response time, not JavaScript.
Will websites think I am a bot if I disable JavaScript?
Some sites use JavaScript to detect bots, so disabling it might trigger a security check or block you from accessing the page. Banks and payment sites sometimes do this. If you get blocked, you will need to turn JavaScript back on for that site to proceed.
Can I disable JavaScript on ads but keep it on for the rest of the page?
Not easily with Chrome's built-in tools — you either block all JavaScript on a site or none. Extensions like uBlock Origin let you block specific scripts by name, so you can target ad networks while allowing other scripts to run. This requires more technical knowledge to set up.
Is it safe to disable JavaScript?
Disabling JavaScript on untrusted sites can prevent some malicious code from running, but it is not a complete security solution. Malware can spread through other means. For security, using an extension like uBlock Origin to block ads and trackers is usually more effective than disabling JavaScript entirely.
Why did Chrome remove the global JavaScript toggle?
Google removed it because almost all modern websites require JavaScript to function. A global off switch caused too many sites to break, and most users who turned it on ended up turning it back off. The per-site approach lets you disable it where you actually need it without breaking everything else.