How to Disable JavaScript in Chrome (And What Happens When You Do)

JavaScript runs on virtually every modern website — it powers menus, forms, animations, login systems, and dynamic content. Most users never think about it. But there are legitimate reasons to turn it off: testing how a site degrades, blocking certain tracking scripts, improving page load speed on slow connections, or troubleshooting a broken webpage. Whatever your reason, Chrome gives you straightforward controls to disable it — globally or per site.

What JavaScript Actually Does in Your Browser

Before touching any settings, it helps to understand what you're switching off. JavaScript is a scripting language that runs inside your browser and allows web pages to behave dynamically. Without it, most pages still display their basic HTML structure and CSS styling — but interactive elements stop working. Buttons may not respond, images may not load lazily, comment sections often disappear, and login forms frequently break entirely.

Disabling JavaScript doesn't make browsing "safer" in a simple on/off sense. Some security risks come through JavaScript, but so do many legitimate security features like CAPTCHA verification and session management. It's a trade-off, not a blanket improvement.

How to Disable JavaScript in Chrome on Desktop 🖥️

Chrome handles JavaScript permissions inside its Site Settings panel, nested within Privacy and Security. Here's the path:

  1. Open Chrome and click the three-dot menu (⋮) in the top-right corner
  2. Select Settings
  3. In the left sidebar, click Privacy and security
  4. Click Site settings
  5. Scroll down to Content and select JavaScript
  6. Under "Default behavior," select Don't allow sites to use JavaScript

This disables JavaScript globally — every site you visit will run without it until you reverse the setting.

Disabling JavaScript for Specific Sites Only

Global disabling is blunt. Chrome also lets you block or allow JavaScript on a per-site basis, which is more practical for most users:

  • On the same JavaScript settings page, scroll to "Not allowed to use JavaScript"
  • Click Add and enter the domain (e.g., [*.]example.com)
  • That site will load without JavaScript while everything else runs normally

You can also do this directly from the address bar: click the icon to the left of the URL (the lock or info icon), go to Site settings, and toggle JavaScript off just for that page's domain.

How to Disable JavaScript in Chrome on Android 📱

The mobile version of Chrome also supports this, though the path is slightly different:

  1. Tap the three-dot menu in the top-right
  2. Go to Settings
  3. Tap Site settings
  4. Tap JavaScript
  5. Toggle it off

Per-site exceptions work the same way — you can add specific domains to a block or allow list from this same screen.

Chrome Extensions as an Alternative Approach

Some users prefer browser extensions like script blockers, which offer more granular control than Chrome's built-in settings. These tools let you:

  • Block JavaScript from third-party domains while allowing it from the main site
  • Create whitelist or blacklist rules by domain, subdomain, or script type
  • Temporarily pause scripts without changing browser settings

This approach is more flexible than the native toggle but adds complexity. The right choice depends on how precisely you want to control which scripts run and how comfortable you are managing extension rules.

What Changes When JavaScript Is Disabled

ElementWith JavaScriptWithout JavaScript
Navigation menusOften dynamic, animatedMay revert to basic links or disappear
Forms and loginsFully functionalMay not submit or validate
Embedded videosLoad via JS playersOften fail to appear
Page load speedVariableSometimes faster on script-heavy sites
Tracking scriptsActiveLargely non-functional
CAPTCHAWorksUsually breaks

The actual experience varies significantly by site. Some well-built sites degrade gracefully and remain usable. Others become essentially non-functional because their entire structure depends on JavaScript rendering content dynamically.

The Variables That Shape Your Experience

How disabling JavaScript affects you depends on several factors:

  • Which sites you visit most — developer documentation and simple content sites often survive fine; web apps like Gmail or Google Docs become unusable
  • Your reason for disabling it — testing, privacy, performance, and troubleshooting each suggest different approaches (global off vs. per-site vs. extension-based)
  • Your technical comfort level — managing per-site exceptions or extension rules requires more maintenance than a simple global toggle
  • Your device and connection speed — on a slow mobile connection, blocking JavaScript on ad-heavy pages can meaningfully reduce data use and load times
  • Whether you use Chrome sync — settings sync across devices signed into the same Google account, so a change on desktop may carry over to mobile

Global disabling is the simplest setting to apply, but per-site control is more sustainable for regular browsing. Extension-based blocking sits at the most powerful end of the spectrum — and the most demanding to configure correctly.

The right level of control comes down to what you're actually trying to accomplish, which pages need to keep working, and how much you want to manage the exceptions over time.