<script>
if (document.referrer&&document.referrer!=""
document.write('Thanks for visiting this site from '+document.referrer+'<BR>');
</script>
thanx mit, but i need a code which wud work xactly as "javascript:history.back()", if i use document.referrer n i goo from page 1 to 2 to 3, then clicking the back button of 3 takes me to 2 n clicking back of 2 again takes me to 3 instead of 1. "javascript:history.back()" does the trick but i need an alternative, is there any code to get the url of "javascript:history.back()"?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.