sarettah this worked with me just after doing little change
Code:
if (document.referrer.indexOf('https://gfy.com/') > -1)
{
window.location='http://yahoo.com';
}
else if (document.referrer.indexOf('https://gfy.com/forum') > -1)
{
window.location='http://msn.com';
}
else
{
window.location='http://www.google.com';
}
thanks
Quote:
Browsers do not always provide a document.referrer. If the referrer is from a https it is blocked, or if the security settings in the broswer block it none is provided. These people will never get past the page and will be cut off from being able to use your site
|
they will go to
http://www.google.com , right ?