var block = ['url1', 'url2'];
for (var b = block.length; b--;) {
if (document.referrer.match(block[b]))
window.location = "http://google.com/";
}
Connect with an established international community of webmasters, hosting providers, developers and online entrepreneurs.