How to Allow or Block JavaScript in Edge Computer?

Learn how to block or allow JavaScript execution on the Microsoft Edge computer browser. It also has the ability to Allow or Block specific sites URLs.

JavaScript has one of the most used web technology on modern websites. Its primary use is 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.

A week back, my college friend was browsing a website he had not visited before. He was quite skeptical about it since the hacking cases have increased eventually these days. Being an engineering student, he was aware of the demerits of JavaScript if misused. He contacted me for support and asked me how to block JavaScript for some websites.

Related: How to Allow or Block JavaScript Execution on Edge for Android?

You can also blacklist or whitelist certain websites to allow or block JavaScript on the Microsoft Edge Chromium browser.

How to Block JavaScript in Edge Computer?

Some websites misuse JavaScript to hack into your system and steal your data. N one would like that. So, it is always better to block JavaScript edge for such websites at once.

Here are the steps to block the JavaScript edge execution on a 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?

There are a few websites that actually use JavaScript to serve its best purpose. We must know how to allow javascript for such websites.

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

  1. Launch the Microsoft Edge 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 websites 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 type in 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.

Bottom Line: Edge Javascript Settings

JavaScript is an important feature used by website developers for various purposes. However, few people may use it to hack and steal data from your computer. We should be aware enough to know the safe websites and the ones that are not.

I was able to help my friend with the same by teaching him how to enable JavaScript for selective websites and block for the others. He was very happy with the results and said he will educate his family about the same.

Similarly, you can also manage Javascript settings in Edge android. You can allow or block JavaScript execution on a mobile browser.

If you find this article about JS settings in Edge computer helpful and think it may help someone you know, please share it with them.

Lastly, here are the recommended web browsers for your computer and mobile phone that you should give a try.

Chrome WindowsChrome MacChrome iOSChrome AndroidFirefox Linux
Firefox WindowsSafari MacSafari iOSEdge AndroidChrome Linux
Edge WindowsFirefox MacEdge iOSSamsung InternetEdge Linux

If you've any thoughts on How to Allow or Block JavaScript in Edge Computer?, then feel free to drop in below comment box. If you find this article helpful, please consider sharing it with your network.

Also, please subscribe to our BrowserHow YouTube channel for helpful videos tutorials.

Disclosure: This page may contain affiliate links, which means we may receive compensation for your purchases using our links; of course at no extra cost to you (indeed, you may get special discounts). This will support our effort to create more useful content, and keep it open and free forever.

Leave a Reply

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