Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I love using Google Chrome, but I don't like visiting sites that have embedded ads/pages that could have malicious JavaScript. Is there something like the Firefox extension, NoScript, for Google Chrome?

share|improve this question
    
Out of curiosity, do you by default disable scripting on all websites? How does that impact your browsing experience? –  Paul Lammertsma Aug 7 '10 at 20:49
    
@PaulLammertsma - Sometimes some scripts have to be enabled for functionality but overall, much cleaner and marketing-BS-free. –  Enigma Jan 10 at 19:11
add comment

5 Answers

up vote 15 down vote accepted

Check out Privoxy. Lifehacker has a great guide on how to set it up.

Privoxy supports stripping ads, Javascript and nasty pieces of HTML, as well as string-replacement for any web browser. I have used it in the past and I did not notice a speed difference.

share|improve this answer
1  
This fails to answer the question, which is no, there is no proper extension support for Chrome. –  PP. Jan 21 '10 at 17:35
3  
At the time of writing, there was no extension support for Chrome, so this was, IMO, the best way to achieve similar functionality. This answer was found to solve the problem that Steve Wright was having, so it DOES answer the question. –  David Pearce Jan 23 '10 at 8:21
    
As of now, there is HTTP Switchboard (Chrome store or on github). –  rhill Nov 9 '13 at 16:01
add comment

ScriptSafe has come out recently, and beats NotScripts.

A simple extension that brings some of NoScript's functionality to Chrome while emphasizing simplicity and intuitiveness (no affiliation to NoScript):

  • whitelisting/blacklisting functionality and granular control
  • actually speeds up browsing because it removes a lot of unwanted content
  • ability to remove <SCRIPT>, <OBJECT>, <EMBED>, <IFRAME>, <FRAME>, <APPLET>, <AUDIO>, <VIDEO>, <NOSCRIPT>, and <IMG> elements, as well as webbugs
  • ability to block unwanted content (MVPS HOSTS, hpHOSTS (ad / tracking servers only), Peter Lowe's HOSTS Project, MalwareDomainList.com, and DNS-BH – Malware Domain Blocklist are integrated!)
  • ability to block click-through referrer data
  • "intuitive" icon that changes based on whether or not a page is whitelisted/blacklisted/bypassed
  • shows number of blocked/removed items in toolbar
  • shows blocked/allowed items in tab details popup (along with item type)
  • bulk import domains into whitelist and blacklist
  • option to temporarily allow a page/temporarily allow all blocked items
  • choose the default mode (Block All or Allow All)
  • option to preserve same-domain elements
  • option to disable automatic refresh of pages after whitelisting/blacklisting/temp. bypassing a page

EDIT: It now takes advantage of the new Content Blocking API in Chrome 17 to block accurately and very, very fast. The above feature set is old, BTW, but I can't be bothered to update it. ;)

share|improve this answer
add comment

There's a great extension called NotScripts that is based on FF NoScripts

share|improve this answer
add comment

Check out the response from the NoScript developer as to why NoScript has not been ported to Chrome:

The reason is very simple: Chrome is still lacking the required infrastructure for selective script disablement and object blocking.

As a result, you can either block ads or turn off all scripting/plugins - there is no way to white list some sites for scripting/plugins and block others.

share|improve this answer
add comment

You can use a startup parameter for your shortcut to block java, java script, images, and plugins by appending one of the following to the end of your google chrome shortcut:

Java : "-disable-java"

Java script : "-disable-javascript"

Plugins : "-disable-plugins"

Images : "-disable-images"

Taken from Lifehacker here.

share|improve this answer
    
Outdated. New mechanisms have come out in the Settings/Options menu. –  muntoo Oct 14 '11 at 7:50
add comment

protected by Diago Nov 3 '10 at 17:01

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.