How To Be A Complete Dick to Your Nosy Competition
Posted on November 20th, 2008 in Affiliate Marketing, Coding, Funny
If you're tired of refreshing this page every day like a d-bag, you should probably subscribe to the RSS feed.
How many times have you thought to yourself, “Self, I really wish I could rickroll all those other affiliates who click my ads and spy on my landing pages.” Thats exactly what Nickycakes was thinking yesterday when he wrote Anti-Aff, the latest in affiliate vs. affiliate rickroll technology.
So how does it work? Well, first you install the software on your server, or just use nickycakes’ hosted version. Then you put the tracking pixel in your forum signature on wickedfire, digital point, your affiliate related blog, pretty much any place that you know other affiliates will be viewing. The software will then build a list of everyone who loaded said pixel for future reference.
Now…on your landing page, you put a piece of javascript that goes to the database, sees if that person has viewed your tracking pixel at some point in time, meaning they are likely an affiliate and not a dumb girl who wants to lose weight by drinking green tea, and if so, redirects them to a rickroll.
If you would like to use Nickycakes’ hosted version that already has over 1000 recorded rickroll targets, feel free to put this code on your landing page (depending on your browser you may have to fix the quotes):
<script type=”text/javascript” src=”http://aff.dedicakes.com/hi.php”></script>
Before you load your landing page, make sure you whitelist yourself at the following url:
http://aff.dedicakes.com/whitelist.php
Pretty simple.
If you don’t trust nickycakes’ hosted version, feel free to download the code and install it on your own server:
Update: Tobsn was nice enough to completely re-code and optimize this thing making it even more leet. Please download it here.
Keep it real.





November 20th, 2008 at 5:49 pm
Hahaha! Freaking great idea. I’ve checked the source code, and I was wondering why you are registering the user agent ? I guess only the IP is useful, lol.
November 20th, 2008 at 5:59 pm
Actually, what’s the point of whitelisting ? If all affiliates view your post and whitelists themselves, everyone can view everyone’s landing pages! I think it would be better to go with the hosted version, lol.
November 20th, 2008 at 6:51 pm
Yeah, my hosted one is just for fun. Certainly not everyone on wickedfire/digitalpoint/whatever read this, so, it’ll still work on many =)
November 20th, 2008 at 6:59 pm
Haha, imagine the surprise as they snoop. Very funny.
November 20th, 2008 at 7:18 pm
not saying you are going to do anything with it, but this will give you everyones landing page url who uses your js.
November 20th, 2008 at 7:36 pm
It might be better to show a alternate landing page that looks like crap.
November 20th, 2008 at 8:15 pm
@imnotsid: not like i need everyones retarded acai landing pages. if i wanted that i’d just google acai and start clickin
November 20th, 2008 at 8:47 pm
*FALLS OUT OF CHAIR LAUGHING*
Hahah, bad ass. Thanks for sharing.
November 20th, 2008 at 10:01 pm
the optimized version for more performance on high traffic sites: http://www.seo-blackhat.com/download/fast.antiaff.tar.gz
November 21st, 2008 at 12:13 am
I am in awe.
November 21st, 2008 at 12:32 am
If Ryan Eagle had inadvertently come across this, he would’ve had Rick Astley videos on all of his weight loss pages.
November 21st, 2008 at 1:06 am
haha that’s badass
November 21st, 2008 at 1:16 am
BWAHAHAHA. I’m gonna change it up so it redirects to adultfriendfinder or fling.
“NO HONEY… I SWEAR I’M WORKING”
November 21st, 2008 at 1:26 am
I like this link better than rick astley:
http://ugux.com/hacked.php
Maybe I’ll integrate it.
November 21st, 2008 at 4:13 am
That is absolutely genius!
November 21st, 2008 at 4:23 am
Is it wrong that I laughed that you had “dedicakes.com”?
November 21st, 2008 at 4:24 am
Oh my god, it’s like I outsourced my grammar to India.
November 21st, 2008 at 5:27 am
Now thats very clever!
November 21st, 2008 at 6:57 am
Pretty great idea
November 21st, 2008 at 5:06 pm
Brilliant.
November 21st, 2008 at 8:22 pm
ha! great idea. i’m guessing this method is already used by affiliates (minus the rickroll aspect)?
November 22nd, 2008 at 1:25 am
Funny. Or, show them a landing page that couldn’t possibly be profitable - a bit more discreet and far more effective.
November 22nd, 2008 at 11:22 am
lol, what if an advertiser that frequent WF click on your ad.
November 22nd, 2008 at 12:58 pm
haha, good idea. Ill have to try your script. Ive been blocking people who might be affiliates with .htaccess.
I’m sure more than a few had a nice surprise when I redirected them to some not so nice adults sites. is that too much? should i be nicer and just rickroll?
November 22nd, 2008 at 1:01 pm
I was gonna make it a dickroll, but i’m trying to prevent my dad, who reads this, from ever seeing that.
November 23rd, 2008 at 4:31 am
Man,
You’re a genius!!!!!!!!!
November 24th, 2008 at 6:57 am
Brilliant !
48 hours before some douche packages it as part of their 500$ super affiliate ebook&tools on clickbank.
November 25th, 2008 at 12:14 am
that goes faster these days.
http://www.seo-blackhat.com/article/matt-garrett-fuck-you.html
November 25th, 2008 at 6:10 pm
genius!
November 28th, 2008 at 6:54 pm
Great stuff Nick!
December 16th, 2008 at 8:48 pm
Hey noob question here but how would you go about manually adding an ip to the list?
i dont fully understand the encoding (ips in the DB arent ips).
thanks!
December 22nd, 2008 at 8:20 pm
ips in the db are real ips - just “encoded” with ip2long - see php.net/ip2long
doing this let you save an ip as an unsigned interger instead of char or 4 seperated unsigned tiny int fields.
January 26th, 2009 at 3:15 pm
bwahaha.. you are my fucking hero!