I'm currently using this JavaScript popup confirmation redirect:
var answer = confirm("If you are joining us through site other than" +
"website.net, .com or .info please hit OK otherwise hit cancel!");
if(answer)
window.open('http://website.net', '_blank');
else
alert("You need to know that it will not work for you well if you don't")
I would really like a way to use this popup only if user was not on targeted page.