Greenguy's Board


Go Back   Greenguy's Board > Programming & Scripting
Register FAQ Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
Old 2013-08-07, 11:47 AM   #1
Fonz
Former pr0n slinger.
 
Fonz's Avatar
 
Join Date: Aug 2003
Location: Antwerp, Belgium
Posts: 7,932
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>
__________________
See how I abuse little trees on my Shumi no Bonsai Blog

Last edited by Fonz; 2013-08-07 at 12:07 PM..
Fonz is offline   Reply With Quote
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:24 PM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc