Enable JavaScript in Microsoft Edge

Complete guide to enable JavaScript in Microsoft Edge on desktop, Android, and iOS devices with step-by-step instructions.

Microsoft Edge

Microsoft Edge

Follow these steps to enable JavaScript in Microsoft Edge on your computer, Android phone, or tablet.

Laptop / Computer

  1. Click the menu button (⋯) and select Settings.
    Step 1 screenshot for Edge (desktop)Screenshot1
  2. Go to Cookies and site permissionsJavaScript.
    Step 2 screenshot for Edge (desktop)Screenshot2
  3. Toggle Allowed (recommended) to enable JavaScript.
    Step 3 screenshot for Edge (desktop)Screenshot3
  4. Reload the page.
    Step 4 screenshot for Edge (desktop)Screenshot4

Mobile

  1. Tap the menu (⋯) and go to Settings.
    Step 1 screenshot for Edge (mobile)Screenshot1
  2. Select Site permissionsJavaScript.
    Step 2 screenshot for Edge (mobile)Screenshot2
  3. Toggle to allow JavaScript.
    Step 3 screenshot for Edge (mobile)Screenshot3
  4. Reload the page.
    Step 4 screenshot for Edge (mobile)Screenshot4

Tablet

  1. Tap the menu (⋯) and go to Settings.
    Step 1 screenshot for Edge (tablet)Screenshot1
  2. Select Site permissionsJavaScript.
    Step 2 screenshot for Edge (tablet)Screenshot2
  3. Toggle to allow JavaScript.
    Step 3 screenshot for Edge (tablet)Screenshot3
  4. Reload the page.
    Step 4 screenshot for Edge (tablet)Screenshot4

Frequently Asked Questions

How do I enable JavaScript in Microsoft Edge?

To enable JavaScript in Edge:
  1. Click the three-dot menu in the top-right corner
  2. Select 'Settings'
  3. Click 'Cookies and site permissions' in the left sidebar
  4. Click 'JavaScript'
  5. Toggle 'Allowed (recommended)' to ON

You can also add specific sites to the allow or block list from this page.

How do I manage JavaScript for specific sites in Edge?

In Edge, visit the website, click the lock icon in the address bar, click 'Permissions for this site', find 'JavaScript' and change it to 'Allow' or 'Block'.
Alternative method:
Go to Settings > Cookies and site permissions > JavaScript, and add sites to the 'Allow' or 'Block' lists.

JavaScript is enabled in Edge but websites aren't working properly. What can I do?

Try these solutions:
  1. Clear browsing data (cache and cookies)
  2. Disable extensions that might interfere
  3. Check if the site is in the 'Block' list under JavaScript settings
  4. Reset Edge settings
  5. Update Edge to the latest version

Test in InPrivate mode to check if extensions are causing issues.

Tips & Best Practices

Site-Specific Permissions

Edge allows you to control JavaScript on a per-site basis. Click the lock icon in the address bar to manage permissions for individual websites.

Enhanced Security Mode

Edge's Enhanced Security Mode may block some scripts for better security. You can adjust these settings in Privacy, search, and services.

Keep Edge Updated

Always use the latest version of Microsoft Edge for the best security, performance, and JavaScript compatibility. Edge updates automatically by default.

Use Developer Tools

Press F12 to open Developer Tools and check the Console tab for JavaScript errors. This helps troubleshoot issues with specific websites.

Read Also

External Resources

About Microsoft Edge

Learn about Microsoft Edge browser, its evolution from Internet Explorer, and modern features.

Read on Wikipedia

About JavaScript

Discover the history, features, and importance of JavaScript programming language.

Read on Wikipedia