Sunday, September 07, 2008

Google Chrome: How to disable JavaScript in Chrome

Launch Google Chrome from Start/Run with the parameter -disable-javascript.

You can add this to the Google Chrome shortcut.

For example, in Vista:

C:\Users\%username%\AppData\Local\Google\Chrome\Application\chrome.exe -disable-javascript

For example, in Windows XP:

"C:\Documents and Settings\%username%\Local Settings\Application Data\Google\Chrome" -disable-javascript


Other parameters:
-disable-images
-disable-java
-disable-plugins
-disable-popup-blocking
-start-maximized

22 comments:

Anonymous said...

Doesnt work

bradvin said...

works perfectly - just edit the XP path to "C:\Documents and Settings\%username%\Local Settings\Application Data\Google\Chrome\Application\Chrome.exe" -disable-javascript

Will said...

It didn't work for me until I closed all open Chrome browsers first.

todd said...

Worked like a charm. Thanks!

Arun Basil Lal said...

This post really helped me, I have used it here: http://www.millionclues.com/tips-and-tricks/internet-tips/save-orkut-photos

Great work, Cheers

Anonymous said...

It works fine!

Anonymous said...

Doesn't work for me. Followed the Vista instructions. I'm using Chrome 4 though...

ilove said...

Cool !!! Thx na ja

Noe said...

Thanks, I've just tried on Ubuntu desktop:
$ chromium-browser -disable-javascript

It works perfectly!

viks said...

I must thank "will" for comment as one of mine chrome window was open so images and javascript was not disabled. now it work fines. thanx for trick too!

Anonymous said...

Okay, now is there a way to disable Javascript and NOT HAVE TO RESTART the browser?? Restarting is ANNOYING when you have a bunch of windows open that have to reload. Chrome sucks at some of the simplest things FF does natively like disable/enable javascript easily. There are a lot of situations where you would do this too.

Anonymous said...

it works!
thanks!

Jawsper said...

This link to the application works in 7/vista/xp equally:

%LOCALAPPDATA%\Google\Chrome\Application\chrome.exe

:)

Anonymous said...

What about for mac?

Term Papers said...

I have been visiting various blogs for my term papers writing research. I have found your blog to be quite useful. Keep updating your blog with valuable information... Regards

treatind ed said...

Thanks now I know how to disable java in google chrome browser.

Anonymous said...

Actually. If you go to options in chrome.. click "under the hood" > "Content settings" > "Javascript" and you can disable it there...

Anonymous said...

Under the Hood > Content settings > Javascript

Thanks for the tip!

Anonymous said...

I've made a simple extension to open quickly the javascript panel, hope this will be usefull :
http://chrome.google.com/webstore/detail/bplfgniooljehbfmfbhckfiecijgmadg

mlb said...

Since chrome 16, there is an extension to instant enable / disable javascript : https://chrome.google.com/webstore/detail/geddoclleiomckbhadiaipdggiiccfje

Gilbert said...

Thanks alot for this tip. I didn't know how to do it in chrome.

aislinn said...

Cool blog you got here and thank you for the valuable information. This is truly a great read for me and definitely be back to read some more.

www.n8fan.net