Slashdot Mirror


Google Chrome Now Has Resource-Blocking Adblock

MackieChan writes "It seems to have slipped under the radar, but Google Chrome now has resource-blocking abilities, and may have had the ability for some time. Using the 'beforeload' event on the document, an extension can now intercept resources from loading. Adblock for Chrome has already added it, and I expect the other 'ad-blocking' extensions have as well. Before you start praising Google, however, it's the WebKit team that deserves your credit; one Chromium developer responded to praise by stating '... thank Apple — they added it to WebKit, we just inherited it.' Firefox vs. Chrome just got a bit more exciting."

20 of 335 comments (clear)

  1. Hmm, this is weird. by dlsso · · Score: 5, Funny

    A Slashdot story with impeccable grammar? Something doesn't feel right.

    1. Re:Hmm, this is weird. by Kitkoan · · Score: 4, Funny

      A Slashdot story with impeccable grammar? Something doesn't feel right.

      Maybe the grammer nazi"s intercepted the message...?

      --
      Attention... all grammer nazi"s! Is they're anything; wrong with: my post,
  2. Re:Uh, not really by ewhac · · Score: 4, Insightful

    Every reason people used to give in favor of Firefox now applies to Chrome, times ten.

    Incorrect. Chrome can't run NoScript.

    And before you say, "Chrome lets you control JavaScript execution, blah blah blah," yes it does at a very coarse level. NoScript is much more fine-grained, and provides substitute scripts for sites that "need" to run crap from google-analytics et al.

    It looks like this functionality may bring NoScript that much closer to Chrome.

    Schwab

  3. Still not as good as what Firefox has by Anonymous Coward · · Score: 5, Interesting

    It doesn't catch every single resource -- ad blocking plugins for Chrome admit that it won't catch everything and still has to just hide some ads. And it's not nearly powerful enough for NoScript to work.

    So there is still no Firefox vs. Chrome/Chromium. Firefox still leads, big time, because of this issue.

    I'm rooting for Chrome/Chromium/Webkit to get proper blocking abilities, because it's great otherwise. But until they can do what's necessary to get true blocking, I won't use it.

    1. Re:Still not as good as what Firefox has by Zarel · · Score: 4, Informative

      It doesn't catch every single resource -- ad blocking plugins for Chrome admit that it won't catch everything and still has to just hide some ads.

      It looks like the resource blocking not working in some cases is an accepted bug, and thus will be fixed soon.

      And it's not nearly powerful enough for NoScript to work.

      Chrome has that built-in. Go to "Preferences" -> "Under the Hood" -> "Content Settings" -> "JavaScript" -> "Block all". You can also manage per-site blocking from that screen. On websites that use JavaScript, a "JavaScript blocked" icon will appear in the toolbar, and you can click on it and click "Allow JavaScript on this site".

      --
      Want a high quality FOSS RTS game? Try Warzone 2100!
  4. Re:It does say something about Google by calmofthestorm · · Score: 4, Insightful

    I suspect it's because Google knows that virtually no one uses AdBlock, and that those who do aren't the sort that tend to click on ads anyway. Same reason they let you opt out of their DoubleClick tracking cookie -- you won't bother.

    --
    93rd rule of Slashdot: No matter how obvious my sarcasm is, my comment will be taken seriously by someone.
  5. Not entirely random by PhrostyMcByte · · Score: 4, Informative

    Apple is closely involved with Webkit (it's the backend Safari uses), and this feature that made better ad-blocking possible was contributed by Apple. So it's not entirely random.

    1. Re:Not entirely random by DJRumpy · · Score: 4, Informative

      Apple is not just closely involved with Webkit. They wrote it. Apple created a fork of KHTML and KJS and Webkit was born from that. In 2005 Apple open sourced Webkit and released it to the wild. Contrary to common belief, Apple actually gives quite a bit back to the Open Source community.

  6. Re:Meta: this story is under Apple? Why? by Kitkoan · · Score: 4, Informative

    Its meta-commented Apple because of the last part of the summery:

    one Chromium developer responded to praise by stating '... thank Apple — they added it to WebKit, we just inherited it.' Firefox vs Chrome just got a bit more exciting.

    --
    Attention... all grammer nazi"s! Is they're anything; wrong with: my post,
  7. Most of Google's revenue is advertising. by lhaeh · · Score: 5, Insightful

    Looking here we can see that, for 2009, Google made 23,651 million in revenue. Considering that 22,889 of those millions were from advertising, you have to wonder how long google will tolerate ad blocking in their products. Sure, it is fine now as not many people use chrome, and even fewer of those people install an ad blocking plug-in, but what about if it becomes more popular? Will they still tolerate it then? One wonders what would happen to google if Microsoft decided to make ad blocking default in Internet Explorer.

    1. Re:Most of Google's revenue is advertising. by 140Mandak262Jamuna · · Score: 4, Interesting

      I am not anti-ads, I am anti-eyesore and anti-slow-flash-crap.

      Well said. I wish there is a way I can state my own ad preferences so that the web sites know what kind of ads I will accept. Like browser sends a string that says, "Will accept text ads, static image ads. No animation, no flash ads, so sound, no pop-ups or pop-unders. Currently in the market for: Digital camera, scuba vacation, college visits"

      I want only the obnoxious advertisers to go out of business. I want to provide a carrot for the sites that are willing to play nice.

      --
      sed -e 's/Chuck Norris/Rajnikant/g' joke > fact
  8. Re:Uh, not really by stonedcat · · Score: 5, Insightful

    You seem to be assuming that the user wants to run each and every script on the pages they encounter... this is not the case.
    One of the main reasons to use Noscript is to avoid scripts that are not designed with your best interest in mind.

    --
    You can't take the sky from me.
  9. Re:Uh, not really by xororand · · Score: 5, Informative

    A few reasons for Firefox:

    - NoScript: mostly to block potentially malicious active elements like Flash and Java. Better safe than sorry, especially with Adobe products.
    - CookieSafe: Fine grained control over cookies.
    - RefControl: Blocks referrers for selected sites. I don't need to stuff tracking information down everyone's throat, especially not YouTube (embedded videos).
    - Xmarks: Lets you synchronize your bookmarks using your own HTTPS protected WebDAV share.
    - FoxyProxy Standard: Use different proxies for different sites
    - Redirector: Rewrite http:/// links into https:/// links for selected sites that don't default to https.
    - Web Developer: Dissect web pages.

    Is all this available in Chrome* browsers already?

  10. Chrome does NOT have NoScript by warrax_666 · · Score: 5, Informative

    First, NoScript does much more than just block JavaScript.

    Second, NoScript makes it possible to restrict JavaScript based on the originating domain; that means I can enable JavaScript for e.g. forums.bioware.com and deny for e.g. ea.com. When I visit forums.bioware.com it will not load scripts from ea.com and I can still have a snappy experience on forums.bioware.com. (Ea.com is, for some reason, a slow piece of shit.)

    --
    HAND.
  11. Still waiting for... by Lord+Bitman · · Score: 4, Interesting

    Is everyone ever going to make an adblock-alike which, rather than "blocking" ads, just prioritizes them differently so I don't need to wait for fifty ads to load before I can view actual page content? I really don't mind ads. I'm okay with them. I don't want to block them, and I think people who do block them are assholes. But I don't want to wait for them.

    --
    -- 'The' Lord and Master Bitman On High, Master Of All
    1. Re:Still waiting for... by Red_Chaos1 · · Score: 5, Insightful

      I wholeheartedly agree with this, strictly in the "load after" sense. I cannot stand it when the content I am interested won't load because some overworked ad server is stalled.

      That said, I'm also an "asshole" who blocks ads. Why? Because I don't care for the way they're shoved in my face constantly. I'm sorry, but I don't care how much you polish it, a turd is a turd, and I want nothing to do with it. Same goes for most ads. I really don't care about the product or service, and shoving it in my face with interstitial ads or flash pop-overs or whatever only makes me hate your brand even more.

      I'm tired of being demonized when it's the advert companies who don't have a clue. Get it together, stop bludgeoning me with your dreck, and I might stop blocking it.

  12. Re:Uh, not really by hairyfeet · · Score: 5, Interesting

    Do you still have to use some behind the curve hacked version to keep all your data from being sent to Google? Because Google's data mining and installing "updaters" that refuse to uninstall with the app made it a non starter for me. Does it have an easy way to allow some scripts but not others? A FEBE style backup? Imagezoom? Something like iMacros that makes automating the things I do trivial? A downloadhelper that will put videos in folder a and executables in folder b?

    While Chrome has the buzz right now, too many things like data mining made me uncomfortable with it. And FF is simple enough with its extension framework that even my 67 year old clueless dad has his FF customized. I know everyone talks about its JavaScript engine, but seeing how many "malware o' the day" uses JavaScript I'd prefer NOT to load a bunch of unapproved JavaScript really fast, thanks anyway. And side by side I really can tell a difference anyway, as both load a page as fast as I can click. So while I wish anything that isn't IE the best of luck, for me and my customers it'll be FF for the foreseeable future.

    --
    ACs don't waste your time replying, your posts are never seen by me.
  13. Re:It does say something about Google by gbjbaanb · · Score: 4, Insightful

    no, I think its more down to the type of Ads that are blocked. Block Google adwords? Pointless.

    Block a non-Google flash-based flashing lights and scrolling text and attention-catching beeps, you betcha.

    In other words, adblocking is actually beneficial to Google as it gives Google ads more marketshare (ie by reducing the competition).

  14. That may be why they are doing it by Sycraft-fu · · Score: 4, Insightful

    So, if Google makes a good ad blocking system that is included by default, many people will just use that. That means they can control what it does, and what defaults it has. Thus maybe by default it only blocks annoying ads. It stops interstitials, animated crap, popups/unders and so on. However it permits text ads and simple banner ads, which is what Google does. So people say "Ahh this is nice, the Internet isn't annoying," and don't go looking for anything else, or even adjusting the settings.

    You have to remember many people don't hate ads, what they hate is ANNOYING ads. I personally don't mind ads, sometimes they are even interesting. I don't run ad block because I appreciate sites need to make money. However I do run Flashblock because I hate annoying ads and that's what they usually are. I hate ads that interrupt my browsing, or that put a heavy load on my system. So an adblock software that just blocks the annoying shit would be ok in my book.

    If they include nothing, people have to look elsewhere. Maybe what they get is an app written by a "No ads at all ever," kind of zealot that just straight blocks everything, including Google. that hurts them, of course.

    As such by being pragmatic about it, they can have a measure of control over it. If they just try to pretend it doesn't exist, they may get something they don't want.

  15. The Internet without advertisers by ThrowAwaySociety · · Score: 4, Insightful

    It may shock some people, but there was an Internet (and a web) before there were commercially supported websites.

    It was smaller, but it worked just fine. In fact, it worked beautifully. Many of us want it back.