1. Home
  2. Web
  3. Disable javascript in chrome

How to disable JavaScript in Chrome

A common hack to get around pop-ups that block websites e.g. sign-in or sign-up prompts is to disable JavaScript. The prompt appears because of it and if you disable it from running in your browser, it will no longer be able to block access to the website. While it’s easy to just tell someone to block JavaScript, it’s a little more complicated explaining how to do it. JavaScript is disabled on a per-tab basis and you have to do it each time you need to block a sign-in prompt or any other type of prompt. It’s not like a switch that you can toggle on or off. Here’s how you can disable JavaScript in Chrome.

Disable JavaScript in Chrome

Open Chrome and go to a new tab. Click the more options button at the top right (the one with three dots), and from the menu, select More Tools>Developer Tools. Alternatively, you can tap the F12 key or the Ctrl+Shift+I key to open Developer Tools in Chrome.

Once the Developer Tools, or the developer console is open, click the more options button (again, three dots), and select the Run Command option or, just tap the Ctrl+Shift+P keyboard shortcut. This will activate the command input field.

In the field, enter Javascript. You will see a small list of commands that you can execute one of which will be ‘Debugger Disable JaveScript’. Use the arrow keys to select it, and tap Enter (try the neat screenshot tool while you’re at it).

JavaScript will be disabled in that tab. You will see a yellow exclamation mark on the ‘Sources’ tab to indicate that it is disabled. You can now visit the website that shows you obtrusive pop-ups and they will not load. Any other website that you navigate to in that tab will also have JavaScript disabled. Reloading the tab will not enable it. If you’d like to run JavaScript on the website, all you have to do is open it in a new tab.

You’re probably wondering if there is an easier, one-click method that can do this for you but there isn’t. Extensions aren’t normally allowed to change anything in the developer console, and for good reason. If they’re able to manipulate the developer console, it is possible they will inject something malicious in a webpage. It’s far too risky to allow it. You will have to disable JavaScript manually whenever you need to. It’s not hard once you learn the steps and run through them a few times. For the most part, you can rely on keyboard shortcuts.

Leave a Reply

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.