How to Allow or Block JavaScript in Edge Computer?

Learn how to block or allow JavaScript execution on the Microsoft Edge browser on the computer device. The Edge also has the ability to either allow or block the JavaScript execution for a particular website that is listed in Allow or Block mode respectively.

JavaScript has one of the most used web technology on modern websites. Its use for creating an interactive website that runs across various screen-sizes. However, JavaScript can also be used for hacking the browser by injecting malicious script.

Hence, we need to be very careful when visiting a website that we aren’t aware of. And also stay away from the website that provides hacking or spamming material. Microsoft Edge has an in-built system to allow or block the JavaScript execution. You can also blacklist or whitelist certain websites to allow or disallow to run JavaScript.

How to Block JavaScript in Edge Computer?

Here are the steps to block the JavaScript execution on the Edge browser on computer device:

  1. Launch the Microsoft Edge browser on Computer.
  2. Click on horizontal 3dots icon menu for options.
  3. Select Settings from the list.
  4. Switch to the Site Permissions from the sidebar menu.
  5. Choose the JavaScript option within Site permissions.
  6. Toggle the button to turn OFF and block the JavaScript execution.

Block JavaScript on Edge Computer Browser

This will completely block the JavaScript for all the websites. Just in case if you want to block the JavaScript for any particular website or list of websites, then you can add them under the Block section.

All the websites that are listed in the Block section will automatically be blocked to run the JavaScript code.

How to Allow JavaScript execution in Edge Computer?

Here are the steps to allow the JavaScript to run on the Edge browser on any computer:

  1. Launch the Microsoft Edge browser on Computer.
  2. Click on horizontal 3dots icon menu for options.
  3. Select Settings from the list.
  4. Switch to the Site Permissions from the sidebar menu.
  5. Choose the JavaScript option within Site permissions.
  6. Toggle the button to turn ON to allow the JavaScript execution.

JavaScript Allowed on Edge Browser for All Websites on Computer

This will allow all the website to run the JavaScript code on the browser and execute the function within the code block. However, if you want to allow JavaScript execution on a few websites, then you can all the URLs in the Allow section.

Allow JavaScript for a Websites in Edge Computer

The website listed in the allow section will be running the JavaScript code irrespective of the main switch.

If you've any thoughts on How to Allow or Block JavaScript in Edge Computer?, then feel free to drop in below comment box. Also, please subscribe to our BrowserHow YouTube channel for amazing videos tips. Cheers!

Share
Kushal Azza
Kushal Azza
Fond of latest technologies and gadgets. I'm a digital dev and analytics consultant. Also, the geek behind this blog!

Leave a Reply

Your email address will not be published. Required fields are marked *