PDF download Download Article
Easily turn on JavaScript for your computer browser with this simple guide
PDF download Download Article

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.

How to Enable JavaScript

  • In Chrome, go into the Settings menu and select Site Settings. Tap JavaScript to unblock it.
  • In Safari, select the Advanced Settings option and go to the Security tab. Click “Enable JavaScript.”
  • In Firefox, enable JavaScript by opening the settings, clicking Add-ons, disabling any JavaScript blocking extensions.
Method 1
Method 1 of 5:

Chrome

PDF download Download Article

Android

  1. It's a red, green, yellow, and blue spherical icon.
  2. This icon is in the top-right corner of the screen.
    Advertisement
  3. It's near the bottom of the drop-down menu.
  4. It's about halfway down the page.
  5. This option is near the middle of the Site Settings page.
  6. Note: If the JavaScript switch is blue or green, JavaScript is already enabled.

  7. Advertisement

Desktop

  1. This browser resembles a red, green, yellow, and blue sphere icon.
  2. It's in the top-right corner of the browser's window.
  3. This option is near the bottom of the drop-down menu.
  4. This option is toward the bottom of the "Privacy & Security" group of options.
  5. It's near the middle of the page.
  6. 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.

  7. 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.
  8. Advertisement
Method 2
Method 2 of 5:

Safari

PDF download Download Article

iPhone

  1. This option is roughly halfway down the Settings page. There's a blue Safari icon on the left side of this option.
  2. It's at the bottom of the screen.
  3. Tip: You may need to close and re-open Safari in order for JavaScript to start working.

  4. Advertisement

Mac

  1. It's a blue, compass-shaped app in the Dock.
  2. This menu item is in the top-left corner of your Mac's screen.
  3. It's near the top of the Safari drop-down menu.
  4. This option is in the middle of the Settings window.
  5. 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

PDF download Download Article
  1. 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. This option is in the top-right side of the Firefox window.
  3. It's a puzzle piece-shaped icon in the drop-down menu.
  4. Some of the more popular JavaScript-blocking extensions include "No-Script", "QuickJava", and "SettingSanity".
  5. 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. 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. 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

PDF download Download Article
  1. This will search your computer for the Edit Group Policy program.
  2. It should be at the top of the Start window.
  3. To do so:
    • Double-click User Configuration.
    • Double-click Administrative Templates.
    • Double-click Windows Components.
    • Double-click Microsoft Edge.
  4. Doing so opens a window with JavaScript options.
  5. This will enable JavaScript in your browser.

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

  6. 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.
  7. Advertisement
Method 5
Method 5 of 5:

Internet Explorer

PDF download Download Article
  1. It resembles a blue "e" with a yellow band around it.
  2. This option is in the top-right corner of the Internet Explorer window.
  3. It's near the bottom of the drop-down menu.
  4. This is near the top of the Internet Options window.
  5. It's in the window near the top of Internet Options.
  6. This option is in the "Security level for this zone" section near the bottom of the Internet Options window.
  7. It's near the bottom of the Settings window.
  8. This will turn on JavaScript for your browser.
  9. It's at the bottom of the window.
  10. 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

Search
Add New Question
  • Question
    How do I enable Javascript on my Android phone?
    Community Answer
    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

Video

Tips

Submit a Tip
All tip submissions are carefully reviewed before being published
Name
Please provide your name and last initial
Thanks for submitting a tip for review!
Advertisement

Warnings

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 482,131 times.
How helpful is this?
Co-authors: 35
Updated: July 15, 2024
Views: 482,131
Categories: JavaScript
Thanks to all authors for creating a page that has been read 482,131 times.

Is this article up to date?

Advertisement