Easily turn on JavaScript for your computer browser with this simple guide


This wikiHow teaches you how to turn on your computer browser's JavaScript, which allows your browser to load and view certain elements--such as videos or animations--on some web pages. You can enable JavaScript using Chrome on desktop and Android, Safari on Mac and iPhone, Firefox on desktop, as well as Microsoft Edge and Internet Explorer on Windows. Doing so will resolve errors and pop-ups regarding JavaScript.

Method 1
Method 1 of 5:

Chrome

Android

  1. 1
    Open Chrome. It's a red, green, yellow, and blue spherical icon.
  2. 2
    Tap . This icon is in the top-right corner of the screen.
    Advertisement
  3. 3
    Tap Settings. It's near the bottom of the drop-down menu.
  4. 4
    Scroll down and tap Site settings. It's about halfway down the page.
  5. 5
    Tap JavaScript. This option is near the middle of the Site Settings page.
  6. 6

    Note: If the JavaScript switch is blue or green, JavaScript is already enabled.

  7. Advertisement

Desktop

  1. 1
    Open Google Chrome. This browser resembles a red, green, yellow, and blue sphere icon.
  2. 2
    Click . It's in the top-right corner of the browser's window.
  3. 3
    Click Settings. This option is near the bottom of the drop-down menu.
  4. 4
  5. 5
    Scroll down and click Content settings. This option is toward the bottom of the "Privacy & Security" group of options.
  6. 6
    Click <> JavaScript. It's near the middle of the page.
  7. 7
    Turn on JavaScript. Click the switch next to Allowed (recommended) to the "ON" position so it turns blue.

    Note: If this switch is already blue, JavaScript is already enabled in your Chrome browser.

  8. 8
    Make sure you aren't blocking JavaScript. Any sites beneath the "Block" heading on this page won't be allowed to use JavaScript. To remove sites from the block list:
    • Click to the right of the site's name.
    • Click Remove in the drop-down menu.
  9. Advertisement
Method 2
Method 2 of 5:

Safari

iPhone

  1. 1
  2. 2
    Scroll down and tap Safari. This option is roughly halfway down the Settings page. There's a blue Safari icon on the left side of this option.
  3. 3
    Scroll all the way down and tap Advanced. It's at the bottom of the screen.
  4. 4

    Tip: You may need to close and re-open Safari in order for JavaScript to start working.

  5. Advertisement

Mac

  1. 1
    Open Safari. It's a blue, compass-shaped app in the Dock.
  2. 2
    Click Safari. This menu item is in the top-left corner of your Mac's screen.
  3. 3
    Click Preferences. It's near the top of the Safari drop-down menu.
  4. 4
    Click the Security tab. This option is in the middle of the Settings window.
  5. 5
    Check the "Enable JavaScript" box. It's next to the "Web content:" heading. Doing so enables JavaScript in Safari, though you'll most likely need to refresh your browser before affected pages will work.

    Note: If there's a checkmark in this box, JavaScript is already enabled in Safari.

  6. Advertisement
Method 3
Method 3 of 5:

Firefox

  1. 1
    Open Firefox. It's a blue globe with an orange fox on it. By default, Firefox enables JavaScript and prevents you from changing this setting, but some applications interfere with the JavaScript implementation.
  2. 2
    Click . This option is in the top-right side of the Firefox window.
  3. 3
    Click Add-ons. It's a puzzle piece-shaped icon in the drop-down menu.
  4. 4
    Look for a JavaScript-blocking extension. Some of the more popular JavaScript-blocking extensions include "No-Script", "QuickJava", and "SettingSanity".
  5. 5
    Disable any JavaScript-blocking extensions. Click the problem extension and then click Disable or Remove when prompted.

    Note: You'll have to restart Firefox for your changes to take place.

  6. 6
    Enable JavaScript through the advanced user settings. If disabling the JavaScript-blocking extensions didn't fix your problem, you may need to enable JavaScript from within Firefox's hidden settings:
    • Enter about:config into the Firefox URL bar.
    • Click I accept the risk!.
    • Type javascript.enabled into the search bar below the URL bar.
    • Make sure the "Value" section of the javascript.enabled item says "False".
      • If it says "true", JavaScript is enabled. Delete and reinstall Firefox.
    • Double-click javascript.enabled.
    • Restart Firefox.
  7. 7
    Reinstall Firefox. If all else fails, uninstall and reinstall Firefox to restore all of the default settings. Because JavaScript is a foundation of the Firefox browser, reinstalling should restore its functionality.[1]
  8. Advertisement
Method 4
Method 4 of 5:

Microsoft Edge

  1. 1
  2. 2
    Type edit group policy into Start. This will search your computer for the Edit Group Policy program.
  3. 3
    Click Edit Group Policy. It should be at the top of the Start window.
  4. 4
    Navigate to the "Microsoft Edge" folder. To do so:
    • Double-click User Configuration.
    • Double-click Administrative Templates.
    • Double-click Windows Components.
    • Double-click Microsoft Edge.
  5. 5
    Double-click Allows you to run scripts, like JavaScript. Doing so opens a window with JavaScript options.
  6. 6
    Click Enabled. This will enable JavaScript in your browser.

    Note: If Enabled already has a check next to it, JavaScript is enabled in Edge.

  7. 7
    Click OK. It's at the bottom of the window. Doing so will save your settings and apply JavaScript to Edge, though you may need to restart the Edge browser before these changes show up.
  8. Advertisement
Method 5
Method 5 of 5:

Internet Explorer

  1. 1
    Open Internet Explorer. It resembles a blue "e" with a yellow band around it.
  2. 2
    Click Settings ⚙️. This option is in the top-right corner of the Internet Explorer window.
  3. 3
    Click Internet options. It's near the bottom of the drop-down menu.
  4. 4
    Click the Security tab. This is near the top of the Internet Options window.
  5. 5
    Click the Internet globe. It's in the window near the top of Internet Options.
  6. 6
    Click Custom level. This option is in the "Security level for this zone" section near the bottom of the Internet Options window.
  7. 7
    Scroll down to the "Scripting" section. It's near the bottom of the Settings window.
  8. 8
    Check the "Enable" box below the "Active scripting" heading. This will turn on JavaScript for your browser.
  9. 9
    Click OK. It's at the bottom of the window.
  10. 10
    Click Apply, then click OK. Doing so saves your settings, though you may need to close and re-open Internet Explorer for JavaScript to load properly.
  11. Advertisement

Community Q&A

  • Question
    How do I enable Javascript on my Android phone?
    Community Answer
    Community Answer
    This is not currently possible.
Advertisement

Warnings

  • If your browser is out-of-date, you may have to update it first before you can enable JavaScript.
    ⧼thumbs_response⧽
Advertisement

About This Article

Jack Lloyd
Written by:
wikiHow Technology Writer
This article was co-authored by wikiHow staff writer, Jack Lloyd. Jack Lloyd is a Technology Writer and Editor for wikiHow. He has over two years of experience writing and editing technology-related articles. He is technology enthusiast and an English teacher. This article has been viewed 390,253 times.
How helpful is this?
Co-authors: 32
Updated: December 28, 2022
Views: 390,253
Categories: JavaScript
Advertisement