28

How do I disable Javascript in Chrome?

Sathyajith Bhat
  • 61,504
  • 38
  • 179
  • 264
Jude Allred
  • 595
  • 1
  • 5
  • 11

8 Answers8

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.

Pacerier
  • 26,733
  • 82
  • 197
  • 273
12

Another way:

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

goodeye
  • 143
  • 1
  • 1
  • 8
mlb
  • 121
  • 1
  • 2
  • The only problem with this solution is that QJS breaks certain CSS3 styles and properties, such as transitions. – Lazerblade Jan 13 '16 at 19:16
8

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

Andriy F.
  • 181
  • 1
  • 2
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?

Perry
  • 311
  • 1
  • 7
Jude Allred
  • 595
  • 1
  • 5
  • 11
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

Joseph Hansen
  • 4,338
  • 4
  • 25
  • 28
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.

Joshua
  • 4,362
  • 3
  • 24
  • 31
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).

Michael Hampton
  • 13,635
  • 4
  • 45
  • 76
-1

You can use the Quick Javascript Switcher extension.

Indrek
  • 24,204
  • 14
  • 90
  • 93