How to Disable JavaScript on an Android Phone or Tablet
JavaScript is enabled by default in Chrome for Android and in Samsung Internet on Galaxy devices, because most of the modern web needs it to run. There are still good reasons to turn it off on a phone or tablet: privacy (most fingerprinting and ad-tracking runs on JavaScript), battery and mobile data (ad scripts and autoplay video drain both fast on a metered plan), testing (web developers verifying a site still works without JS), security (most browser-delivered malware needs JavaScript to execute), and accessibility (TalkBack often handles static HTML more predictably than heavily scripted single-page apps).
This guide covers Chrome for Android (the default browser on most Android phones and tablets) and Samsung Internet (the default on Galaxy devices, and the second most-used Android browser worldwide), plus quick notes for Firefox, Brave, and Opera on Android. All instructions reflect Android 14 and 15 in 2026.
Disable JavaScript in Chrome for Android
- Open the Chrome app on your Android phone or tablet.
- Tap the three-dot menu in the top-right corner of the screen.
- Tap Settings near the bottom of the menu.
- Scroll down and tap Site settings.
- Tap JavaScript.
- Toggle the switch to off. The label will change from "Sites can use JavaScript" to Sites can't use JavaScript.
- Reload any tabs you already had open so the change takes effect.
Fast shortcut: type chrome://settings/content/javascript directly into the Chrome address bar and press enter. The same Site settings page opens, just with one less tap. This URL works on both Android phone and Android tablet builds of Chrome and is the quickest way to flip the toggle if you do it often.
On older Chrome versions you may see the toggle labeled Allowed / Blocked instead of "Sites can use JavaScript" / "Sites can't use JavaScript". The behavior is identical - blocked means JavaScript is off site-wide.
Allow JavaScript on specific sites only (per-site exception)
If you want to keep JavaScript off in general but let it run for a handful of sites you trust - your bank, your webmail, your work tools - use Chrome's per-site exception list:
- From the same JavaScript page in Site settings, scroll to the Allowed sites section.
- Tap Add site exception.
- Enter the site URL (for example,
https://mail.example.com) and tap Add.
That domain will run JavaScript even when the global toggle is off. You can build up a short allow-list of trusted sites and leave everything else blocked - the practical middle ground that gives you the privacy and battery benefits without breaking the few services you actually need. Removing an exception works the same way: tap the entry and choose Remove.
You can also block JavaScript on individual sites while leaving the global toggle on. From the same JavaScript settings page, scroll to Blocked sites and tap Add site exception. Enter the domain you want to silence (a news site notorious for heavy ad scripts, for example), and JavaScript will be off for that one host.
Disable JavaScript in Samsung Internet (Galaxy phones)
Samsung Internet ships pre-installed on Galaxy devices and is the second most-used Android browser worldwide, particularly dominant in South Korea, Southeast Asia, and parts of Europe where Galaxy is the default Android brand. Its JavaScript toggle is in a slightly different place than Chrome's:
- Open Samsung Internet.
- Tap the menu icon (three horizontal lines) in the bottom-right corner.
- Tap Settings.
- Tap Sites and downloads.
- Tap Site permissions.
- Tap JavaScript and toggle Allow JavaScript off.
Samsung Internet remembers this setting separately from Chrome - turning JavaScript off in Chrome does not affect Samsung Internet, and vice versa. If you use both browsers on the same Galaxy device, you need to repeat the step in each.
Other Android browsers
- Firefox for Android. Firefox does not expose a regular UI toggle for JavaScript - the assumption is that everyone wants it on. To disable it, open
about:configin the address bar, search forjavascript.enabled, and set the value tofalse. The flag controls JavaScript site-wide. Firefox also lets you install full extensions on Android (uBlock Origin, NoScript), which is the most flexible per-site control on any Android browser today. - Brave on Android. Open Brave, tap the three-dot menu, then Settings - Site settings - JavaScript and toggle off. Brave also exposes per-site "Shields" in the address bar that can block scripts on individual domains while keeping JavaScript globally on.
- Opera and Opera GX on Android. Same Chromium-style flow as Chrome: Settings - Site settings - JavaScript - toggle off.
- DuckDuckGo browser. Does not expose a JavaScript toggle. The browser is built around App Tracking Protection and a tracker blocker, but JavaScript itself runs whenever a site needs it.
Verify JavaScript is actually disabled
Visit any heavily-scripted site you know - a webmail inbox, a streaming service, a social feed, a maps page - and try to interact with it. If the page renders only static content, refuses to log in, or shows a "please enable JavaScript" message, the toggle is off. The home page of enablejavascript.io tells you directly whether JavaScript is running on the device you are currently using - the cleanest way to confirm without triggering ads or trackers on a third-party page.
Why people disable JavaScript on Android
Mobile is where the trade-offs really tip in favor of disabling JavaScript. Five common reasons:
- Battery life and mobile data. This is the headline reason on Android. JavaScript-driven ads, autoplay video, social embeds, and analytics beacons fire constantly while you scroll. Disabling JavaScript can extend battery life on a long bus ride, a flight, or an international trip, and cut data consumption per page from megabytes to kilobytes on a capped or expensive cellular plan. Travelers in particular often disable JavaScript before hitting roaming charges.
- Privacy and anti-fingerprinting. Most cross-site tracking, canvas fingerprinting, audio fingerprinting, and behavioral profiling rely on JavaScript reading device details: screen size, installed fonts, GPU info, sensor APIs, and dozens of other passive signals. Turning JavaScript off blocks a large share of that passive data collection. It pairs well with App Tracking Transparency on Android (limit ad ID) for a stronger privacy posture.
- Security. The vast majority of browser-delivered malware, drive-by cryptominers, credential phishers, and exploit kits need JavaScript to execute. Disabling JavaScript shrinks the attack surface considerably and eliminates an entire class of common attacks - especially relevant if you tap links from unknown senders in SMS or messaging apps.
- Web development and mobile QA. Mobile developers and QA engineers regularly turn JavaScript off to verify that a site still serves usable content: that critical text is server-rendered, that primary navigation works, that forms still submit, and that nothing important is gated behind a script that may fail on a 3G connection or in a webview that disables JS for security reasons.
- Accessibility. TalkBack and other Android assistive technologies sometimes work more predictably on static HTML than on heavily scripted single-page applications, where focus management is uneven and screen-reader updates can be missed when content swaps in dynamically.
Heads-up: large parts of the modern web will not work
With JavaScript off, expect static content (news articles, blog posts, documentation, government and reference sites, well-built corporate pages) to load fine. Anything interactive will typically break: login forms beyond a basic POST, video players, infinite scroll, in-app messaging, mobile banking dashboards, and the embedded webviews used by ride-share, food delivery, and travel apps. The per-site allow-list in Chrome is the practical compromise - keep JavaScript off globally for the privacy and battery wins, but allow it on the handful of services you genuinely need.
Troubleshooting
- Toggle is greyed out. If the JavaScript switch in Chrome won't move, you are probably on a managed work profile (Android Enterprise) where an MDM admin has locked browser settings. Check Settings - Accounts to see if a work profile is active, then ask your IT admin to relax the policy.
- The change doesn't take effect on a tab that was already open. Chrome caches loaded pages. Pull down to refresh, or close and reopen the tab.
- Some sites still feel like they're tracking me. Server-side tracking from your IP address and request headers continues even with JavaScript off. Pair the toggle with a trusted VPN or with App Tracking Transparency settings for stronger network-level privacy.
- I want to disable JavaScript only on a few sites, not globally. Use the Blocked sites per-site exception list in Chrome's JavaScript settings, or install Firefox for Android with the uBlock Origin extension for the most flexible domain-by-domain control on Android today.
Re-enable JavaScript later
Same path in reverse. In Chrome: three-dot menu - Settings - Site settings - JavaScript - toggle to Sites can use JavaScript. Or jump straight to chrome://settings/content/javascript in the address bar. In Samsung Internet: menu - Settings - Sites and downloads - Site permissions - JavaScript - Allow JavaScript on. In Firefox: about:config - javascript.enabled - set to true. The change takes effect the next time you load a page, so reload any open tabs. Each Android browser remembers its JavaScript setting independently, so re-enable it in every browser you actively use.