How to Disable JavaScript in Chrome for One Tab or a Site

To disable JavaScript in Chrome for one tab, open DevTools, press Ctrl+Shift+P on Windows or Linux (or Command+Shift+P on Mac), search for Disable JavaScript, and press Enter. Keep DevTools open: Chrome keeps JavaScript disabled in that tab only while DevTools is open. For a longer-lasting block, change the JavaScript permission for one site or set a browser-wide default.

The DevTools method is useful for testing a page or checking whether a feature depends on JavaScript. It is not a reliable way to get rid of every sign-in prompt or pop-up, and turning JavaScript off can make websites harder to use.

Temporarily disable JavaScript in one Chrome tab

These steps apply to desktop Chrome. They do not change the setting in every tab or create a permanent browser preference.

  1. Open the page and launch DevTools. On Windows or Linux, press Ctrl+Shift+I. On Mac, press Command+Option+I. You can also open Chrome’s three-dot menu and choose More tools > Developer tools. DevTools can be docked beside or below the page; either layout works.
Chrome menu with More tools expanded and Developer tools highlighted.
Illustration of the Chrome menu route to Developer tools.
  1. Open the Command Menu. With DevTools focused, press Ctrl+Shift+P on Windows or Linux, or Command+Shift+P on Mac. The Command Menu belongs to DevTools; if the shortcut does not open it, click inside DevTools and try again.
  2. Run the disable command. Type javascript, select Disable JavaScript from the results, and press Enter. If more than one result appears, choose the command with that exact name.
DevTools Command Menu showing the Disable JavaScript command after searching for javascript.
Illustration of the DevTools command used to disable JavaScript.
  1. Reload the page while DevTools stays open. Reloading lets the page load again without running JavaScript, which is useful when you are checking what scripts affect during startup. Chrome shows a disabled-JavaScript indicator near the address bar and a warning next to Sources in DevTools.
Chrome tab with JavaScript disabled, showing the address bar indicator and a warning beside Sources.
Illustration of the disabled-JavaScript indicator and Sources warning.

The setting follows the current tab while DevTools remains open. If you navigate to another page in that tab, JavaScript remains disabled there too. Opening a separate tab does not apply the DevTools change to that new tab.

Block JavaScript for one site or set a default

Use Chrome’s site permissions if you want the restriction to remain in place after closing DevTools. Chrome lets you change permissions for an individual site without changing the default for other sites.

Block it for one website

Open the site in Chrome, select the site information icon to the left of its address, then choose Site settings. Find JavaScript and set the permission to Block. Chrome saves site-setting changes automatically. Reload the page to apply the new permission. To restore the site, return to the same setting and allow JavaScript again, or reset the site’s permissions.

Change the default for websites

To block JavaScript broadly on desktop Chrome, open the three-dot menu and go to Settings > Privacy and security > Site settings > JavaScript. Choose Don’t allow sites to use JavaScript. This changes the default for websites, so pages that rely on scripts may not work. You can return to this screen and allow JavaScript again. A site-specific permission can be set separately from the default.

Chrome JavaScript site setting with Don’t allow sites to use JavaScript selected.
Illustration of Chrome’s JavaScript setting for the browser default.

Chrome’s menu wording and layout can vary slightly across releases, but the JavaScript control remains under Site settings. Google’s Chrome site-permissions guide covers both the default and individual-site settings.

Should you turn JavaScript off to stop pop-ups?

Usually, no. JavaScript powers interactive parts of websites, including forms and games, and disabling it may also stop sign-in flows, menus, embedded media, or checkout controls from working. Some pages may still show prompts or open windows through other browser features, so disabling scripts is not a dependable pop-up blocker.

If you only want to block unwanted pop-up windows or redirects, use Chrome’s Pop-ups and redirects permission instead: open Settings > Privacy and security > Site settings > Pop-ups and redirects, then choose a default or adjust one site. Chrome blocks pop-ups by default, and its pop-up settings guide explains how to manage exceptions. Notification messages are a separate permission and can be blocked separately.

Turn JavaScript back on

For the temporary DevTools change, reopen the Command Menu and run Enable JavaScript, or simply close DevTools. Chrome’s documented DevTools workflow keeps JavaScript off only in the current tab while DevTools is open; closing it restores JavaScript. If you changed a site or browser default in Settings, go back to the JavaScript permission and allow sites again. For more detail, see Chrome’s DevTools instructions for disabling JavaScript.

Leave a Comment

Social Commerce in 2026: Short-Video Shopping and the Year-End Outlook

Social Commerce in 2026: Short-Video Shopping and the Year-End Outlook

A practical 2026 guide to shoppable short videos, creator affiliates, and livestream shopping, with dated U.S. forecasts, platform examples, and a buyer checklist for disclosures and returns.

Top 10 Proxy Browsers for Safer, More Private Browsing

Top 10 Proxy Browsers for Safer, More Private Browsing

Compare 10 proxy browsers and browser tools, from Tor and Opera to Firefox and CroxyProxy, with practical privacy limits and setup advice.

How to Mass Delete Facebook Posts Using Activity Log

How to Mass Delete Facebook Posts Using Activity Log

Learn how to bulk delete Facebook posts on your phone, filter old updates, use Trash or Archive, and restore posts within 30 days.

How to Fix ERR_TUNNEL_CONNECTION_FAILED in Chrome: 8 Steps

How to Fix ERR_TUNNEL_CONNECTION_FAILED in Chrome: 8 Steps

Fix Chrome’s ERR_TUNNEL_CONNECTION_FAILED error by checking proxy and VPN settings first, then troubleshooting extensions, DNS, and security software.

Integrated Inbox for Firefox: Access Google Apps Inside Gmail

Integrated Inbox for Firefox: Access Google Apps Inside Gmail

See how Integrated Inbox brought Google apps into Gmail in Firefox, what still works on paper, and how Gmail’s built-in side panel compares.

WebFonter: Preview FontShop Fonts on Any Website—What Works Now

WebFonter: Preview FontShop Fonts on Any Website—What Works Now

Learn how WebFonter once let you try FontShop fonts on live websites, why the original tool is outdated, and how to preview typefaces today.

How to Undo an Embarrassing Facebook Post: The Five-Second Trick and What Works Now

How to Undo an Embarrassing Facebook Post: The Five-Second Trick and What Works Now

The old Facebook Undo extension offered a five-second delay. Learn what still works to edit, remove, archive, or restore an embarrassing Facebook post.

Toggle Firefox Privacy Settings From the Toolbar Without About:Config

Toggle Firefox Privacy Settings From the Toolbar Without About:Config

Use the Privacy Settings Firefox extension to change supported privacy preferences from a toolbar popup, plus learn when built-in controls work better.

How to Combine Multiple Links Into One Short Link With Shrink2One

How to Combine Multiple Links Into One Short Link With Shrink2One

See how Shrink2One originally grouped several URLs into a single short link, its optional password feature, and what to do if the service is unavailable.

How to Check If Someone Else Is Accessing Your Gmail Account

How to Check If Someone Else Is Accessing Your Gmail Account

Suspect unauthorized Gmail access? Check recent account activity, IP addresses, signed-in devices, and security events—and learn how to secure your account.