To enable JS on Chrome desktop, go to Settings, Privacy and security, Site settings, JavaScript, and choose Sites can use JavaScript. Android and iOS differ.
Most Chrome installs already have JavaScript running in the background — the browser ships with it enabled by default. But if you’re here looking for how to enable JS on Chrome, the settings path is straightforward and takes about thirty seconds. JavaScript powers forms, maps, video players, and nearly every interactive element on the modern web. When it is off, many pages turn into static text blocks or show an error asking you to flip the switch. This guide walks through every device type, covers what to do when the setting is missing, and explains the one platform where there is nothing to toggle.
Enabling JavaScript On Chrome Desktop: The Settings Path
On desktop Chrome — Windows, macOS, Linux, and ChromeOS — JavaScript lives under the same menu path. Open Chrome, click the three-dot More menu in the top-right corner, and select Settings. From there, click Privacy and security on the left sidebar, then Site settings, then JavaScript. On the JavaScript page, choose Sites can use JavaScript as the default behavior.
If you prefer a direct route, type chrome://settings/content/javascript into the address bar and press Enter — that jumps straight to the JavaScript settings page on any desktop version of Chrome. The same screen also lets you add specific sites that should always be allowed or always blocked, which is useful when one site misbehaves while others work fine.
How To Enable JS On Chrome For Android
On Android phones and tablets, the path is similar but trimmed for mobile. Open Chrome, tap the three-dot More menu, and choose Settings. Under the Advanced section, tap Site settings, then JavaScript. Flip the toggle so it turns on — the blue or enabled position.
Android Chrome ships with JavaScript enabled by default, so most users never need to visit this screen. If you are troubleshooting, it is worth confirming the toggle did not get switched off — a factory reset or a battery-optimization app can occasionally reset Chrome’s permissions. The per-site blocking controls are also available from this same settings page.
Does iPhone Chrome Need JavaScript Enabled?
JavaScript is turned on by default in Chrome for iPhone and iPad, and there is no user-facing toggle to change it. Chrome on iOS uses the system WebKit engine, which handles JavaScript automatically — Google’s own documentation confirms this is by design. If you encounter script errors in Chrome on an iPhone, the problem is almost never JavaScript being off. Check that both Chrome and iOS are updated to the latest version, or clear the site data for the problematic page.
| Platform | Where To Find The Setting | Default State |
|---|---|---|
| Windows Chrome | More → Settings → Privacy and security → Site settings → JavaScript | On |
| Mac Chrome | Same path as Windows | On |
| Linux Chrome | Same path as Windows | On |
| ChromeOS | Same path as desktop Chrome | On |
| Android Chrome | More → Settings → Site settings → JavaScript toggle | On |
| iPhone / iPad Chrome | No setting available | On (forced by iOS WebKit) |
| Enterprise / Managed devices | May be locked by admin policy | Depends on organization |
What To Do When JavaScript Is On But A Site Still Won’t Load
When JavaScript is already enabled and a site still breaks, the problem is usually one of three things: a site-specific block, a cached version of a broken script, or an enterprise policy overriding the setting. Start by checking the per-site exceptions on the JavaScript settings screen — if the problematic site is on the blocked list, remove it. Google’s official JavaScript troubleshooting documentation recommends clearing cache next. Open the Chrome menu, go to History → Clear browsing data, choose Advanced, and clear Cached images and files plus Site data. Reload the page.
If that does not fix it, check whether Chrome is managed by an organization — look for “Managed by your organization” at the bottom of the Settings page. When that banner appears, your IT team controls the JavaScript policy. Google Search itself may prompt you to enable JavaScript if it detects the setting is off; that prompt is a reliable indicator that something changed at the browser level rather than a site-specific issue.
How Developers Can Temporarily Disable JavaScript In Chrome
For debugging purposes, Chrome DevTools can disable JavaScript for just the current tab while the DevTools panel stays open. Open DevTools with F12 or right-click and select Inspect. Press Ctrl+Shift+P (Windows/Linux) or Cmd+Shift+P (Mac) to open the Command Menu, type “Disable JavaScript,” and select the option. The setting resets when DevTools closes. Re-enable by opening the Command Menu again and choosing “Enable JavaScript.”
| Problem | Most Likely Cause | Fix That Works First |
|---|---|---|
| “Please enable JavaScript” on one site | Site is on your blocked list | Check per-site exceptions in JavaScript settings |
| Settings path looks different than expected | Using an older guide or version | Use More → Settings → Privacy and security → Site settings → JavaScript |
| Toggle is missing or grayed out | Enterprise policy or wrong platform | Look for “Managed by your organization”; on iOS there is no toggle |
| JavaScript was working and stopped | Extension conflict or cache buildup | Clear cache and site data for that page |
| DevTools disabled JS and now a site is broken | DevTools was used recently | Close DevTools or run “Enable JavaScript” in Command Menu |
| Page loads but scripts don’t run | An extension is blocking scripts | Disable extensions one at a time to find the culprit |
| iPhone / iPad site scripts still fail | Not related to a JavaScript toggle | Update Chrome and iOS, then clear site data for the site |
The Checklist For Getting JavaScript Working On Chrome
JavaScript is already active on virtually every Chrome install, so the fix is almost always a check rather than a change. Desktop and Android users can reach the toggle in three taps: Settings → Privacy and security → Site settings → JavaScript. iPhone and iPad users can stop looking — there is no toggle, and JavaScript is always on. When a site still refuses to load scripts, clear the cache, check for per-site blocks, and rule out extensions. That sequence resolves over ninety percent of JavaScript-related Chrome issues without ever needing a second search.
References & Sources
- Google Adsense Help. “Enable JavaScript in your browser.” Official Google documentation covering the current Chrome settings path for all platforms.
