1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WP Clickbomb protection

Discussion in 'Blogging' started by StillSmiling, Jan 12, 2009.

  1. StillSmiling

    StillSmiling Regular Member

    Joined:
    Mar 8, 2008
    Messages:
    233
    Likes Received:
    77
    OK, I must be blind today. I can't seem to find a WP friendly adsense click protection script. I thought I saw one either here or over in the WP plugins pages, but now I can't track it down. The closest thing I'm finding is this:

    Code:
    http://planetozh.com/blog/my-projects/wordpress-plugin-who-sees-ads-control-adsense-display/
    Does anyone know of another WP plugin that will fit the bill? (***Click-lock is not WP friendly**).
     
  2. pimpnasty

    pimpnasty Junior Member

    Joined:
    Oct 20, 2008
    Messages:
    105
    Likes Received:
    337
    Privacy Policy plugin is a good plugin I like it... Should do the job
     
  3. StillSmiling

    StillSmiling Regular Member

    Joined:
    Mar 8, 2008
    Messages:
    233
    Likes Received:
    77
    You must be thinking of something else. How is a Privacy Policy going to prevent someone from clickbombing a WP blog?
     
  4. sidddd

    sidddd Power Member

    Joined:
    May 15, 2008
    Messages:
    749
    Likes Received:
    461
    Why not make use of adblock to prevent all ads being shown when you browse any websites... ?
     
  5. justone

    justone Elite Member

    Joined:
    Oct 12, 2008
    Messages:
    1,519
    Likes Received:
    1,037
    Occupation:
    -
    Location:
    Europe
    Sorry for offtopic, is that a common problem ?
     
  6. springer98

    springer98 Regular Member

    Joined:
    Dec 6, 2008
    Messages:
    211
    Likes Received:
    250
    Occupation:
    We doeneeeeed no stinkin' yob!
    Location:
    ZRF
    I didn't have trouble understanding what you were looking for.

    This is the closest I can come up with, though.

    Code:
    http://tech-buzz.net/2006/06/20/how-to-track-invalid-clicks-in-wordpress/
    It's better than nothing.
     
  7. zone69

    zone69 Junior Member

    Joined:
    Nov 24, 2008
    Messages:
    196
    Likes Received:
    1,290
    I'm not sure of a plugin for wordpress, but you can use some javascript to not display adsense ads after X amount of clicks and show another ad instead, maybe an affiliate ad or whatever you wish.

    here is an example:

    Add this to your html head.
    Code:
    <script language="JavaScript">
    
    var clickCount = readCookie();
    if ( clickCount == null ){
        clickCount = 0;
    }
    
    function trackclick() {
        clickCount = parseInt(clickCount)+1;
        setCookie( clickCount, 2 );
        return true;
    }
    
    function setCookie( cookieValue, nDays) {
        var today = new Date();
        var expire = new Date();
        if (nDays==null || nDays==0) nDays=1;
        expire.setTime(today.getTime() + 3600000*24*nDays);
        document.cookie = "clicktrack="+escape(cookieValue)
                          + ";expires="+expire.toGMTString();
    }
    
    function readCookie() {
        var nameEQ = "clicktrack=";
        var ca = document.cookie.split(';');
        for(var i=0;i < ca.length;i++) {
            var c = ca[i];
            while (c.charAt(0)==' ') c = c.substring(1,c.length);
            if (c.indexOf(nameEQ) == 0){
                return c.substring(nameEQ.length,c.length);
            }
        }
        return null;
    }
    
    </script>
    
    Then in your html
    Code:
    <div id="banners" onclick="trackclick();">
    
    <script language="JavaScript">
    
    if ( clickCount > 2 ){
    	document.write('
            <a href="http://mydomain.com/go-here-if-clickcount-surpassed">
            <img src="http://mydomain.com/show-this-image.jpg">
            </a>
            ');
    }else{
    	document.write('
            <script type="text/javascript"><!--
    	google_ad_client = "pub-xxxxxxxxxxxxxx";
    	google_ad_slot = "xxxxxxxxxx";
    	google_ad_width = 728;
    	google_ad_height = 90;
    	//-->
    	</script>
    	<script type="text/javascript"
    	src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
    	</script>
            ');
    }
    
    </script>
    </div>
    
    You can style the div with id banners as you wish, and fill in your adsense info. When clickcount is surpassed, in this case over 2 clicks, then you can show another ad as you wish.

    This is not foolproof as you can just delete cookies and still clickbomb but not everyone is savvy and will just quit when they see no more adsense ads appearing.

    Hope this helps.
     
    • Thanks Thanks x 5
  8. skypeautosender

    skypeautosender Newbie

    Joined:
    Sep 29, 2008
    Messages:
    20
    Likes Received:
    5
    Occupation:
    walking in the sky
    Location:
    sky
    Home Page:
    if people want to clickbomb to your adsense, thats no way to protect unless you never upload your adsense ad to show.
    thats very simple to clickboom to adsense, just download the adsense code(even only just know with pub ID) and then drop it to click software and auto click till hell.
    caca will change proxy,useragent, deleted cookies, fake ref etc as well.
    i did this clickboom to a people last months because he try to threaten me and said my product bad word at forum. well, he have adbrite and adsense, but i think i success to boom his adsense because he move his adsense, but not adbrite(maybe i did wrong with the adbrite code, but dont care of it and i just try to boom any of it)
     
  9. El-Plaga

    El-Plaga Regular Member

    Joined:
    May 3, 2007
    Messages:
    219
    Likes Received:
    28
    Nice post zone69, need this for a few of my blogs lol
     
  10. zone69

    zone69 Junior Member

    Joined:
    Nov 24, 2008
    Messages:
    196
    Likes Received:
    1,290
    sure, there is no way to be 100% safe BUT if you download the code and run it elsewhere google can see the source IP of where the ad loaded. And I understand you are using a proxy to click and could take it one step further and force the source IP of where the ad is loading through a proxy BUT google is smart enough to know that the code is loaded somewhere else and it is being bombed. Google expects the ads to be loading on 1 IP and clicks to come from many IPs. Basically all google needs to do is look at the source IP used to load the ads. If its 1 IP and not where the ads are being run(person's domain) then the code was stolen. If the ad is loading on many IPs then someone is loading it through proxies.

    So i doubt your method will get many people banned as it's easy to explain.
     
  11. blackhit

    blackhit Super Moderator Staff Member Jr. VIP Premium Member

    Joined:
    Jan 28, 2008
    Messages:
    2,406
    Likes Received:
    4,268
    Location:
    Dark Side Of The Moon
    That's why I have entered all my sites in the "Allowed Websites" list in the Adsense Control Panel.

    When someone steals my code and run it from somewhere else it doesn't count as a legit click.

    Every week there are at least 2 to 3 sites or IP's that ran my code without my approval.
     
  12. skypeautosender

    skypeautosender Newbie

    Joined:
    Sep 29, 2008
    Messages:
    20
    Likes Received:
    5
    Occupation:
    walking in the sky
    Location:
    sky
    Home Page:
    well, i am not bad guy, i just want to make money online with peace, for google, yes you can explain easier, but thats not 100% will get back your account.

    :)
     
  13. zone69

    zone69 Junior Member

    Joined:
    Nov 24, 2008
    Messages:
    196
    Likes Received:
    1,290
    True, nothing is 100%.

    It's a good idea to monitor your adsense accounts and if you notice anything funny to report it yourself rather than wait for google to come to you. Always looks better this way.
     
  14. StillSmiling

    StillSmiling Regular Member

    Joined:
    Mar 8, 2008
    Messages:
    233
    Likes Received:
    77
    Wow! Thanks Zone69! I will give that a go! Your post helped explain to me the coding that went into the plugin that I linked to in the first post. The plugin has more options, but the concept is the same. I was looking for a WP version of Clicklock, and the plugin was the closest I'd seen, so I ran with it -- and so far so good with the simple install. Whatever works, ya know?

    Thanks Springer98, I may implement that as well. I hate to be "reactionary" when it comes to adsense -- I'd much rather be proactive -- but it'll help my case if I somebody successfully clickbombs me and I have to plead to G to get reinstated.

    Justone, it's probably more common than people realize. It could be anybody -- your competition, your ex, some asshat reading a thread in which you've posted your url. All it takes is ONE good instance and bam, your adsense acct is suspended for ALL of the associated sites.

    I'm really surprised that there aren't multiple programs out there for WP. And now I'm curious as to what you Farmers are using to protect yourselves?
     
  15. StillSmiling

    StillSmiling Regular Member

    Joined:
    Mar 8, 2008
    Messages:
    233
    Likes Received:
    77
    ^^^Folks, this right here is GOLDEN. I remember reading somewhere that some dude thought it was foolish to not let somebody else "mistakenly use my code and make money for me". All I could think of was 10 easy ways that person could screw him.
     
  16. blackhit

    blackhit Super Moderator Staff Member Jr. VIP Premium Member

    Joined:
    Jan 28, 2008
    Messages:
    2,406
    Likes Received:
    4,268
    Location:
    Dark Side Of The Moon
    Absolutely, like giving a total stranger the keys to your car and hope you'll get it back in one piece.