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 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.
  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.

    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
    Scroll down and click Advanced
    /static/mt8GJ/Image titled Android7dropdown.png?d=3c827f29e&m=mt8GJ
    .
    It's at the bottom of the menu.
  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.
    Advertisement

Method 2 of 5:
Safari

iPhone

  1. 1
    Open your iPhone's Settings
    /static/mt8GJ/Image titled Iphonesettingsappicon.png?d=84f49cf0e&m=mt8GJ
    .
    It's a grey group of gears on the Home Screen.
  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.

    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.

    Advertisement

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.{{greenbox: 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]
    Advertisement

Method 4 of 5:
Microsoft Edge

  1. 1
    Open Start
    /static/mt8GJ/Image titled Windowsstart.png?d=ba8db44a6&m=mt8GJ
    on Windows 10 Pro or higher.
    You can't enable or disable JavaScript in Microsoft Edge in Windows 10 Home or Starter editions.
  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.
    Advertisement

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.
    Advertisement

Every day at wikiHow, we work hard to give you access to instructions and information that will help you live a better life, whether it's keeping you safer, healthier, or improving your well-being. Amid the current public health and economic crises, when the world is shifting dramatically and we are all learning and adapting to changes in daily life, people need wikiHow more than ever. Your support helps wikiHow to create more in-depth illustrated articles and videos and to share our trusted brand of instructional content with millions of people all over the world. Please consider making a contribution to wikiHow today.

Community Q&A

Search
Add New Question
  • Question
    How do I enable Javascript on my Android phone?
    Community Answer
    This is not currently possible.
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit

      Advertisement

      Tips


      Advertisement
      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Thanks for submitting a tip for review!

      Warnings

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

      About This Article

      wikiHow Staff
      Co-authored by
      wikiHow Staff Editor
      This article was co-authored by our trained team of editors and researchers who validated it for accuracy and comprehensiveness. wikiHow's Content Management Team carefully monitors the work from our editorial staff to ensure that each article is backed by trusted research and meets our high quality standards. This article has been viewed 314,097 times.
      How helpful is this?
      Co-authors: 31
      Updated: September 28, 2019
      Views: 314,097
      Categories: JavaScript
      Thanks to all authors for creating a page that has been read 314,097 times.

      Is this article up to date?

      Advertisement