Disable JavaScript in Google Chrome for stronger security

Turn off JavaScript in Chrome to block many trackers, pop-ups, and untrusted scripts while keeping the option to allow trusted sites.

What the video covers

Applies to Google Chrome browser settings for controlling JavaScript execution per site or globally.

Watch the video on YouTube

Step-by-step instructions

  1. Open Chrome settings
    Click the Chrome menu (three dots) in the top-right corner and choose Settings.
  2. Open site permissions
    In Settings, go to Privacy and security, then select Site settings.
  3. Locate JavaScript controls
    Scroll to the list of permissions and open the JavaScript setting.
  4. Disable JavaScript globally
    Select the option to block or don’t allow sites to use JavaScript. This turns JavaScript off across the browser.
  5. Add exceptions for trusted sites (optional)
    Use the site exceptions area to add addresses for websites where you want to allow JavaScript; add each trusted site and reload the page.

Watch the video

Video thumbnail for Disable JavaScript in Google Chrome for stronger security Play tutorial

Watch on YouTube

Why it matters

JavaScript can enable useful features but also runs third-party scripts that track users, deliver pop-ups, or execute unwanted actions. Disabling it reduces attack surface and gives you tighter control; you can selectively re-enable it for trusted sites.

Check your result

Visit a site that relies on JavaScript (for example, a web app or interactive page). If JavaScript is disabled, interactive features will not work and dynamic content may be missing. Confirm that sites you trust still function by adding them as exceptions and reloading.

Troubleshooting

If websites break after disabling JavaScript, add those sites to the allow list (exceptions) so they can run scripts. If changes don’t take effect, reload the page or restart Chrome. Verify you’re modifying the correct browser profile if you use multiple profiles or a managed (enterprise) account that enforces settings.