Help with a redirect script

by Louis2
0 replies
Hi,
I have the following redirect script which I like, only I want the first page to be framed (so my URL is shown)
instead of it simply redirecting to the affiliate site itself.

script>
//Browser redirect Script- © Dynamic Drive ( )
//For full source code, 100's more DHTML scripts, and Terms Of Use,
//visit dynamicdrive.com
var browser_type=navigator.appName
var browser_version=parseInt(navigator.appVersion)
//if NS 6
if (browser_type=="Netscape"&&browser_version>=5)
window.location.replace("")
//if IE 4+
else if (browser_type=="Microsoft Internet Explorer"&&browser_version>=4)
window.location.replace("")
//if IE 4+")
//if NS4+
else if (browser_type=="Netscape"&&browser_version>=4)
window.location.replace("")
//if IE 4+")
//Default goto page (NOT NS 4+ and NOT IE 4+)
else
window.location="
Dynamic Drive DHTML(dynamic html) & JavaScript code library"
</script>

I had to remove all links to post.
Does anyone have a suggestion as to making this framed to my link initially
and then have it break the frame after the visitor clicks on another link?
This way my cookie will be set as the referral without them seeing the affiliate link first.

I place this script below the </head> tag and the <body> tag.

Also when I use this any info I place between the body tags shows up when I run a spider simulation.
Is this fact useful, or will it get my site banned by the bigG?

All suggestions welcomed.

Thank you,
Louis
#redirect #script

Trending Topics