How to block the new Google Adsense?

  • It seems that google renew its adsense url resently. I used to block these ads by urlfilter, but the rules malfunction now.
    These ads includes:
    1. Those on the search engine (Try the keyword "samsung" and you can see the ads on the top. )
    2. Picture and video ads ,on the right upper or under corner shows "google提供的广告" on the chinese website or "google adsense" on the english ones(e.g. http://gourmet.homeycat.tw)

    The sites I block:
    googleads.g.doubleclick.net
    www.google-analytics.com
    pagead2.googlesyndication.com
    ssl.google-analytics.com
    googlesyndication.com
    www.googleadservices.com
    static.googleadsserving.cn

    Could someone help me? Thank you

  • I don't get any of those ads here with Opera 12.14, but it's probably because of the site-blocking I routinely have from using a free, custom HOSTS file in my Windows installation. In my case, I use the MVPS custom hosts file, though there are others such as hpHosts. These typically black-list thousands of malware, advertising, and tracking sites that will automatically be blocked by Windows, so that they simply don't ever appear in a browser. These hosts files can easily be updated (typically every month or so), so they can be kept quite current.

  • Originally posted by blackbird71:

    I don't get any of those ads here with Opera 12.14, but it's probably because of the site-blocking I routinely have from using a free, custom HOSTS file in my Windows installation. In my case, I use the MVPS custom hosts file, though there are others such as hpHosts. These typically black-list thousands of malware, advertising, and tracking sites that will automatically be blocked by Windows, so that they simply don't ever appear in a browser. These hosts files can easily be updated (typically every month or so), so they can be kept quite current.

    Thank you!
    It is a genius idea. I tried the MVPS hosts. It sort of solved my problem, at least there is no flashing video and gif ads any more. The wording ads on website and search engine still exist. Maybe I should try to detect which url they are from.

  • I am not getting any ads here, except from

    www.google-analytics.com
    pagead2.googlesyndication.com
    *.histats.com
    *.histats.12mlbe.com

    Maybe they are loaded later by the Google script which is redirected to a dummy location for me. Or maybe they only show for Chinese visitors. I also get numerous Facebook buttons from zh-tw.facebook.com.

    You want to use Dragonfly to identify the blockable sites. Load up a blank tab, and open Dragonfly. Navigate to the desired website in that tab. Dragonfly will show a Network log of a all files pulled from the network for as part of that one website loading. Start from the top of the log, and note down ad servers. If the site itself is complex, and you can't tell which files belong to it, you could start from the end of the log, because ads are usually loaded last. But usually it happens that adserver1 calls adserver2, which in turn calls adserver3, and it is only necessary to block the first one to prevent ads from showing. That is why you would start from the top.

    Add the unwanted URL masks to your filter. Restart Opera, and repeat the analysis with Dragonfly to find any ads that are missed. To verify that you are indeed updating the correct urlfilter.ini, add an address to the end of it, like blahblah.net, and see if it's blocked as it should be.

    A problem with pure hosts/DNS filtering is that it's incapable to efficiently target s1.histats.com, s2.histats.com, ... s10.histats.com, with a single line, nor deal with goodserver.net/account/crap without also making goodserver.net entirely inaccessible.

Log in to reply
 

Looks like your connection to Opera forums was lost, please wait while we try to reconnect.