Skip to content

Disable or Enable JavaScript in Edge browser on Android

Do you want to customize the JavaScript settings in the Microsoft Edge? Learn how to enable or disable JavaScript execution for individual websites.

Most modern sites need JavaScript execution to make the website interactive and user-friendly. However, the JS can be used by hackers to inject the code and send illegal requests.

Thankfully, the Edge browser can block JavaScript for sites from the Site Settings tab. Alternatively, you can block JS only a few sites using the URL exceptions list.

In this guide, we have shared the steps to manage the JavaScript executions on sites in the Microsoft Edge app.

Block the JavaScript Execution for Sites

With a single toggle switch, you have the option to disable JavaScript on the websites you are unsure about. Here are the steps to follow:

  1. Launch Microsoft Edge for the Android.
  2. Tap on the More horizontal 3-dots icon menu for options and select the Settings menu.
  3. Select the Privacy and Security and tap on the Site Permissions option.
  4. Choose the JavaScript option from the list.
  5. Toggle to Block the JavaScript for sites.
    Block JavaScript execution in Edge Android

It will block the JavaScript execution within the browser for all the websites.

Please note that most websites are built and run on JavaScript these days. Hence, there are chances that a few websites might not work as intended after blocking JavaScript.

In that case, we have something known as Exceptions. It allows JavaScript to run only on the websites listed in exceptions.

JavaScript Block exception in Edge Android

It is adding the site address to the exception for allowing JavaScript execution. This, however, will still block the JS for the rest of the website.

Enable the JavaScript Execution

If the website is not responding correctly after blocking the JavaScript, you should turn it on for all sites. Here are the steps to follow:

  1. Launch Microsoft Edge for the Android.
  2. Tap on the More horizontal 3-dots icon menu and select the Settings from the options list.
  3. Select the Privacy and Security and tap on the Site Permissions option.
  4. Choose the JavaScript option from the list.
  5. Toggle the switch to Allow the JavaScript settings.
    Allow JS to run on all sites Edge Android

The JavaScript execution is enabled by default. However, you can turn it on or off per your needs.

Bottom Line

You can either enable or block the JavaScript execution. As mentioned, the default setting is enabled, but you should disable or block JS if you think it harms your system.

Similarly, you can enable or block JavaScript execution in Edge on a computer. The options to control JavaScript within the desktop browser are better than the Android.

Lastly, if you've any thoughts or feedback, then feel free to drop in below comment box. You can also report the outdated information.

Please share the article if you find it helpful:

Disclosure: This page may contain affiliate links, which means we may receive compensation for your purchases; of course at no extra cost to you (indeed, you may get special discounts).
Kushal Azza

Kushal Azza

Kushal Azza is a Google Certified IT Professional, Digital Content Creator, and Go-To Digital Marketer with Engineering Degree. He has over a decade of experience solving tech problems, troubleshooting, and innovating digital solutions. Follow him on Twitter and LinkedIn.

Leave a thought or feedback

Please leave a descriptive comment or feedback with your real name. Our human moderator vets every comment, and it may take 24 to 48 hours to get published or rejected.

Your email address will not be published, and we will never spam your inbox. Required fields are marked *