Complete guide to enabling JavaScript in Chrome across all platforms — desktop (Windows, Mac, Linux) and mobile (Android, iPhone), including exceptions for specific sites and troubleshooting.
JavaScript powers virtually every interactive feature on the modern web — forms, shopping carts, maps, dynamic content, and more. If JavaScript is disabled in Chrome, many websites will appear broken, stripped of functionality, or show a "JavaScript is disabled" warning. This guide walks you through enabling JavaScript in Chrome on every platform.
Why JavaScript Gets Disabled
Chrome doesn't disable JavaScript by default — it's always on unless:
- A browser extension (ad blocker, security tool) has blocked it
- A site-specific exception was set in Chrome's settings
- A corporate IT policy or Chrome managed policy has disabled it
- Someone manually turned it off in Site Settings
Enable JavaScript in Chrome on Windows, Mac, and Linux
Method 1: Via Chrome Settings (Recommended)
-
Open Chrome Settings
Click the three-dot menu (⋮) in the top-right corner of Chrome, then click Settings.
Alternatively, typechrome://settingsin the address bar and press Enter. -
Go to Privacy and Security
In the left sidebar, click Privacy and security. -
Click "Site Settings"
Under Privacy and security, click Site Settings. -
Find JavaScript
Scroll down to the Content section and click JavaScript. -
Enable JavaScript
Select "Sites can use JavaScript" (the top option). This enables JavaScript globally for all sites. -
Reload the page
Press F5 or click the refresh button to reload any open tabs.
Method 2: Direct URL (Fastest)
Paste this URL directly in your Chrome address bar and press Enter:
chrome://settings/content/javascriptThis takes you directly to the JavaScript settings page. Toggle it on immediately.
Method 3: Enable for a Specific Site Only
If you want JavaScript enabled for one site but not others:
- Visit the website where you want to enable JavaScript
- Click the lock icon (🔒) or info icon (ℹ️) in the address bar
- Click Site settings
- Find JavaScript in the list and change it from "Block" to "Allow"
- Reload the page
Enable JavaScript in Chrome on Android
Chrome on Android has the same JavaScript setting, accessed slightly differently:
- Open Chrome on your Android phone or tablet.
- Tap the three-dot menu (⋮) in the top-right corner.
- Tap Settings.
- Scroll down and tap Site settings (under Advanced).
- Tap JavaScript.
- Toggle JavaScript on (the toggle should turn blue).
- Go back and refresh the website you were trying to use.
Note: In newer versions of Chrome for Android, the path may be: Settings → Privacy and Security → Site Settings → JavaScript.
Enable JavaScript in Chrome on iPhone (iOS)
Chrome on iPhone uses iOS's WebKit engine. JavaScript is always enabled in Chrome for iOS and cannot be disabled through Chrome settings — it's controlled at the OS level and is on by default.
If a site isn't working in Chrome on iPhone:
- Check if a content blocker app is installed and blocking scripts
- Try in Safari — open Settings → Safari → Advanced → JavaScript (ensure it's enabled)
- The issue is likely the website itself, not JavaScript settings
How to Enable JavaScript for Just One Site (All Platforms)
Chrome lets you block JavaScript globally but allow it for specific trusted sites, or vice versa:
- Go to
chrome://settings/content/javascript - Under "Allowed to use JavaScript", click Add
- Enter the site URL:
https://codercrafter.inor[*.]example.comfor all subdomains - Click Add
Similarly, you can block JavaScript for specific sites (e.g., ad-heavy news sites) while keeping it enabled everywhere else.
Troubleshooting: JavaScript Still Not Working
Check Extensions
Ad blockers, privacy extensions (uBlock Origin, Privacy Badger), and security tools can block JavaScript per-site or globally. To test:
- Open Chrome in Incognito mode (Ctrl+Shift+N / Cmd+Shift+N) — extensions are disabled by default
- If the site works in Incognito, an extension is blocking it
- Identify which extension by disabling them one at a time (go to
chrome://extensions/)
Clear Browser Cache
Cached page resources can conflict with newly enabled JavaScript:
- Press Ctrl+Shift+Del (Windows/Linux) or Cmd+Shift+Del (Mac)
- Select "Cached images and files" and "Cookies"
- Click "Clear data" and reload the page
Site-Specific Exceptions Overriding Global Setting
If you've previously blocked JavaScript for a specific site, the exception overrides the global setting. Check:
- Go to
chrome://settings/content/javascript - Look under "Not allowed to use JavaScript"
- Find the site and click the trash icon to remove the exception
Managed by Your Organisation
If Chrome shows "Managed by your organisation" in Settings, an IT policy may be blocking JavaScript on certain domains. Contact your IT administrator or use a personal Chrome profile.
Should You Enable JavaScript for All Sites?
Yes, in almost all cases. Modern browsers have strong sandboxing — JavaScript runs in a restricted environment and cannot access your files or system. The security risks of enabling JavaScript are far smaller than the functionality you lose by blocking it.
If you're security-conscious, use uBlock Origin (which blocks malicious scripts while allowing legitimate ones) rather than blanket-disabling JavaScript.
Conclusion
Enabling JavaScript in Chrome takes under 30 seconds: open Settings → Privacy and security → Site Settings → JavaScript → toggle on. On Android, follow the same path in the Chrome mobile app. If JavaScript is enabled but sites still don't work, check for blocking extensions, clear the cache, and look for site-specific exceptions. JavaScript is safe to enable for all sites in modern Chrome — the browser's security architecture protects you without needing to disable it.









