Use Replace To Goto New Page

[Total: 0    Average: 0/5]

Check the referrer location – and if not the valid one send the user onto another web page.

Body Code:


var from = document.referrer;
var here = "somespecificpage.html";

if (from.substring(0,here.length) != here)


Times Viewed: 9

Leave a Reply

Your email address will not be published. Required fields are marked *