JavaScript is a handy feature that allows more interaction with web pages in Google Chrome and many other web browsers. Some people may publish websites that use the scripting language maliciously though. For your protection, you can disable or enable JavaScript in Chrome with these steps.
From Chrome Settings
- Perform one of the following sets of steps in Chrome:
- In Chrome, select “Menu”
> “Settings“> “Advanced” > “Content settings…” > “JavaScript“.
- Type “chrome://settings/content/javascript” in the address bar, then press “Enter“
- In Chrome, select “Menu”
- Scroll down and select the “Adv” option, then select the “Content settings…” button.
- Toggle the setting to “Allowed” or “Blocked” as desired. Optionally, you can allow or block JavaScript on specific websites by selecting the “Manage exceptions…” button and adding the URL of the website under the “Hostname Pattern” field. From there, set the “Behavior” to “Block” or “Allow“. You can even block partial sections of websites.
Create Shortcut Icon to Disable JavaScript
If you want to create a special icon that disables JavaScript for certain browsing sessions, you can use the -disable-javascript switch. For example, Windows users can right-click their Desktop, then go to “New” > “Shortcut” to create an icon that points to:
C:\Users\yourusername\AppData\Local\Google\Chrome\Application\chrome.exe -disable-javascript
Note: For some reason it seems that using this switch doesn’t completely turn JavaScript off. I still experienced some instances in my testing where it worked and others where it didn’t. You’re better off using the first method listed in this tutorial.
Robin G Kruse says
i followed your instructions javascript is enabled but it will still not allow me to access my aol mail keeps saying javascript is disable when it is in fact enabled. Further instructions needed to fix this issue.
John Soltis says
NO! I try to allow JavascrIpt per your instructions – BUT Google Chrome does NOT allow me to complete task! JavaScript remains BLOCKED!! Something in Google is blocking it! Further instructions needed to fix this issue!