How to Disable JavaScript on Google Chrome

Most people land on guides like this for the opposite reason: they want JavaScript on, not off. But there are real, legitimate reasons to switch JavaScript off in Google Chrome. You may be defending against tracking and fingerprinting scripts, checking how your own site degrades for users without JS, squeezing extra battery and CPU out of an older laptop, or simply trying to read a long article on a site that loads ten megabytes of widgets just to show you 800 words. All of those are valid, and Chrome supports every one of them with the same toggle.

This guide covers the full disable workflow on the current version of Chrome (version 120 and up, as of 2026): the global off switch, per-site exceptions for the handful of pages you actually trust, the chrome://settings/content/javascript shortcut, keyboard tips for Mac and Windows, and a quick way to verify JavaScript is really off. It also includes the warning you need before flipping the switch, because a lot of the modern web simply does not work without JavaScript.

Before you disable: read this

With JavaScript globally turned off in Chrome, expect the following:

  • Most single-page apps (Gmail, Google Docs, Slack, Notion, X/Twitter, Facebook, Instagram, YouTube comments, online banking) will not load past a blank screen or a static fallback message.
  • Login forms on many sites will fail silently, because the submit button is wired up in JavaScript instead of a plain HTML form.
  • Search boxes that use autocomplete, infinite scroll, video players, captchas, and "Add to cart" buttons will frequently break.
  • Many news sites and blogs work surprisingly well, because the body text is in the HTML and the JavaScript is mostly ads and analytics.

The recommended setup for most people is block by default, allow-list a few trusted sites. That way you get the privacy and performance wins everywhere, and the handful of sites you genuinely use day to day still work. Steps for that allow-list workflow are at the end of this guide.

Disable JavaScript globally in Chrome (Windows, Mac, Linux, Chromebook)

The same toggle exists on every desktop platform Chrome supports, because the Settings page is rendered by Chrome itself rather than the operating system. The menu chrome around it differs slightly between Windows and macOS, so the walkthrough below covers both. Linux and Chromebook screens look essentially identical to the Windows flow.

1. Disable JavaScript in Chrome on Windows 11

Step 1: Open Chrome

Launch Chrome from the Start menu or taskbar. You can keep any tab open while you change the setting; the new behaviour applies to every page once you reload it.

Google Chrome window open on Windows 11 with a sample web page loaded
Start with any tab open in Chrome on Windows 11.

Step 2: Open the Chrome menu

Click the three-dot menu in the top-right corner of the window. On Windows you can also press Alt + E to open the same menu from the keyboard.

Chrome three-dot menu open in the top-right of the window with the Settings option visible
The three-dot menu reveals Settings near the bottom of the list.

Step 3: Open Settings

Choose Settings from the menu. Chrome opens a new tab at chrome://settings with the Privacy and security panel one click away.

Chrome Settings page on Windows 11 showing the You and Google panel and the left-hand navigation
Chrome's settings page opens in its own tab.

Step 4: Go to Privacy and security, then Site settings

In the left-hand sidebar click Privacy and security, then click Site settings. Scroll down to the Content section.

Step 5: Open the JavaScript permission

Click JavaScript in the Content list. Chrome opens the JavaScript permission detail page, where the global default and the allow/block lists live.

Chrome JavaScript permission page on Windows 11 showing the Default behavior radio buttons and the Customised behaviours section
The JavaScript permission page is the single screen that controls everything.

Step 6: Confirm the current state

If JavaScript is currently allowed, the top option reads Sites can use JavaScript and the radio button is selected. This is Chrome's default for new installs.

Chrome JavaScript settings on Windows 11 with Sites can use JavaScript selected, indicating the engine is allowed
Default behaviour set to "Sites can use JavaScript" - the starting state.

Step 7: Switch to "Don't allow sites to use JavaScript"

Under Default behavior, select Don't allow sites to use JavaScript. That single radio button is the global off switch. From this point on, every page you load will be served without running any JavaScript, including pages that were already open in other tabs once you refresh them.

Chrome JavaScript settings on Windows 11 with Don't allow sites to use JavaScript selected, blocking the engine globally
Default behaviour now set to "Don't allow sites to use JavaScript" - JavaScript is off globally.

2. Disable JavaScript in Chrome on macOS Sequoia

Step 1: Open Chrome

Launch Chrome from Launchpad, Spotlight, or the Dock. You can press Cmd + , at any point to jump straight to the Settings tab and skip the menu entirely.

Google Chrome window open on macOS Sequoia with a sample page loaded
Chrome on macOS 26 - start with any tab open.

Step 2: Open the Chrome menu

Click the three-dot menu in the top-right of the Chrome window (not the macOS menu bar at the top of the screen).

Chrome three-dot menu open on macOS Sequoia showing the Settings option
The same three-dot menu used on Windows.

Step 3: Open Settings

Choose Settings (or press Cmd + ,). Chrome opens its settings tab.

Step 4: Site settings under Privacy and security

