• Skip to main content
  • Skip to primary sidebar

Technipages

Tutorials and fixes for smartphone, gadget, and computer problems

  • Topics
    • Android
    • Browsers
    • Gaming
    • Hardware
    • Internet
    • iPhone
    • Linux
    • macOS
    • Office
    • Reviews
    • Software
    • Windows
    • Definitions
  • Product Reviews
  • Downloads
  • About
Enable or Disable JavaScript in Google Chrome

Enable or Disable JavaScript in Google Chrome

November 10, 2018 by Mitch Bartlett 2 Comments

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

  1. 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“
  2. Scroll down and select the “Adv” option, then select the “Content settings…” button.
  3. 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

Command switch to disable JavaScript in Chrome

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.

You Might Also Like

  • Edge: Enable or Disable JavaScript
    Edge: Enable or Disable JavaScript
  • Firefox: Enable/Disable Javascript
    Firefox: Enable/Disable Javascript
  • Enable or Disable JavaScript in Safari for iPhone & iPad
    Enable or Disable JavaScript in Safari for iPhone & iPad
  • How to Enable or Disable "Prefetch" in Google Chrome
    How to Enable or Disable "Prefetch" in Google Chrome
  • Google Chrome: Enable/Disable Pop-up Blocker
    Google Chrome: Enable/Disable Pop-up Blocker
  • How to Enable and Disable Autofill in Google Chrome
    How to Enable and Disable Autofill in Google Chrome

Filed Under: Software

Reader Interactions

Comments

  1. Robin G Kruse says

    May 8, 2020 at 7:19 am

    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.

  2. John Soltis says

    December 22, 2018 at 1:12 pm

    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!

Did this help? Let us know!

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Primary Sidebar

Recent Posts

  • How to Know What App Have Access To Your Camera and Mic in Windows 11
  • How to Enable and Use Windows 11 Night Light
  • How to Create and Manage Tasks in Microsoft To-Do
  • How to Fix Explorer.exe: Class Not Registered Error in Windows 11
  • How to Fix Explorer.exe Doesn’t Load at Startup Issue
  • How to Enable/Disable Efficiency Mode in Windows 11
  • How to Create and Edit a Playlist on YouTube Music
  • Microsoft Edge Collections: What It is and How to Use It

Who’s Behind Technipages?

Baby and Daddy My name is Mitch Bartlett. I've been working in technology for over 20 years in a wide range of tech jobs from Tech Support to Software Testing. I started this site as a technical guide for myself and it has grown into what I hope is a useful reference for all.

You May Also Like

  • Top 10 Google Chrome Alternatives to Surf Better
  • The 8 Best Adblockers for Chrome

© Copyright 2023 Guiding Tech Media · All Rights Reserved · Privacy