JavaScript is one of the most used web technology on modern websites. It creates an interactive website that runs across various screen sizes. However, JavaScript can also be used for hacking the browser by injecting malicious scripts.
Hence, we must be cautious when visiting a website we aren’t aware of. And also, stay away from a website that provides hacking or illegal material. These sites mostly try to inject the code within your browser and gain access to the same.
My younger sister is a very skeptical person in general. She is always very wary about her privacy and other such settings. Yesterday, she came to me to assist her in disabling the JavaScript across the chrome computer. She feared it could be used to hack into her personal information.
Google Chrome has an in-built option to allow or block the JavaScript execution. You can block or allow certain websites to enable or disable JavaScript.
Block JavaScript Execution
By default, Chrome has Javascript enabled, but you can easily disable the javascript from the settings page. Just turn off the JavaScript toggle to disable and block the execution of JavaScript. One should know how to block JavaScript on Chrome to perform this operation.
Here are the steps on how to block JavaScript on a chrome computer:
- Launch the Google Chrome browser on the Computer.
- Click on the More
menu for options.
- Select Settings from the list.
- Scroll down to the Privacy and Security section, and select the Site settings from the menu.
- Choose the JavaScript option within Site settings.
- Click on the toggle to Block the JavaScript.
This will completely block JavaScript for all the websites. If you want to block JavaScript for any particular website or list of websites, you can add them under the Block section.
All websites listed in the Block section will automatically be blocked from running the JavaScript code.
Allow JavaScript
If you have already blocked the Javascript and the website is not loading correctly, the problem may be JavaScript blocking. In that case, just allow the JavaScript execution.
Here are the steps on how to allow JavaScript in Chrome computer:
- Launch the Google Chrome browser on your computer.
- Click on the More
menu for options.
- Select Settings from the list.
- Scroll down to the Privacy and Security section, and select the Site settings from the menu.
- Choose the JavaScript option within Site settings.
- Click on the toggle button to Allow the JavaScript.
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, you can find all the URLs in the Allow section.
The website in the allow section will run the JavaScript code irrespective of the main switch.
Bottom Line: Chrome Computer JavaScript Settings
We can easily block the JavaScript on selected sites or allow the JavaScallowlistingelisting in the chrome browser. If you block the JavaScript execution, the website might not run as expected. You might find a few missing resources. Perhaps, you can block only the sites that cause issues.
I keep the JavaScript execution enabled since I browse too many sites daily. But, if I find any malicious site or feel doubtful, I quickly add it to the block section. However, I taught my younger sister how to block JavaScript on a chrome computer, and now she feels way more secure while browsing.
Similarly, you can allow or block JavaScript in the chrome android browser. You allow selected sites to enable JavaScript or block them by adding them to the Block bucket.
What sites should be blocked for JavaScript on a chrome computer?
Pretty easy directions to follow
I apologize for any mistakes I may have made