Click Privacy and security in the left-hand sidebar, then click Site settings. Scroll down to the Content section.

Chrome Privacy and security site settings page on macOS Sequoia with the Content section visible
Site settings page on macOS - JavaScript sits inside the Content section.

Step 5: Open the JavaScript permission

Click JavaScript. Chrome opens the same permission detail page you saw on Windows.

Chrome JavaScript permission page on macOS Sequoia showing the Default behavior radio buttons
JavaScript permission detail page on macOS Sequoia.

Step 6: Confirm the current state

If JavaScript is currently allowed, Sites can use JavaScript is selected.

Chrome JavaScript settings on macOS Sequoia with Sites can use JavaScript selected
Default state on macOS - JavaScript is on.

Step 7: Switch to "Don't allow sites to use JavaScript"

Select Don't allow sites to use JavaScript. The change is instant, no Save button required. Reload any open tab to see it take effect.

Chrome JavaScript settings on macOS Sequoia with Don't allow sites to use JavaScript selected, blocking the engine globally
JavaScript globally disabled on macOS Sequoia.

Linux and Chromebook follow the same flow as Windows: three-dot menu, Settings, Privacy and security, Site settings, JavaScript, then flip the radio button.

The fast path: chrome://settings/content/javascript

If you do this often, skip the menu entirely. Type or paste this into the Chrome address bar:

chrome://settings/content/javascript

Press Enter and Chrome takes you straight to the JavaScript permission page. Same toggle, same allow-list, no clicking through Privacy menus. Bookmark it if you flip the switch regularly for testing or browsing on flaky networks.

Chrome address bar showing chrome://settings/content/javascript loading the JavaScript permission page directly
The shortcut URL drops you straight onto the JavaScript permission page.

Chrome accepts a few related shortcuts too:

  • chrome://settings/content opens the full Site settings page (all permissions, not just JavaScript).
  • chrome://settings/privacy opens the broader Privacy and security panel.

Allow JavaScript on a single site (allow-list workflow)

This is the setup most privacy-conscious users actually want: JavaScript blocked everywhere by default, then explicitly allowed on the small set of sites you trust and use heavily.

  1. Make sure Default behavior on chrome://settings/content/javascript is set to Don't allow sites to use JavaScript.
  2. Scroll down to the Customised behaviours section. You will see two lists: Not allowed to use JavaScript and Allowed to use JavaScript.
  3. Click Add next to Allowed to use JavaScript.
  4. Type the site you want to allow, for example [*.]github.com to allow GitHub and all its subdomains, or https://mail.google.com to scope it to a single host.
  5. Click Add. The site appears in the allow-list and JavaScript runs there as normal.

The leading [*.] pattern is Chrome's wildcard for "any subdomain". So [*.]example.com covers www.example.com, app.example.com, api.example.com, and so on. Without the wildcard, the rule applies only to the exact host you typed.

You can also do this from a tab that is already open: click the small lock or tune icon to the left of the URL, choose Site settings, find JavaScript in the permissions list, and switch it from Block (default) to Allow. Chrome adds the site to your customised allow-list automatically.

Block JavaScript on a single site (block-list workflow)

The mirror image is also useful: JavaScript on globally, but switched off for a few specific sites that abuse it. Maybe a news site that interrupts every paragraph with a paywall script, or a forum where the JavaScript-driven layout is worse than the plain HTML version.

  1. Leave Default behavior on Sites can use JavaScript.
  2. Under Customised behaviours, click Add next to Not allowed to use JavaScript.
  3. Enter the site, for example [*.]heavynewssite.com, and click Add.

That site now loads with JavaScript blocked while the rest of the web continues to work normally.

How to verify JavaScript is now off

Settings can lie. Extensions can override them. The only way to be sure is to load a page that actively tests the result.

  1. Open a new tab and visit any JavaScript-detection page (this site has one too: it will show a clear "JavaScript is disabled" message when the engine is off).
  2. Open Chrome's DevTools with Cmd + Option + I (Mac) or Ctrl + Shift + I (Windows, Linux, Chromebook).
  3. Click the Console tab.
  4. Type 1+1 and press Enter.

If the console returns 2, JavaScript is still running on that page (DevTools sometimes runs in a privileged context even when the page does not). The page-level signal is what counts: if a JS-detection site says JS is off and a page that relies on JavaScript stays blank, your toggle is doing its job.

Chrome JavaScript settings page with Don't allow sites to use JavaScript selected, the visual confirmation that the engine is disabled
The settings-side confirmation: the bottom radio button is selected.

Disable JavaScript only inside Chrome DevTools (developer testing)

Web developers often want JavaScript off for one specific tab during testing, without changing the global setting. Chrome supports this directly:

  1. Open the page you want to test.
  2. Press Cmd + Option + I (Mac) or Ctrl + Shift + I (Windows, Linux, Chromebook) to open DevTools.
  3. Open the Command Menu with Cmd + Shift + P (Mac) or Ctrl + Shift + P (Windows, Linux, Chromebook).
  4. Type Disable JavaScript and press Enter.
  5. Reload the page. JavaScript is now off for this tab only, while DevTools stays open.

