28

How do I disable Javascript in Chrome?

8 Answers 8

27

Click on the address bar —yea the "omnibox", if you prefer a cooler name— and type chrome://settings/content.

(Alternatively, go Settings and type “javascript” into the search box.)

You can disable JavaScript by selecting “Do not allow any site to run JavaScript”:

image

It autosaves; you don't have to click Done or anything else.

Indeed, we don't even need a mouse to disable JavaScript and get back to the current page:

  1. CtrlT

  2. chrome:settings Enter

  3. javascript Tab Enter

  4. Tab x 6,

  5. Lastly, CtrlW to close Settings.

should take about 5 seconds.

3
  • Just a note: the Wrench menu is not a wrench anymore. Don't know how to describe it though...
    – MegaHit
    Commented May 2, 2013 at 1:37
  • @MegaHit, Yea that "cool name" isn't actually much of a hype that Google wishes it to be. Post edited.
    – Pacerier
    Commented Sep 23, 2014 at 22:01
  • Does it need page refresh?
    – Nathan G
    Commented Jun 5, 2018 at 18:44
12

Another way:

Quick Javascript Switcher, a Chrome extension for quickly enabling / disabling Javascript) :

1
  • The only problem with this solution is that QJS breaks certain CSS3 styles and properties, such as transitions.
    – Lazerblade
    Commented Jan 13, 2016 at 19:16
8

Open Developer tools (Ctrl+Shift+I or F12) -> Preferences (F1) -> Section Debugger -> Disable JavaScript Screenshot

4

via http://www.google.com/support/forum/p/Chrome/thread?tid=5e291648113cc731&hl=en:

To disable JS on Windows, find your Google Chrome shortcut (say, on your desktop or somewhere similar). Right-click it, and go to Properties. In the "Target:" field, put "-disable-javascript" after the quotation marks.

Any better ways?

1
  • AFAIK this is the only way by now.
    – buba
    Commented Oct 28, 2009 at 20:48
3

There are two built-in methods to disable Javascript in Chrome:

  1. in Chrome settings
  2. in Chrome developer tools

Chrome settings method

  1. open Chrome settings
  2. click content settings button under Privacy (see picture)
  3. select the option to disable javascript

enter image description here

Chrome developer tools method

  1. open dev tools (cmd + option + i in OS X)
  2. click the gear icon (red box below)
  3. click the disable javascript option (second down as of writing)

enter image description here

1

Yet another way to do this that might be easier:

Pull up the Chrome Console, and click on the settings icon in the lower-right. At the top in "General" is the option to disable Javascript - along with lots of other easier-to-access goodies.

0

I'm still using NotScripts, because it blocks more than just JavaScript, allows for both temporary and permanent exceptions, and it actually has a decent UI (unlike Chrome's built-in functionality).

-1

You can use the Quick Javascript Switcher extension.

1
  • This is exactly the same suggestion as @mlb
    – JoshP
    Commented Sep 24, 2012 at 19:09

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .