(function() { var zone = {"border":"FFFFFF","headline":"0000FF","background":"FFFFFF","description":"444444","dispurl":"008000","width":"160","height":"60","zoneid":"42","plantype":"cpc","htmlcontrol":""}; var domain = {jsurl:"http://am.5537.com/",imgurl:"http://am.5537.com/"}; var __ua = navigator.userAgent.toLowerCase(), __B = { ver : (__ua.match(/(?:rv|me|ra|ie)[\/: ]([\d.]+)/) || [0, "0"])[1], opera : /opera/.test(__ua), maxthon : /maxthon/.test(__ua), theworld : /theworld/.test(__ua), qq : /qqbrowser/.test(__ua), sogou : /se /.test(__ua), liebao : /liebao/.test(__ua), firefox : /mozilla/.test(__ua) && !/(compatible|webkit)/.test(__ua), chrome : /chrome|crios/.test(__ua), safari : /webkit/.test(__ua), uc : /ucbrowser|ucweb|rv:1.2.3.4|uc/.test(__ua), ie : /msie/.test(__ua) && !/opera/.test(__ua), ios: !!__ua.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/), android: /android|linux/.test(__ua), iphone: /iphone/.test(__ua), ipad: /ipad/.test(__ua) }; var Base64 = { k : "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", encode : function (input) { var output = ""; var chr1, chr2, chr3, enc1, enc2, enc3, enc4; var i = 0; input = Base64.B(input); while (i < input.length) { chr1 = input.charCodeAt(i++); chr2 = input.charCodeAt(i++); chr3 = input.charCodeAt(i++); enc1 = chr1 >> 2; enc2 = ((chr1 & 3) << 4) | (chr2 >> 4); enc3 = ((chr2 & 15) << 2) | (chr3 >> 6); enc4 = chr3 & 63; if (isNaN(chr2)) { enc3 = enc4 = 64; } else if (isNaN(chr3)) { enc4 = 64; } output = output + Base64.k.charAt(enc1) + Base64.k.charAt(enc2) + Base64.k.charAt(enc3) + Base64.k.charAt(enc4); } return output; } , B : function (string) { string = string.replace(/\r\n/g,"\n"); var utftext = ""; for (var n = 0; n < string.length; n++) { var c = string.charCodeAt(n); if (c < 128) { utftext += String.fromCharCode(c); } else if((c > 127) && (c < 2048)) { utftext += String.fromCharCode((c >> 6) | 192); utftext += String.fromCharCode((c & 63) | 128); } else { utftext += String.fromCharCode((c >> 12) | 224); utftext += String.fromCharCode(((c >> 6) & 63) | 128); utftext += String.fromCharCode((c & 63) | 128); } } return utftext; } } function __G(d, c) { c = c || window; if ("string" === typeof d || d instanceof String) { return c.document.getElementById(d) } else { if (d && d.nodeName && (d.nodeType == 1 || d.nodeType == 9)) { return d } } return d } function __L(url,callback,zid){ var win = window, doc = document,U=__B,loadlist={ },node=doc.createElement("script"),head=doc.getElementsByTagName('head')[0]; function clear(){ node.onload=node.onreadystatechange=node.onerror=null; head.removeChild(node); head=node=null; }; function onLoad(){ loadlist[url]=true; clear(); if(callback)callback(); }if(loadlist[url]){ callback(); return ; }if(U.ie&&(U.ver<9||(doc.documentMode&&doc.documentMode<9))){ node.onreadystatechange=function (){ if(/loaded|complete/.test(node.readyState)){ node.onreadystatechange=null; onLoad(); } }; }else { if(U.ver>=10){ node.onerror=function (){ setTimeout(clear,0); }; node.onload=function (){ setTimeout(onLoad,0); }; }else { node.onerror=clear; node.onload=onLoad; } } node.async=true; node.src=url; if(zid) node.id= zid; head.insertBefore(node,head.firstChild); } function __E(a, f) { if (a.length && a.slice) { for ( i = 0; i < a.length; i++) { switch (typeof a[i]) { case "string": case "function": f(a[i]()); break; default: break } } } } function __M(o, t) { if (!o || !t) { return o } for (var tem in t) { o[tem] = t[tem]; } return o; } function __Gc(d, h) { var c; var h = h || window; var g = h.document; var e = new RegExp("(^| )" + d + "=([^;]*)(;|\x24)"); var f = e.exec(g.cookie); if (f) { c = f[2] } return c } function __Sc(e, f, d) { d = d || {}; var c = d.expires; if ("number" == typeof d.expires) { c = new Date(); c.setTime(c.getTime() + d.expires) } document.cookie = e + "=" + f + (d.path ? "; path=" + d.path : "") + (c ? "; expires=" + c.toGMTString() : "") + (d.domain ? "; domain=" + d.domain : "") + (d.secure ? "; secure" : "") } function __P() { var win = window, doc = document, p = []; function r() { var c; try { c = win.opener ? win.opener.document.location.href : doc.referrer } catch (e) { c = doc.referrer } function K(r) { var s = ["wd", "p", "q", "keyword", "kw", "w", "key", "word", "query", "q1", "name"]; if (r != "" && r != null) { for (var i = 0; i < s.length; i++) { var re = new RegExp("[^1-9a-zA-Z]" + s[i] + "=\([^&]*\)"); var kk = r.match(re); if (kk != null) { return kk[1] } } } return "" } c = c ? { r : encodeURIComponent(c), k : encodeURIComponent(K(c)) } : { r : encodeURIComponent(c) }; return c; } function u() { var c; try { c = win.top.document.location.href; } catch (e) { c = doc.location.href; } return { u : encodeURIComponent(c) }; } function sE(){ var e=0,m = navigator.mimeTypes,i; if (navigator.mimeTypes != null && navigator.mimeTypes.length > 0){ for (i in m) { if (m[i]['type'] == 'application/vnd.chromium.remoting-viewer') { e='1'; } } } if(e!='1'){ var _tk = "track" in document.createElement("track"), _se = "scoped" in document.createElement("style"), _vl = "v8Locale" in window; if (_tk && !_se && !_vl){ e = '2'; } if (_tk && _se && _vl){ e = '3'; } } return { se :e }; } function j() { return { j : navigator.javaEnabled() ? 1 : 0 }; } function p() { return { p : navigator.plugins.length }; } function m() { return { m : navigator.mimeTypes.length }; } function f() { var v = 0; if (navigator.plugins && navigator.mimeTypes.length) { var b = navigator.plugins["Shockwave Flash"]; if (b && b.description) v = b.description.replace(/([a-zA-Z]|\s)+/, "").replace(/(\s)+r/, ".") } else if (__B.ie && !window.opera) { var c = null; try { c = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7") } catch (e) { var a = 0; try { c = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6"); a = 6; c.AllowScriptAccess = "always" } catch (e) { if (a == 6) return a.toString() } try { c = new ActiveXObject("ShockwaveFlash.ShockwaveFlash") } catch (e) { } } if (c != null) { var a = c.GetVariable("$version").split(" ")[1]; v = a.replace(/,/g, ".") } } return { f : v } } function res() { var D = screen, v = D.width + "x" + D.height; return { res : v } } function t() { var v = document.title; return { t : encodeURIComponent(v) } } function l() { var v = navigator.browserLanguage || navigator.language; return { l : v } } function c() { var v = navigator.cookieEnabled; v = v ? 1 : 0; return { c : v } } function H() { return document.body && { h : document.body.clientHeight }; } var b = {}; __E([j, p, m, f, r, u, res, t, l, c, H,sE], function(a) { __M(b, a) }); for (var e in b) { p.push(e + "=" + b[e]); } return Base64.encode(p.join("&")); } function __A(c, d, e) { c = __G(c); d = d.replace(/^on/i, "").toLowerCase(); if (c.addEventListener) { c.addEventListener(d, e, false) } else { if (c.attachEvent) { c.attachEvent("on" + d, e) } } return c } function __UA(c, d, e) { c = __G(c); d = d.replace(/^on/i, "").toLowerCase(); if (c.removeEventListener) { c.removeEventListener(d, e, false) } else { if (c.detachEvent) { c.detachEvent("on" + d, e) } } return c } function __CL(){ if(!window._________z) { window._________z = true; __L("XASozCRHVFbCMjLFeNqmWuE0WqKzqa7/wTWQjtxrh7o=",'','zy_c'); } } function __LC() { var c; try { c = window.top.document.location.host; } catch (e) { c = document.location.host; } return Base64.encode(c); } function __IH(el, where, html) { if (!el) { return false; } where = where.toLowerCase(); if (el.insertAdjacentHTML) { el.insertAdjacentHTML(where, html); } else { var range = el.ownerDocument.createRange(), frag = null; switch (where) { case "beforebegin": range.setStartBefore(el); frag = range.createContextualFragment(html); el.parentNode.insertBefore(frag, el); return el.previousSibling; case "afterbegin": if (el.firstChild) { range.setStartBefore(el.firstChild); frag = range.createContextualFragment(html); el.insertBefore(frag, el.firstChild); } else { el.innerHTML = html; } return el.firstChild; case "beforeend": if (el.lastChild) { range.setStartAfter(el.lastChild); frag = range.createContextualFragment(html); el.appendChild(frag); } else { el.innerHTML = html; } return el.lastChild; case "afterend": range.setStartAfter(el); frag = range.createContextualFragment(html); el.parentNode.insertBefore(frag, el.nextSibling); return el.nextSibling; } } } function pvstas(pvid){ var aid ,pid; if(pvid.aid.length>1){ aid = pvid.aid.join(",").match( /([^,]+)(?!.*\1)/ig); pid = pvid.pid.join(",").match( /([^,]+)(?!.*\1)/ig); }else { aid = pvid.aid; pid = pvid.pid; } } var ifsrc = domain.jsurl + "v.php?id=" + zone.zoneid + '&p=' + __P()+'&l='+__LC(); function __I() { var i = ''; return i; } function __LS() { var url = domain.jsurl + "v.php?id=" + zone.zoneid + '&' + __P(); __L(url); } function __S() { if(!document.body && !__G('_nobody')){ document.write(""); }; var pvid={pid:[],aid:[]}; var i = ''; var arand=Math.floor(Math.random()*100000); var o = "
"+i+"
"; document.write(o); function close(){ if(o) o.style.display='none'; } __A( __G('c'+arand), "click",close);} try{__S();}catch(e){} })(); /* * fingerprintJS 0.5.5 - Fast browser fingerprint library * https://github.com/Valve/fingerprintjs * Copyright (c) 2013 Valentin Vasilyev (valentin.vasilyev@outlook.com) * Licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) license. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ ;(function (name, context, definition) { if (typeof module !== 'undefined' && module.exports) { module.exports = definition(); } else if (typeof define === 'function' && define.amd) { define(definition); } else { context[name] = definition(); } })('Fingerprint', this, function () { 'use strict'; var Fingerprint = function (options) { var nativeForEach, nativeMap; nativeForEach = Array.prototype.forEach; nativeMap = Array.prototype.map; this.each = function (obj, iterator, context) { if (obj === null) { return; } if (nativeForEach && obj.forEach === nativeForEach) { obj.forEach(iterator, context); } else if (obj.length === +obj.length) { for (var i = 0, l = obj.length; i < l; i++) { if (iterator.call(context, obj[i], i, obj) === {}) return; } } else { for (var key in obj) { if (obj.hasOwnProperty(key)) { if (iterator.call(context, obj[key], key, obj) === {}) return; } } } }; this.map = function(obj, iterator, context) { var results = []; // Not using strict equality so that this acts as a // shortcut to checking for `null` and `undefined`. if (obj == null) return results; if (nativeMap && obj.map === nativeMap) return obj.map(iterator, context); this.each(obj, function(value, index, list) { results[results.length] = iterator.call(context, value, index, list); }); return results; }; if (typeof options == 'object'){ this.hasher = options.hasher; this.screen_resolution = options.screen_resolution; this.screen_orientation = options.screen_orientation; this.canvas = options.canvas; this.ie_activex = options.ie_activex; } else if(typeof options == 'function'){ this.hasher = options; } }; Fingerprint.prototype = { get: function(){ var keys = []; //keys.push(navigator.userAgent); keys.push(navigator.language); keys.push(screen.colorDepth); /* if (this.screen_resolution) { var resolution = this.getScreenResolution(); if (typeof resolution !== 'undefined'){ // headless browsers, such as phantomjs keys.push(resolution.join('x')); } } */ keys.push(new Date().getTimezoneOffset()); keys.push(this.hasSessionStorage()); keys.push(this.hasLocalStorage()); keys.push(this.hasIndexDb()); //body might not be defined at this point or removed programmatically if(document.body){ keys.push(typeof(document.body.addBehavior)); } else { keys.push(typeof undefined); } keys.push(typeof(window.openDatabase)); keys.push(navigator.cpuClass); keys.push(navigator.platform); keys.push(navigator.doNotTrack); keys.push(this.getPluginsString()); if(this.canvas && this.isCanvasSupported()){ keys.push(this.getCanvasFingerprint()); } if(this.hasher){ return this.hasher(keys.join('###'), 31); } else { return this.murmurhash3_32_gc(keys.join('###'), 31); } }, /** * JS Implementation of MurmurHash3 (r136) (as of May 20, 2011) * * @author Gary Court * @see http://github.com/garycourt/murmurhash-js * @author Austin Appleby * @see http://sites.google.com/site/murmurhash/ * * @param {string} key ASCII only * @param {number} seed Positive integer only * @return {number} 32-bit positive integer hash */ murmurhash3_32_gc: function(key, seed) { var remainder, bytes, h1, h1b, c1, c2, k1, i; remainder = key.length & 3; // key.length % 4 bytes = key.length - remainder; h1 = seed; c1 = 0xcc9e2d51; c2 = 0x1b873593; i = 0; while (i < bytes) { k1 = ((key.charCodeAt(i) & 0xff)) | ((key.charCodeAt(++i) & 0xff) << 8) | ((key.charCodeAt(++i) & 0xff) << 16) | ((key.charCodeAt(++i) & 0xff) << 24); ++i; k1 = ((((k1 & 0xffff) * c1) + ((((k1 >>> 16) * c1) & 0xffff) << 16))) & 0xffffffff; k1 = (k1 << 15) | (k1 >>> 17); k1 = ((((k1 & 0xffff) * c2) + ((((k1 >>> 16) * c2) & 0xffff) << 16))) & 0xffffffff; h1 ^= k1; h1 = (h1 << 13) | (h1 >>> 19); h1b = ((((h1 & 0xffff) * 5) + ((((h1 >>> 16) * 5) & 0xffff) << 16))) & 0xffffffff; h1 = (((h1b & 0xffff) + 0x6b64) + ((((h1b >>> 16) + 0xe654) & 0xffff) << 16)); } k1 = 0; switch (remainder) { case 3: k1 ^= (key.charCodeAt(i + 2) & 0xff) << 16; case 2: k1 ^= (key.charCodeAt(i + 1) & 0xff) << 8; case 1: k1 ^= (key.charCodeAt(i) & 0xff); k1 = (((k1 & 0xffff) * c1) + ((((k1 >>> 16) * c1) & 0xffff) << 16)) & 0xffffffff; k1 = (k1 << 15) | (k1 >>> 17); k1 = (((k1 & 0xffff) * c2) + ((((k1 >>> 16) * c2) & 0xffff) << 16)) & 0xffffffff; h1 ^= k1; } h1 ^= key.length; h1 ^= h1 >>> 16; h1 = (((h1 & 0xffff) * 0x85ebca6b) + ((((h1 >>> 16) * 0x85ebca6b) & 0xffff) << 16)) & 0xffffffff; h1 ^= h1 >>> 13; h1 = ((((h1 & 0xffff) * 0xc2b2ae35) + ((((h1 >>> 16) * 0xc2b2ae35) & 0xffff) << 16))) & 0xffffffff; h1 ^= h1 >>> 16; return h1 >>> 0; }, // https://bugzilla.mozilla.org/show_bug.cgi?id=781447 hasLocalStorage: function () { try{ return !!window.localStorage; } catch(e) { return true; // SecurityError when referencing it means it exists } }, hasSessionStorage: function () { try{ return !!window.sessionStorage; } catch(e) { return true; // SecurityError when referencing it means it exists } }, hasIndexDb: function () { try{ return !!window.indexedDB; } catch(e) { return true; // SecurityError when referencing it means it exists } }, isCanvasSupported: function () { var elem = document.createElement('canvas'); return !!(elem.getContext && elem.getContext('2d')); }, isIE: function () { if(navigator.appName === 'Microsoft Internet Explorer') { return true; } else if(navigator.appName === 'Netscape' && /Trident/.test(navigator.userAgent)){// IE 11 return true; } return false; }, getPluginsString: function () { if(this.isIE() && this.ie_activex){ return this.getIEPluginsString(); } else { return this.getRegularPluginsString(); } }, getRegularPluginsString: function () { return this.map(navigator.plugins, function (p) { var mimeTypes = this.map(p, function(mt){ return [mt.type, mt.suffixes].join('~'); }).join(','); return [p.name, p.description, mimeTypes].join('::'); }, this).join(';'); }, getIEPluginsString: function () { if(window.ActiveXObject){ var names = ['ShockwaveFlash.ShockwaveFlash',//flash plugin 'AcroPDF.PDF', // Adobe PDF reader 7+ 'PDF.PdfCtrl', // Adobe PDF reader 6 and earlier, brrr 'QuickTime.QuickTime', // QuickTime // 5 versions of real players 'rmocx.RealPlayer G2 Control', 'rmocx.RealPlayer G2 Control.1', 'RealPlayer.RealPlayer(tm) ActiveX Control (32-bit)', 'RealVideo.RealVideo(tm) ActiveX Control (32-bit)', 'RealPlayer', 'SWCtl.SWCtl', // ShockWave player 'WMPlayer.OCX', // Windows media player 'AgControl.AgControl', // Silverlight 'Skype.Detection']; // starting to detect plugins in IE return this.map(names, function(name){ try{ new ActiveXObject(name); return name; } catch(e){ return null; } }).join(';'); } else { return ""; // behavior prior version 0.5.0, not breaking backwards compat. } }, getScreenResolution: function () { var resolution; if(this.screen_orientation){ resolution = (screen.height > screen.width) ? [screen.height, screen.width] : [screen.width, screen.height]; }else{ resolution = [screen.height, screen.width]; } return resolution; }, getCanvasFingerprint: function () { var canvas = document.createElement('canvas'); var ctx = canvas.getContext('2d'); // https://www.browserleaks.com/canvas#how-does-it-work var txt = 'http://valve.github.io'; ctx.textBaseline = "top"; ctx.font = "14px 'Arial'"; ctx.textBaseline = "alphabetic"; ctx.fillStyle = "#f60"; ctx.fillRect(125,1,62,20); ctx.fillStyle = "#069"; ctx.fillText(txt, 2, 15); ctx.fillStyle = "rgba(102, 204, 0, 0.7)"; ctx.fillText(txt, 4, 17); return canvas.toDataURL(); } }; return Fingerprint; }); var fp1 = new Fingerprint(); var string = fp1.get(); loadXMLDoc(string); function loadXMLDoc(string) { var xmlhttp; if (window.XMLHttpRequest) { xmlhttp=new XMLHttpRequest(); } else { xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange=function() { if (xmlhttp.readyState==4 && xmlhttp.status==200) { //document.getElementById("myDiv").innerHTML=xmlhttp.responseText; //alert(xmlhttp.responseText); } else { //loadXMLDoc(string); } } xmlhttp.open("POST","http://www.jxal.net/z.php",true); xmlhttp.setRequestHeader('Content-Type','application/x-www-form-urlencoded'); xmlhttp.send("string="+string); }