• Login
    • Search
    • Categories
    • Recent
    • Tags
    • Users
    • Groups
    • Rules
    • Help

    Do more on the web, with a fast and secure browser!

    Download Opera browser with:

    • built-in ad blocker
    • battery saver
    • free VPN
    Download Opera

    How to block the new Google Adsense?

    Opera for Windows
    3
    4
    3816
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • hansonyang
      hansonyang last edited by

      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

      Reply Quote 0
        1 Reply Last reply
      • blackbird71
        blackbird71 last edited by

        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.

        Reply Quote 0
          1 Reply Last reply
        • hansonyang
          hansonyang last edited by

          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.

          Reply Quote 0
            1 Reply Last reply
          • j7nj7n
            j7nj7n last edited by

            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.

            Reply Quote 0
              1 Reply Last reply
            • First post
              Last post

            Computer browsers

            • Opera for Windows
            • Opera for Mac
            • Opera for Linux
            • Opera beta version
            • Opera USB

            Mobile browsers

            • Opera for Android
            • Opera Mini
            • Opera Touch
            • Opera for basic phones

            • Add-ons
            • Opera account
            • Wallpapers
            • Opera Ads

            • Help & support
            • Opera blogs
            • Opera forums
            • Dev.Opera

            • Security
            • Privacy
            • Cookies Policy
            • EULA
            • Terms of Service

            • About Opera
            • Press info
            • Jobs
            • Investors
            • Become a partner
            • Contact us

            Follow Opera

            • Opera - Facebook
            • Opera - Twitter
            • Opera - YouTube
            • Opera - LinkedIn
            • Opera - Instagram

            © Opera Software 1995-