Fonz
2013-08-07, 12:47 PM
Since all the nastydollar paysites seem to break out of frames (including the hun's one) and don't take your affiliate code with them so all sales go to their own wallet.
So this is what I want to do:
The surfer clicks my sponsor link -> he gets taken to a page on my server that does the following: break out of the frame an redirects to the sponsor's paysite.
I tried this code and it works but it makes it very hard to get back to thehun's site
<script type="text/javascript">
<!--
if (top.location!= self.location) {
top.location = self.location.href
}
//-->
window.location = "http://www.pure18.com/main.htm?id=smilin&p=clean&cmp=104gals";
</script>
So this is what I want to do:
The surfer clicks my sponsor link -> he gets taken to a page on my server that does the following: break out of the frame an redirects to the sponsor's paysite.
I tried this code and it works but it makes it very hard to get back to thehun's site
<script type="text/javascript">
<!--
if (top.location!= self.location) {
top.location = self.location.href
}
//-->
window.location = "http://www.pure18.com/main.htm?id=smilin&p=clean&cmp=104gals";
</script>