Guys,

Does anyone know a redirect script that leaves the referrer in Internet Explorer?

<script type="text/javascript">
<!--
window.location = "http://www.google.co.uk"
//-->
</script>

The above script doesn't leave a referrer in IE (there's a surprise!)... ideally it would need to be JavaScript based because I need to make sure the user has JavaScript enabled and such ...

Thanks guys! :D

well, you could try an invisible 'a' element and then programmaticly click it. that would probably work, but I have no idea how you would implement that though

well, you could try an invisible 'a' element and then programmaticly click it. that would probably work, but I have no idea how you would implement that though

That's a good idea, but I'm not too sure how I'd go about that either... hmmmm!

I'll experiment on that one, and rather use on the onclick function I may use an onload or something... it may just work!

Anyway thanks for the reply! :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.