Cookies

We use cookies and local storage to improve the site.

How-To Guide

Enable JavaScript in Chrome, Safari, and Firefox (Run the Browser Test)

JavaScript is disabled or blocked in the browser

Updated: December 14, 2025By Dana BrooksReviewed: January 4, 2026 by Avery Collins
Browser diagnostics showing JavaScript enabled and tests running

Features That Require This

  • Login flows and single sign-on
  • Shopping carts and checkout pages
  • Web apps like Gmail, Slack, and Notion
  • Interactive maps and dashboards
  • CAPTCHAs and bot checks
  • Forms that validate as you type

Confirm JavaScript is running

Open the Full Browser Test. If the cards stay empty, buttons do nothing, or the results never populate, JavaScript is blocked. For a second signal, run the JavaScript Speed Test. You should see a benchmark progress indicator and a score at the end.

Common symptoms when JavaScript is blocked:

  • A site says "enable JavaScript to continue"
  • Buttons do nothing when you click
  • Infinite spinners after login
  • Checkout pages that never advance to the next step
  • CAPTCHA loops even after solving

Keep the test tab open and re-check it after each fix.

Fix 1: Allow JavaScript for the site (fastest fix)

Start with site-level permission. This avoids changing global settings.

  • Chrome / Edge:

    • Open the site that is failing.
    • Click the lock icon in the address bar.
    • Open Site settings and set JavaScript to Allow.
    • Reload the page, then rerun the Full Browser Test.
  • Safari (macOS):

    • Safari does not expose per-site JavaScript in the same way. Use the global toggle in the next fix.
  • Firefox:

    • Firefox does not have a normal per-site JavaScript toggle. Use the about:config fix below.

If JavaScript was blocked for that domain, this is usually enough.

Fix 2: Turn JavaScript back on globally

If JavaScript is disabled at the browser level, every site breaks.

Chrome:

  1. Open chrome://settings/content/javascript
  2. Set Sites can use JavaScript to On
  3. Reload the problem site and rerun the Full Browser Test

Edge:

  1. Open edge://settings/content/javascript
  2. Set Allowed (recommended) to On
  3. Reload and retest

Safari (macOS):

  1. Open Safari > Settings > Security
  2. Check Enable JavaScript
  3. Quit Safari and reopen it

Safari (iPhone/iPad):

  1. Open the Settings app
  2. Go to Safari > Advanced
  3. Turn JavaScript On

Fix 3: Undo script blocking from extensions

Script blockers can make a site look "broken" even though JavaScript is enabled.

  • Disable extensions like NoScript, strict filter modes in uBlock Origin, or privacy tools that block scripts by default.
  • Test in Incognito/InPrivate where extensions are off. If the site works there, re-enable extensions one by one to find the blocker.
  • If you need the extension for other sites, add an allowlist rule for the domain instead of leaving it disabled.

After changes, reload the page and rerun the Full Browser Test.

Fix 4: Check tracking protection and content blockers

Some privacy modes block scripts or critical third-party domains used for sign-in and payments.

  • Firefox: Settings > Privacy & Security and set Enhanced Tracking Protection to Standard for testing. Reload the site and try again.
  • Safari: turn off Content Blockers for the site (address bar aA menu), then reload.
  • Brave: lower Shields for the site or temporarily allow scripts for testing.

If you are troubleshooting a bank or enterprise login, keep changes site-scoped. Avoid changing global privacy settings unless you need to.

Fix 5: Test for network or DNS-based blocking

If JavaScript files are blocked at the network level, the browser cannot run the app.

  • Try the site on a different network (mobile hotspot is a fast check).
  • If it works on the hotspot, your home router, DNS filter, or office proxy is likely blocking a required script domain.
  • On managed networks, ask IT to allow the site’s static asset domains (CDNs) rather than bypassing security controls.

Fix 6: Check for managed device policies

Work and school devices can enforce settings that block scripts.

  • Chrome: open chrome://policy
  • Edge: open edge://policy

If you see policies that mention JavaScript or content settings, only the administrator can change them. Copy the failing behavior from the Full Browser Test so IT can reproduce it.

Verify the fix

Return to the Full Browser Test and confirm results populate normally. Then retry the action that failed on the original site (log in, submit a form, complete checkout). If the site still breaks in one browser only, test in another browser profile to rule out a corrupted profile or extension set.

FAQ

Is it safe to enable JavaScript?
Yes. Most of the web requires it. Keep script blockers for sites you don’t trust, but allow JavaScript on sites you use for work, banking, and shopping.
Why does the site work on my phone but not my laptop?
Phones rarely run aggressive script blockers by default. Laptops often have extensions, DNS filters, or enterprise policies that can block scripts.
Can I allow JavaScript for one site only?
Chrome and Edge support per-site JavaScript permissions via Site settings. Safari and Firefox are more global; use content blockers or extension allowlists to scope changes.

Sources

Links go to official browser docs or primary references when available.

Test Your Browser Capabilities

Run a quick test to see which modern web features your browser supports.

Run Capability Test