To switch it back on, run the same command (it now reads Enable JavaScript) or simply close DevTools.

Disable JavaScript on Chrome for Android and iOS

Mobile Chrome on Android still ships the toggle. iOS Chrome is technically a wrapper around Safari's WebKit, so its JavaScript handling follows iOS rather than the Chromium settings most desktop users are used to.

Chrome on Android

Tap the three-dot menu, choose Settings, scroll to Site settings, tap JavaScript, and switch the toggle off. The same per-site exception list works as on desktop. Android screenshots are not included here because the menu copy varies between Chrome 120, 121, and 122; the in-app labels above are accurate across all current versions.

Chrome on iOS and iPadOS

There is no JavaScript toggle inside Chrome on iOS. Apple requires every browser on iOS and iPadOS to use the system WebKit engine, so the only way to turn JavaScript off is through Safari's setting in the iOS Settings app. That setting affects WebKit system-wide, including Chrome, Edge, Firefox, Brave, and any other browser on the device.

Step 1: Open the Settings app

On the iPhone or iPad home screen, tap the grey Settings icon.

iOS Settings app open showing the top of the main settings list
The iOS Settings app is where every browser-engine toggle lives.

Step 2: Tap "Apps"

Scroll down and tap Apps. iOS 26 groups all per-app settings (Safari, Mail, Photos, and so on) under this single entry.

iOS Settings showing the Apps row selected, which leads to the per-app settings list
"Apps" is the iOS 26 entry point for per-app settings.

Step 3: Tap Safari

In the alphabetical list of apps, tap Safari.

iOS Apps list with Safari highlighted
Safari controls the JavaScript engine for every browser on iOS.

Step 4: Open Advanced

Scroll to the bottom of Safari's settings and tap Advanced.

iOS Safari settings with the Advanced row at the bottom of the list
"Advanced" is where the JavaScript toggle hides.

Step 5: Find the JavaScript toggle

The Advanced page shows a JavaScript switch. By default it is on (green).

iOS Safari Advanced page with the JavaScript toggle switched on
JavaScript on - the default state on every iOS device.

Step 6: Switch JavaScript off

Tap the toggle. It turns grey. JavaScript is now off across every browser on the device until you switch it back on.

iOS Safari Advanced page with the JavaScript toggle switched off, disabling JS in every iOS browser
JavaScript off - every browser on the device, including Chrome, now runs without JS.

What to do if a site you need is now broken

Three options, in order of how minimal the change is:

  1. Add the site to your allow-list (steps above). Most surgical option.
  2. Use a separate Chrome profile for browsing with JavaScript on. Click your profile picture in the top-right of Chrome, choose Add, and create a second profile that keeps JavaScript enabled. Switch profiles when you need a JS-heavy site to work.
  3. Re-enable JavaScript globally by setting Default behavior back to Sites can use JavaScript. Use the per-site block-list for the few sites you specifically want to block.

The allow-list approach is what most privacy-focused users settle on long-term. It keeps fingerprinting scripts off the dozens of sites you visit once and never come back to, while letting the small number you actually rely on keep working without friction.

F.A.Q

Why would I disable JavaScript in Chrome instead of just leaving it on?

The most common reasons are privacy, performance, and testing. JavaScript is the engine behind most browser fingerprinting, third-party tracking, and ad surveillance, so turning it off blocks a large slice of that without installing any extensions. It also reduces CPU and battery usage on older laptops, since pages stop running animations, analytics, and ad scripts in the background. Web developers turn it off temporarily to confirm their site still works for users without JavaScript - this matters for SEO, accessibility, and graceful degradation. None of these are contrarian or paranoid reasons; they are mainstream uses of the same toggle.

Will websites still work after I disable JavaScript in Chrome?

Some will, most will not. News sites, blogs, documentation pages, and Wikipedia-style content tend to render fine because the article body is in the HTML. Modern web apps like Gmail, Google Docs, Slack, Twitter/X, Instagram, and online banking will usually show a blank page or a static fallback. The practical recommendation is to disable JavaScript globally and then add the handful of sites you genuinely use to the Allowed to use JavaScript list under chrome://settings/content/javascript. That gives you privacy and speed across the long tail of the web while keeping your daily-driver sites functional.

How do I disable JavaScript for one specific site only?

Open chrome://settings/content/javascript and scroll to the Customised behaviours section. Click Add next to Not allowed to use JavaScript and enter the domain - use the [*.]example.com pattern to cover all subdomains, or paste a full URL like https://example.com to scope the rule to a single host. From now on that site loads without JavaScript while the rest of Chrome continues to work normally. You can also do it from the site itself: click the lock or tune icon to the left of the URL, choose Site settings, find JavaScript, and switch it to Block.