Next-Gen App & Browser Testing Cloud
Trusted by 2 Mn+ QAs & Devs to accelerate their release cycles

JavaScript is enabled by default in every modern browser, so most of the time there is nothing to turn on. If a page warns that JavaScript is disabled, it was switched off earlier, by a corporate policy, or by a privacy extension. To turn it back on, open your browser's settings, find the JavaScript permission, and set it to allowed. The exact path differs per browser: Chrome and Edge keep it under Site settings, Firefox hides it in about:config, Safari on macOS puts it under Security, iOS exposes it under Settings, and Android Chrome under Site settings.
JavaScript powers almost every interactive feature on the web, from forms and menus to single-page apps and dashboards. Because of that, browser vendors keep it on by default. You typically only need to enable it manually in a few situations:
Chrome stores the JavaScript control under its Site settings, alongside permissions like camera and location.
Shortcut: paste chrome://settings/content/javascript into the address bar and press Enter to jump straight to this page. Reload any open tabs for the change to take effect.
Edge is built on the same Chromium engine as Chrome, so the JavaScript control is similar, but it lives under a different menu name.
Shortcut: paste edge://settings/content/javascript into the address bar to open this page directly.
Firefox does not expose a JavaScript switch in its normal Settings UI because it assumes JavaScript should always be on. The control lives in the advanced configuration page.
In current Firefox builds, javascript.enabled is set to true by default, so you usually only land here if the preference was changed earlier.
On a Mac, Safari keeps the JavaScript checkbox in its preferences. JavaScript is on by default, and newer Safari versions removed the old Develop-menu disable toggle, so the Security tab is the place to confirm it.
For a deeper, Mac-only walkthrough, see How to Enable JavaScript on Mac?
On iOS and iPadOS, JavaScript is a system-wide setting. Because every iOS browser is required to use Apple's WebKit engine, this one toggle controls JavaScript for Safari, Chrome, Edge, and Firefox on the device.
For an iPhone-focused guide covering both Safari and Chrome, see How to Enable JavaScript on iPhone?
On Android, Chrome carries its own per-app Site settings, separate from the system. The path mirrors desktop Chrome but lives inside the mobile menu.
If you would rather skip the menus, these direct addresses open the JavaScript control in one step.
| Browser | Direct path |
|---|---|
| Chrome (desktop) | chrome://settings/content/javascript |
| Edge (desktop) | edge://settings/content/javascript |
| Firefox (desktop) | about:config → javascript.enabled = true |
| Safari (macOS) | Safari > Settings > Security > Enable JavaScript |
| Safari (iOS / iPadOS) | Settings > Apps > Safari > Advanced > JavaScript |
| Chrome (Android) | Settings > Site settings > JavaScript |
You do not always have to turn JavaScript on globally. Chromium browsers let you keep it blocked everywhere and allow it only where you need it.
Turning JavaScript on is the easy part. The harder question for developers and QA teams is whether a site behaves correctly when scripts are enabled across every browser engine, and whether it degrades gracefully when they are not. Chrome and Edge share the Chromium engine, Firefox runs Gecko, and Safari runs WebKit, so the same JavaScript can behave differently on each.
Rather than installing and toggling every browser locally, you can run the same page across Chrome, Edge, Firefox, and Safari on a cloud platform. With TestMu AICross Browser Testing, you can open your page on real browser and OS combinations, confirm JavaScript-driven features render correctly, and verify fallbacks when scripts are blocked, all from one dashboard.
For mobile coverage, you can do the same on physical handsets using a Real Device Cloud, checking how JavaScript behaves in Safari on iPhone and Chrome on Android without managing a device lab.
Yes. Every modern browser, including Chrome, Edge, Firefox, Safari, and Android Chrome, ships with JavaScript enabled by default. You only need to turn it on manually if it was disabled earlier, by a privacy extension, or by a corporate policy.
Paste chrome://settings/content/javascript into Chrome's address bar, or edge://settings/content/javascript into Edge's, and press Enter. Both open the JavaScript permission page directly, where you can set it to Allowed.
Firefox assumes JavaScript should always be on, so it hides the control. To change it, open about:config, search for javascript.enabled, and make sure it is set to true. It is true by default in current Firefox builds.
On iOS and iPadOS, go to Settings, tap Apps, tap Safari, tap Advanced, and turn on the JavaScript toggle. Because every iOS browser uses Apple's WebKit engine, this single system setting controls JavaScript for Safari, Chrome, Edge, and Firefox on the device.
Yes. Chrome and Edge let you keep JavaScript blocked globally while allowing it for specific sites. On the JavaScript settings page, add the site under the Allowed-to-use list. Firefox controls JavaScript globally rather than per site.
Toggle the per-browser setting described above, reload the page, and compare. For thorough coverage, run the same checks across Chrome, Edge, Firefox, and Safari on a cloud cross-browser testing platform so you can confirm graceful degradation on every engine without maintaining each browser locally.
KaneAI - Testing Assistant
World’s first AI-Native E2E testing agent.

TestMu AI forEnterprise
Get access to solutions built on Enterprise
grade security, privacy, & compliance