How to Block JavaScript Globally in Google Chrome

The Execution Engine

JavaScript is the programming language that makes the modern web interactive. It powers everything from animated menus to complex web applications. However, it is also the primary vector for malware, cryptocurrency miners, intrusive pop-ups, and aggressive tracking scripts. If you are researching information on sketchy, untrusted websites, or simply want to read a text article without being bombarded by thousands of background execution scripts draining your CPU, you must completely paralyze the browser’s JavaScript engine.

How to Block JavaScript Globally

You can permanently sever the browser’s ability to execute code via the Site Settings.

  1. Open the Google Chrome desktop browser.
  2. Click the three vertical dots (⋮) in the top right corner and select Settings.
  3. In the left-hand sidebar, click on Privacy and security.
  4. In the main window, click on Site settings.
  5. Scroll down to the “Content” heading and click on JavaScript.
  6. Under the “Default behavior” heading, select the radio button for “Don’t allow sites to use JavaScript.”

Absolute Security vs. Usability

The change takes effect instantly. Google Chrome will completely shut down its V8 JavaScript execution engine. Every single website you load will now render as pure, static HTML text and images. Warning: Disabling JavaScript will completely break 90% of modern websites (including YouTube, Gmail, and most banking sites). However, it guarantees absolute immunity against web-based malware execution. You can use the “Allowed to use JavaScript” list lower on the same settings page to manually whitelist the specific sites you trust, ensuring the rest of the internet remains completely locked down.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.