How to Enable JavaScript on Chrome: A Complete Guide

JavaScript powers nearly every interactive element on the modern web — from dropdown menus and form validation to video players and live chat widgets. When it's disabled in Chrome, websites can appear broken, incomplete, or entirely non-functional. Knowing how to enable it (and understanding why it might be off in the first place) is a practical skill for anyone using the browser regularly.

What JavaScript Does in Your Browser

JavaScript (JS) is a scripting language that runs directly inside your browser. Unlike HTML and CSS — which define structure and appearance — JavaScript handles behavior. It's what makes a button respond when you click it, a map update when you drag it, or a shopping cart remember what you've added.

Chrome, like all modern browsers, includes a built-in JavaScript engine (V8) that executes this code in real time. By default, Chrome has JavaScript enabled globally, meaning it runs on every site unless you've specifically blocked it — either manually or through an extension.

Why JavaScript Might Be Disabled

Before jumping to the steps, it's worth understanding how JS gets turned off in the first place:

  • Manual settings change — Someone (you or another user) may have toggled it off in Chrome's site settings.
  • Browser extensions — Ad blockers, privacy tools, or script-blocking extensions like uBlock Origin or NoScript can selectively or globally disable JavaScript.
  • Managed/enterprise environments — IT-administered devices sometimes enforce browser policies that restrict JavaScript on certain domains.
  • Previous troubleshooting — Disabling JS is a common debugging step, and it may have been left off.

Identifying which of these applies to your situation affects which fix actually works.

How to Enable JavaScript in Chrome Settings 🔧

On Desktop (Windows, macOS, Linux)

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

That's the global toggle. If you want JavaScript enabled only for specific sites while keeping it off elsewhere, use the "Allowed to use JavaScript" section on the same page to add individual URLs.

Enabling JavaScript for a Single Site

If your global setting is already on but a specific site isn't running JS correctly:

  1. Navigate to the site in question.
  2. Click the padlock icon (or info icon) to the left of the URL bar.
  3. Select Site settings.
  4. Find JavaScript in the permissions list.
  5. Change the dropdown from "Block" to "Allow".
  6. Reload the page — this step is required for the change to take effect.

On Android

  1. Open Chrome on your Android device.
  2. Tap the three-dot menu in the top-right.
  3. Go to Settings > Site settings > JavaScript.
  4. Toggle it on.

On iPhone or iPad

JavaScript settings on Chrome for iOS are managed through the device's iOS settings, not within the Chrome app itself. However, Chrome on iOS uses Apple's WebKit engine, and JavaScript is handled differently — you generally cannot disable it within Chrome for iOS the way you can on desktop or Android. If a site isn't running JS correctly on iOS Chrome, the issue is more likely extension-related or network-related.

Variables That Affect Whether This Fix Works

Enabling JavaScript in Chrome's settings is the most straightforward path, but several factors determine whether that alone solves the problem:

FactorHow It Affects JS Behavior
Browser extensionsScript blockers can override Chrome's global JS setting
Incognito modeExtensions are often disabled here, which can actually restore JS
Chrome versionOlder Chrome builds may have different menu paths
Managed deviceEnterprise policies may lock the setting and prevent changes
Site-specific blocksPer-domain settings override the global toggle
Cache and cookiesStale cached data can cause JS to misbehave after re-enabling

If you've enabled JavaScript globally and a specific site still doesn't work, the next diagnostic step is testing in an Incognito window (Ctrl+Shift+N / Cmd+Shift+N). If the site works there, an extension is almost certainly the culprit.

Checking Whether JavaScript Is Actually Running

Once you've made changes, you can verify JS is working using a simple test:

  • Visit a site like google.com and start typing in the search bar — autocomplete suggestions require JavaScript.
  • Alternatively, open Chrome's DevTools (F12 or Cmd+Option+I), go to the Console tab, and type 1 + 1. If it returns 2, JavaScript is running.

You can also check the current JS status for any page by opening DevTools, pressing Ctrl+Shift+P (or Cmd+Shift+P on Mac), and searching for "Disable JavaScript" — if it's listed as an active option to disable, JS is currently enabled. 🖥️

When the Setting Is Greyed Out

On managed devices — common in workplaces, schools, or enterprise environments — Chrome's JavaScript setting may appear locked. In these cases, the browser is governed by a policy set by an administrator, and local changes won't persist or may not be possible at all. The fix here sits outside Chrome itself, requiring either admin access or a conversation with whoever manages the device.

The Extension Factor

Extensions deserve their own attention because they're frequently overlooked. A privacy-focused extension might block JavaScript site-wide without making it obvious that it's doing so. 💡 To test:

  1. Go to chrome://extensions.
  2. Temporarily disable any ad blockers, script blockers, or privacy extensions.
  3. Reload the problem page.

If JavaScript works after disabling a specific extension, you can either keep that extension off, whitelist the site within the extension's settings, or look for a less aggressive alternative.

The interplay between Chrome's native settings and what extensions are doing — on which sites, under which conditions — is where most JavaScript troubleshooting gets nuanced. Your specific combination of extensions, Chrome version, device type, and whether you're on a personal or managed machine shapes what the actual solution looks like for your setup.