23 August 2010

Secure Your Adsense Ads From The Same Ip Access (1)

If the IP Address of blog visitors is the same with yours we can redirect them to another blog or website does not contain of adsense ads. And if visitors are not the same as your IP Address then let them to visit your blog.

In order to secure your existing adsense ads on the blog one of way is by looking at the IP Address. If the IP Address of blog visitors is the same with yours (usually in the same Network Area or in the same Internet Service Provider), we can redirect them to another blog or website does not contain of adsense ads. And if visitors are not the same as your IP Address then let them to visit your blog.



This way can be applied to your blogspot or blogger.com account. Here are steps to secure your adsense ads as follows :



First, login to your blogger.com account and get into the menu of Layout > Edit Html and tick the check box of Expand Widget Templates, then attach the following code under the tag of <head>



<SCRIPT LANGUAGE=”JavaScript” SRC=”http://www.searchnc.com/cgi-bin/myip.pl”>

</SCRIPT>



Second, attach the following code under the tag of <body>



<SCRIPT LANGUAGE=”JavaScript”>

var ndx=IP.lastIndexOf(”.”);

var cblock=IP.substr(0,ndx);

if (cblock==”Yours.Ipaddress”) location.href=”http://www.toanotherblog.com/”;

</SCRIPT>



Actualy there is another way to secure adsense ads by hiding the ads from the same IP-Address access. Soon on the next post we will see how it works.



Good Luck.



Related Posts from :

0 comments:

Post a Comment