Skip to content

Instantly share code, notes, and snippets.

@Michaelcgn
Last active April 22, 2019 10:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save Michaelcgn/83803c6391c02a3c79d2e921afb44ce6 to your computer and use it in GitHub Desktop.
Save Michaelcgn/83803c6391c02a3c79d2e921afb44ce6 to your computer and use it in GitHub Desktop.
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