-
-
Save Michaelcgn/83803c6391c02a3c79d2e921afb44ce6 to your computer and use it in GitHub Desktop.
Benutzerdefinierte Variable Mehr Infos im Blog unter:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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