GoodBye to Forumotion adf.ly Spam
Posted February 10th 2012, 8:15pm
@ http://jsfiddle.net/defencedog/3kAtv/
@ all forum versions

here is the code tht will omit the spamy redirection service from posted links:

var source='Distribution/Editing  of  this code is allowed but the source(s) must be  mentioned.  http://www.diondesigns.org &  http://www.avacweb.com ';

$(function() {
var x = $('div.content.clearfix a').get(); //edit ths for different versions

for (i = 0; i < x.length; i++) {
var link = $(x[i]).attr('href');

var splt = link.split('http');

if (splt.length == 3) {
$(x[i]).attr('href', 'http' + splt[2]);
}
}
});‚Äč


just place it via JS management.

[strike]Now my question to Gurus

ths line i really got out from experiments:
if (splt.length == 3) {
the problem is tht splitted fragments must be 2 NOT 3?? ( as is viewed via alerts() )

for adf.ly links: (two commas)
,://adf.ly/1/,://www.mediafire.com/download.php?lg5z42ra13ac9hi

for non-adf.ly links
,://www.gre.com.pk/
[/strike]

I got it
1] stuff before first http
2] stuff b/w two http
3] stuff after last http
φ
Posts: 163
Joined: August 5th 2011, 11:00pm
Location: Pakistan
Likes Given: 34
Likes Received: 3
GoodBye to adf.ly Spam
Posted February 10th 2012, 8:59pm
lol, fm's making profits from it :D
φ
Posts: 209
Joined: September 10th 2011, 11:00pm
Location: SC, USA
Likes Given: 8
Likes Received: 8
GoodBye to adf.ly Spam
Posted February 10th 2012, 9:56pm
φ
Posts: 163
Joined: August 5th 2011, 11:00pm
Location: Pakistan
Likes Given: 34
Likes Received: 3
1
#4
GoodBye to adf.ly Spam
Posted February 11th 2012, 12:39am
@ioncube: I knew that but I mean its kinda unfair for them :( .
φ
Posts: 209
Joined: September 10th 2011, 11:00pm
Location: SC, USA
Likes Given: 8
Likes Received: 8
1
#5
GoodBye to adf.ly Spam
Posted April 7th 2012, 11:31pm
When looking for posts to check out a new feature, I came across this topic.

Now that this board is no longer on FM, I see no reason for it to be hidden.
φ
Posts: 1599
Joined: March 12th 2009, 11:00pm
Location: Uncertain due to momentum
Likes Given: 26
Likes Received: 357
GoodBye to adf.ly Spam
Posted May 7th 2012, 2:50pm
What does this do exactly?
φ
Posts: 12
Joined: May 6th 2012, 11:19am
Likes Given: 1
GoodBye to adf.ly Spam
Posted May 27th 2012, 2:48pm
Derri said:
What does this do exactly?


When clicking on a link to certain popular sites on forumotion, you are redirected to adf.ly which forumotion obviously makes money from. I guess this stops it?
φ
Posts: 1
Joined: May 27th 2012, 9:53am

Who is online

Users browsing this forum: No registered users and 1 guest