28

How do I disable Javascript in Chrome?

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
  • 28,143
12

Another way:

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

goodeye
  • 153
  • 1
  • 1
  • 8
mlb
  • 121
  • 1
  • 2
8

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

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

Joshua
  • 4,402
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.

Indrek
  • 24,874