|
|
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
2013-08-07, 11:47 AM | #1 |
Former pr0n slinger.
|
WHat code do i need to break out of thehun's frame?
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 Code:
<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> Last edited by Fonz; 2013-08-07 at 12:07 PM.. |
2013-08-07, 12:06 PM | #2 |
Subversive filth of the hedonistic decadent West
Join Date: Mar 2003
Location: Southeast Florida
Posts: 27,936
|
Might not get past The Hun's bot and if it does it may get you banned but here you go.
Put this in your head section. Code:
<SCRIPT LANGUAGE="java-script> <!-- if (window != top) top.location.href = location.href; // --> </SCRIPT> |
2013-08-07, 12:09 PM | #3 |
Former pr0n slinger.
|
Thanks cleo, I adjusted my origional post. I want to do the breakout after the surfer clicks a sponsor link.
|
2013-08-07, 12:15 PM | #4 |
Subversive filth of the hedonistic decadent West
Join Date: Mar 2003
Location: Southeast Florida
Posts: 27,936
|
Add this to your link
target="_top" |
2013-08-07, 02:48 PM | #5 |
Former pr0n slinger.
|
Yeah sure, make me look stupid...
Damn that was easy, no wonder I never became a programmer |
|
|