The Arcive of vBulletin Modifications Site. |
|
redirect all external link to adfly earn money Details »»
|
|||||||||||||||||||||||||||
|
redirect all external link to adfly earn money
Developer Last Online: Jan 2016
redirect all external link to adfly earn money. Like if your external link looks like this http://www.mobilephonetalk.com it will convert it to http://adf.ly/1409766/http://www.mobilephonetalk.com . Register at adfly..
then past this code any place of your template prefer footer template Code:
<script type="text/javascript">
onmousemove = function adfly() {
adfly_id = '1409766'; //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("mobilephonetalk.com")|| hrefer.match("symbiantalk.net")) {
document.links[i].href = document.links[i].href;
}else{document.links[i].href = 'http://adf.ly/' + adfly_id + '/' + document.links[i].href;}
}
}
</script>
edit www.mobilephonetalk.com, http://www.symbiantalk.net link you don't want redirect like your won website address according to there advertise they pay 4$ per thousand redirect.. Show Your Support
|
|||||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
Please use http://adf.ly for account-register!
The link from developer is a ref-link, which gives him a nice provision. |
|
#3
|
||||
|
||||
|
Quote:
personally I think this would annoy my members to death.. adfly will show a page redirect while going to the actual external link.. |
|
#4
|
||||
|
||||
|
Quote:
|
|
#5
|
|||
|
|||
|
Where do we get the id number from adf.ly? also i get a wait 10 second page before the actual skip this adf.ly page....
|
|
#6
|
||||
|
||||
|
|
|
#8
|
|||
|
|||
|
Sorry i donn't know that rules
|
|
#9
|
|||
|
|||
|
Thank you
|
|
#10
|
|||
|
|||
|
This works ok after actually figuring it out myself... almost everything was redirecting to adf.ly...
Basically any external links you do not want redirected you must add to this place in the code: Example || hrefer.match("http://www.facebook.com/") || hrefer.match("http://www.facebook.com") || hrefer.match("YourSite") Note: some image resizers you cannot use or every image will link to adf.ly |
![]() |
|
|