JavaScript is one of the most popular web technologies on modern sites. It is useful in creating interactive websites that can run across varying screen sizes. Besides that, JavaScript can also be used for hacking browsers. This is done by injecting malicious scripts.
This is why you should be careful while visiting a new website. You should also avoid opening sites that provide illegal materials. That’s because these sites try to inject malicious codes within your browser.
If you are using Chrome, it comes with an in-built option to block or allow JavaScript execution. If you are wondering how it is done, you are in the right place.
In this guide, we will tell you how to allow or block JavaScript in Chrome. If you want to keep your browser safe from malicious scripts and hackers, you must follow these steps.
Steps to allow or block javascript in Chrome:
- Open Google Chrome:
- Click on the hamburger menu > Settings:
- Scroll down to the Privacy and Security section, and select the Site settings from the menu:
- Toggle the button to turn OFF and block the JavaScript execution.