Enable JavaScript in Edge

Updated at: Mar 28, 2022

This guide will step you through the process of enabling Javascript in Microsoft's Edge browser.

  1. Click the "Settings and more" button

    In the top right hand corner of your Edge browser's window, you will see a small button with 3 dots in it. This is the "Settings and more" button

    The location of the Edge Settings and More button

    Click it. It will reveal a menu with more options. One of them will be named "Settings".

  2. Select the "Settings" menu item

    At the bottom of the large menu which just appeared, the bottom item will be called Settings. Click on it.

    The Settings item in the menu

    The Settings menu will now appear.

  3. Search for "Javascript"

    In the search field in the top right of the settings page that has now appeared, type "Javascript"

    The search field with Javascript typed in.

    This will hide all other settings and only show you settings relating to Javascript.

  4. Find the "JavaScript" section

    Because you searched for "Javascript", Edge will now highlight the settings which relate to JavaScript. Click into the JavaScript section which will be highlighted by yellow.

    Click the JavaScript section.

  5. Choose your preferred JavaScript settings

    You can now change your JavaScript settings to what you want.

    Screenshot of the Javascript settings

    The main Javascript enabled/disabled setting is controlled by the slider control at the top - slight it to the right (it turns dark blue) to enable Javascript running on all websites you visit. Slide it to the left (it turns grey) to disable Javascript on all websites you visit.

    This "all or nothing" setting for Javascript may not be fine-grained enough for your liking, as such, Edge lets you mark websites to specifically allow or disable Javascript on. You may decide to disable Javascript on all websites, but then only allow it for specific websites that you trust (or vice-versa).

    Use the Add buttons for the Block and Allow sections to control exactly what websites will run Javascript for you.

  6. Close the settings tab

    Once you've chosen your desired JavaScript setting, the setting takes effect immediately. You can simply close the Advanced Settings menu and resume browsing.

    The Close button for the settings tab

    Congratulations, you just configured JavaScript in Edge. Click to check if JavaScript is enabled.

    You may also want to take a moment to clear your cookies and history in Edge.


Javascript in Edge Legacy

The old version of Edge (now known as "Edge Legacy") didn't have any controls to enable or disable Javascript. If you're trying to change your Javascript settings in Edge and you don't see an interface that looks like what's shown in the steps above then you're probably running an out of date version of Edge. You should follow the guide to update from Edge Legacy to the new Edge.

More guides and help for Edge

Need more help with Edge? Read our other Edge guides.

Frequently asked questions about enabling Javascript