Pages

FREE HOSTING

728x90

Adf.ly and Adfoc.us Website Entry and Overlay Scripts for Blogger

Tuesday, 24 January 2012
I will share you this incredible script that can convert ALL your site's link into adf.ly one. So, everytime use click on the link, it will redirected to adf.ly site and you're revenue will counting up.


 Adfly Script::

<script type="text/javascript">
onmousemove = function adfly() {
adfly_id = '
3142714'; //replace with your ID
for (var i = 0; i < document.links.length; i++) {
var hrefer = document.links[i].href;
if(hrefer.match("adf.ly") || hrefer.match("javascript:")|| hrefer.match("#")) {
document.links[i].href = document.links[i].href;
}else{document.links[i].href = 'http://adf.ly/' + adfly_id + '/' + document.links[i].href;}
}
}
</script> 



Adfocus Script::

<script type="text/javascript">
onmousemove = function adfocus() {
adfocus_id = '73954'; //replace with your ID
for (var i = 0; i < document.links.length; i++) {
var hrefer = document.links[i].href;
if(hrefer.match("adfoc.us") || hrefer.match("javascript:")|| hrefer.match("#")) {
document.links[i].href = document.links[i].href;
}else{document.links[i].href = 'http://adfoc.us/' + 'serve' + '/' + 'sitelinks' + '/' + '?' + 'id' + '=' + adfocus_id + '&' + 'url' + '=' + document.links[i].href;}
}
}
</script>


 Change Red Digits with your ID.


Just paste these Scripts above blogger template in </body>


But if you are receiving any error then Copy Script and Parase it in this website

 

Explanation:
This script will convert all your site's link, EXCEPT adf.ly itself, javascript href, and '#' href. You can add any other link as exception such as your own site, advertising link, etc. To do that, just add the new || hrefer.match("your URL")) inside the IF section of the script.
That's it.. :D Very simple right? Don't forget to PARSE the script so it can work on your template (especially for blogger user)

I know that adf.ly have provided the similar script but trust me, my script is easier andfaster to load... :D
 

No comments:

Post a Comment