Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Benutzerdefinierte Variable Mehr Infos im Blog unter:
function() {
var referrals = [
'3d-?secure\\.',
'securecode'
];
var hname = new RegExp({{Page Hostname}}).exec({{Referrer}});
if (hname) {
for (var i = referrals.length; i--;) {
if (new RegExp(referrals[i]).test(hname[1])) {
return null;
}
}
}
return {{Referrer}};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment