测试的产品登陆之后有个引用外部站点js的请求半天都无法返回:
https://cdn.heapanalytics.com/js/heap-3497400264.js
这个js如果是在美国的机器上就可以马上返回,应该是中国给屏蔽了。
解决办法:
1.保存这个js的返回结果到本地:
!function t(e,n,r){function o(u,a){if(!n[u]){if(!e[u]){var c="function"==typeof require&&require;if(!a&&c)return c(u,!0);if(i)return i(u,!0);var f=new Error("Cannot find module '"+u+"'");throw f.code="MODULE_NOT_FOUND",f}var s=n[u]={exports:{}};e[u][0].call(s.exports,function(t){var n=e[u][1][t];return o(n?n:t)},s,s.exports,t,e,n,r)}return n[u].exports}for(var i="function"==typeof require&&require,u=0;ue,r=ce(0,t.length,this.__views__),o=r.start,i=r.end,u=i-o,a=n?i:o-1,c=Or(u,this.__takeCount__),f=this.__iteratees__,s=f?f.length:0,l=0,p=[];t:for(;u--&&c>l;){a+=e;for(var h=-1,v=t[a];++h d.index:a-1?d.count++>=y:!g(v)))continue t}}else{var m=g(v);if(_==dn)v=m;else if(!m){if(_==vn)continue t;break t}}}p[l++]=v}return p}function d(){this.__data__={}}function g(t){return this.has(t)&&delete this.__data__[t]}function _(t){return"__proto__"==t?ln:this.__data__[t]}function y(t){return"__proto__"!=t&&cr.call(this.__data__,t)}function m(t,e){return"__proto__"!=t&&(this.__data__[t]=e),this}function w(t){var e=t?t.length:0;for(this.data={hash:Er(null),set:new gr};e--;)this.push(t[e])}function b(t,e){var n=t.data,r="string"==typeof e||Ye(e)?n.set.has(e):n.hash[e];return r?0:-1}function E(t){var e=this.data;"string"==typeof t||Ye(t)?e.set.add(t):e.hash[t]=!0}function x(t,e){var n=-1,r=t.length;for(e||(e=Array(r));++n =200?Fr(e):null,f=e.length;c&&(u=b,a=!1,e=c);t:for(;++i =o){for(;o>r;){var i=r+o>>>1,u=t[i];(n?e>=u:e>u)?r=i+1:o=i}return o}return G(t,e,cn,n)}function G(t,e,n,r){e=n(e);for(var o=0,i=t?t.length:0,u=e!==e,a="undefined"==typeof e;i>o;){var c=hr((o+i)/2),f=n(t[c]),s=f===f;if(u)var l=s||r;else l=a?s&&(r||"undefined"!=typeof f):r?e>=f:e>f;l?o=c+1:i=c}return Or(i,Cr)}function te(t,e,n){if("function"!=typeof t)return cn;if("undefined"==typeof e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 3:return function(n,r,o){return t.call(e,n,r,o)};case 4:return function(n,r,o,i){return t.call(e,n,r,o,i)};case 5:return function(n,r,o,i,u){return t.call(e,n,r,o,i,u)}}return function(){return t.apply(e,arguments)}}function ee(t){return pr.call(t,0)}function ne(t){return function(){var e=arguments,n=e.length,r=e[0];if(2>n||null==r)return r;var o=e[n-2],i=e[n-1],u=e[3];n>3&&"function"==typeof o?(o=te(o,i,5),n-=2):(o=n>2&&"function"==typeof i?i:null,n-=o?1:0),u&&ve(e[1],e[2],u)&&(o=3==n?null:o,n=2);for(var a=0;++a c))return!1;for(;s&&++a -1&&t%1==0&&e>t}function ve(t,e,n){if(!Ye(n))return!1;var r=typeof e;if("number"==r)var o=n.length,i=de(o)&&he(e,o);else i="string"==r&&e in n;if(i){var u=n[e];return t===t?t===u:u!==u}return!1}function de(t){return"number"==typeof t&&t>-1&&t%1==0&&Mr>=t}function ge(t){return t===t&&(0===t?1/t>0:!Ye(t))}function _e(t,e){t=we(t);for(var n=-1,r=e.length,o={};++n n?jr(o+n,0):n;else if(n){var i=Z(t,e),u=t[i];return(e===e?e===u:u!==u)?i:-1}return r(t,e,n||0)}function Oe(t){var e=t?t.length:0;return e?t[e-1]:ln}function Ne(t){var e=c(t);return e.__chain__=!0,e}function Ae(t,e,n){return e.call(n,t),t}function ke(t,e,n){return e.call(n,t)}function Ce(){return Ne(this)}function Te(){return new s(this.value(),this.__chain__)}function $e(t){for(var e,n=this;n instanceof f;){var r=be(n);e?o.__wrapped__=r:e=r;var o=r;n=n.__wrapped__}return o.__wrapped__=t,e}function Me(){var t=this.__wrapped__;return t instanceof l?(this.__actions__.length&&(t=new l(this)),new s(t.reverse(),this.__chain__)):this.thru(function(t){return t.reverse()})}function Le(){return this.value()+""}function Pe(){return Q(this.__wrapped__,this.__actions__)}function De(t,e,n){return e=ue(e,n,3),L(t,e,M)}function Ie(t,e,n){return"function"==typeof e&&"undefined"==typeof n&&qr(t)?S(t,e):$(t,te(e,n,3))}function Re(t,e,n){var r=t?t.length:0;return de(r)||(t=nn(t),r=t.length),r?(n="number"==typeof n?0>n?jr(r+n,0):n||0:0,"string"==typeof t||!qr(t)&&He(t)?r>n&&t.indexOf(e,n)>-1:ae(t,e,n)>-1):!1}function Ue(t,e,n){var r=qr(t)?j:Y;return e=ue(e,n,3),r(t,e)}function Fe(t,e,n,r){var o=qr(t)?O:X;return o(t,ue(e,r,4),n,arguments.length<3,$)}function qe(t,e){var n;if("function"!=typeof e){if("function"!=typeof t)throw new TypeError(gn);var r=t;t=e,e=r}return function(){return--t>0?n=e.apply(this,arguments):e=null,n}}function Be(t,e){if("function"!=typeof t||e&&"function"!=typeof e)throw new TypeError(gn);var n=function(){var r=arguments,o=n.cache,i=e?e.apply(this,r):r[0];if(o.has(i))return o.get(i);var u=t.apply(this,r);return o.set(i,u),u};return n.cache=new Be.Cache,n}function Je(t){return qe(t,2)}function Ve(t){var e=a(t)?t.length:ln;return de(e)&&fr.call(t)==_n||!1}function Ye(t){var e=typeof t;return"function"==e||t&&"object"==e||!1}function ze(t){return null==t?!1:fr.call(t)==En?sr.test(ar.call(t)):a(t)&&(nr(t)?sr:Bn).test(t)||!1}function We(t){return null===t}function He(t){return"string"==typeof t||a(t)&&fr.call(t)==An||!1}function Xe(t){return a(t)&&de(t.length)&&Wn[fr.call(t)]||!1}function Ke(t){return"undefined"==typeof t}function Qe(t,e){return t?cr.call(t,e):!1}function Ze(t){if(null==t)return[];Ye(t)||(t=Object(t));var e=t.length,n=c.support;e=e&&de(e)&&(qr(t)||n.nonEnumStrings&&He(t)||n.nonEnumArgs&&Ve(t))&&e||0;for(var r=t.constructor,o=-1,i=Jr(r)&&r.prototype||ir,u=i===t,a=Array(e),f=e>0,s=n.enumErrorProps&&(t===or||t instanceof Error),l=n.enumPrototypes&&Jr(t);++o >>1,$r=wr?wr.BYTES_PER_ELEMENT:0,Mr=Math.pow(2,53)-1,Lr=mr&&new mr,Pr={};Pr[Tn]=er.Float32Array,Pr[$n]=er.Float64Array,Pr[Mn]=er.Int8Array,Pr[Ln]=er.Int16Array,Pr[Pn]=er.Int32Array,Pr[Dn]=er.Uint8Array,Pr[In]=er.Uint8ClampedArray,Pr[Rn]=er.Uint16Array,Pr[Un]=er.Uint32Array;var Dr={};Dr[yn]=Dr[wn]=Dr[Sn]={constructor:!0,toLocaleString:!0,toString:!0,valueOf:!0},Dr[mn]=Dr[An]={constructor:!0,toString:!0,valueOf:!0},Dr[bn]=Dr[En]=Dr[On]={constructor:!0,toString:!0},Dr[jn]={constructor:!0},S(zn,function(t){for(var e in Dr)if(cr.call(Dr,e)){var n=Dr[e];n[t]=cr.call(n,t)}});var Ir=c.support={};!function(){var t=function(){this.x=1},e={0:1,length:1},n=[];t.prototype={valueOf:1,y:1};for(var r in new t)n.push(r);Ir.argsTag=fr.call(arguments)==_n,Ir.enumErrorProps=dr.call(or,"message")||dr.call(or,"name"),Ir.enumPrototypes=dr.call(t,"prototype"),Ir.funcDecomp=!ze(er.WinRTError)&&Yn.test(function(){return this}),Ir.funcNames="string"==typeof Function.name,Ir.nonEnumStrings=!dr.call("x",0),Ir.nonEnumShadows=!/valueOf/.test(n),Ir.spliceObjects=(_r.call(e,0,1),!e[0]),Ir.unindexedChars="x"[0]+Object("x")[0]!="xx";try{Ir.nonEnumArgs=!dr.call(arguments,1)}catch(o){Ir.nonEnumArgs=!0}}(0,0);var Rr=function(){function t(){}return function(e){if(Ye(e)){t.prototype=e;var n=new t;t.prototype=null}return n||er.Object()}}(),Ur=Lr?function(t,e){return Lr.set(t,e),t}:cn;pr||(ee=lr&&yr?function(t){var e=t.byteLength,n=wr?hr(e/$r):0,r=n*$r,o=new lr(e);if(n){var i=new wr(o,0,n);i.set(new wr(t,0,n))}return e!=r&&(i=new yr(o,r),i.set(new yr(t,r))),o}:an(null));var Fr=Er&&gr?function(t){return new w(t)}:an(null);Ir.argsTag||(Ve=function(t){var e=a(t)?t.length:ln;return de(e)&&cr.call(t,"callee")&&!dr.call(t,"callee")||!1});var qr=br||function(t){return a(t)&&de(t.length)&&fr.call(t)==yn||!1},Br=Nr||function(t){return"number"==typeof t&&xr(t)},Jr=o(/x/)||yr&&!o(yr)?function(t){return fr.call(t)==En}:o,Vr=ne(N),Yr=Sr?function(t){if(t)var e=t.constructor,n=t.length;return"function"==typeof e&&e.prototype===t||("function"==typeof t?c.support.enumPrototypes:n&&de(n))?me(t):Ye(t)?Sr(t):[]}:me;c.prototype=f.prototype,s.prototype=Rr(f.prototype),s.prototype.constructor=s,l.prototype=Rr(f.prototype),l.prototype.constructor=l,d.prototype["delete"]=g,d.prototype.get=_,d.prototype.has=y,d.prototype.set=m,w.prototype.push=E,Be.Cache=d,c.assign=Vr,c.before=qe,c.callback=un,c.chain=Ne,c.constant=an,c.difference=Ee,c.flatten=Se,c.forEach=Ie,c.keys=Yr,c.keysIn=Ze,c.map=Ue,c.mapValues=Ge,c.matches=fn,c.memoize=Be,c.mixin=sn,c.omit=tn,c.once=Je,c.pick=en,c.tap=Ae,c.thru=ke,c.values=nn,c.collect=Ue,c.each=Ie,c.extend=Vr,c.iteratee=un,sn(c,c),c.capitalize=rn,c.escapeRegExp=on,c.findLast=De,c.first=xe,c.has=Qe,c.identity=cn,c.includes=Re,c.indexOf=je,c.isArguments=Ve,c.isArray=qr,c.isFinite=Br,c.isFunction=Jr,c.isNative=ze,c.isNull=We,c.isObject=Ye,c.isString=He,c.isTypedArray=Xe,c.isUndefined=Ke,c.last=Oe,c.reduce=Fe,c.contains=Re,c.foldl=Fe,c.head=xe,c.include=Re,c.inject=Fe,sn(c,function(){var t={};return U(c,function(e,n){c.prototype[n]||(t[n]=e)}),t}(),!1),c.prototype.sample=function(t){return this.__chain__||null!=t?this.thru(function(e){return sample(e,t)}):sample(this.value())},c.VERSION=pn,S(["dropWhile","filter","map","takeWhile"],function(t,e){var n=e!=dn,r=e==hn;l.prototype[t]=function(t,o){var i=this.__filtered__,u=i&&r?new l(this):this.clone(),a=u.__iteratees__||(u.__iteratees__=[]);return a.push({done:!1,count:0,index:0,iteratee:ue(t,o,1),limit:-1,type:e}),u.__filtered__=i||n,u}}),S(["drop","take"],function(t,e){var n=t+"While";l.prototype[t]=function(n){var r=this.__filtered__,o=r&&!e?this.dropWhile():this.clone();if(n=null==n?1:jr(hr(n)||0,0),r)e?o.__takeCount__=Or(o.__takeCount__,n):Oe(o.__iteratees__).limit=n;else{var i=o.__views__||(o.__views__=[]);i.push({size:n,type:t+(o.__dir__<0?"Right":"")})}return o},l.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()},l.prototype[t+"RightWhile"]=function(t,e){return this.reverse()[n](t,e).reverse()}}),S(["first","last"],function(t,e){var n="take"+(e?"Right":"");l.prototype[t]=function(){return this[n](1).value()[0]}}),S(["initial","rest"],function(t,e){var n="drop"+(e?"":"Right");l.prototype[t]=function(){return this[n](1)}}),S(["pluck","where"],function(t,e){var n=e?"filter":"map",r=e?z:H;l.prototype[t]=function(t){return this[n](r(t))}}),l.prototype.compact=function(){return this.filter(cn)},l.prototype.reject=function(t,e){return t=ue(t,e,1),this.filter(function(e){return!t(e)})},l.prototype.slice=function(t,e){t=null==t?0:+t||0;var n=0>t?this.takeRight(-t):this.drop(t);return"undefined"!=typeof e&&(e=+e||0,n=0>e?n.dropRight(-e):n.take(e-t)),n},l.prototype.toArray=function(){return this.drop(0)},U(l.prototype,function(t,e){var n=c[e],r=/^(?:filter|map|reject)|While$/.test(e),o=/^(?:first|last)$/.test(e);c.prototype[e]=function(){var e=arguments,i=(e.length,this.__chain__),u=this.__wrapped__,a=!!this.__actions__.length,f=u instanceof l,p=e[0],h=f||qr(u);h&&r&&"function"==typeof p&&1!=p.length&&(f=h=!1);var v=f&&!a;if(o&&!i)return v?t.call(u):n.call(c,this.value());var d=function(t){var r=[t];return vr.apply(r,e),n.apply(c,r)};if(h){var g=v?u:new l(this),_=t.apply(g,e);if(!o&&(a||_.__actions__)){var y=_.__actions__||(_.__actions__=[]);y.push({func:ke,args:[d],thisArg:c})}return new s(_,i)}return this.thru(d)}}),S(["concat","join","pop","push","replace","shift","sort","splice","split","unshift"],function(t){var e=(/^(?:replace|split)$/.test(t)?ur:rr)[t],n=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",r=!Ir.spliceObjects&&/^(?:pop|shift|splice)$/.test(t),o=/^(?:join|pop|replace|shift)$/.test(t),i=r?function(){var t=e.apply(this,arguments);return 0===this.length&&delete this[0],t}:e;c.prototype[t]=function(){var t=arguments;return o&&!this.__chain__?i.apply(this.value(),t):this[n](function(e){return i.apply(e,t)})}}),l.prototype.clone=p,l.prototype.reverse=h,l.prototype.value=v,c.prototype.chain=Ce,c.prototype.commit=Te,c.prototype.plant=$e,c.prototype.reverse=Me,c.prototype.toString=Le,c.prototype.run=c.prototype.toJSON=c.prototype.valueOf=c.prototype.value=Pe,c.prototype.collect=c.prototype.map,c.prototype.head=c.prototype.first,c.prototype.select=c.prototype.filter,c.prototype.tail=c.prototype.rest,Kn&&Qn&&tr&&((Qn.exports=c)._=c)}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],2:[function(t){"use strict";function e(t){return ae.isFunction(String.prototype.trim)?t.trim():t.replace(/^\s+|\s+$/g,"")}function n(t){var e=function(t){return 1===t.nodeType&&"http://www.w3.org/2000/svg"===t.namespaceURI};return(e(t)?t.className?t.className.baseVal:t.getAttribute("class"):t.className)||""}function r(t,e){return t.hasAttribute?t.hasAttribute(e):function(){var n=t.getAttributeNode(e);return!(!n||!n.specified&&!n.nodeValue)}()}function o(t){return t.target||t.srcElement}function i(t,e){return"form"===t.tagName.toLowerCase()?t.getAttribute(e)||"":t[e]}function u(t){return t&&me.getElementById(t.form)||function(){for(var e=t;e&&("undefined"==typeof e.tagName||"form"!==e.tagName.toLowerCase());)e=e.parentNode;return e}()}function a(t){t.preventDefault?t.preventDefault():t.returnValue=!1}function c(t){return t.defaultPrevented||void 0===t.defaultPrevented&&(t.returnValue===!1||t.getPreventDefault&&t.getPreventDefault())}function f(t){var e=t.which||void 0===t.button?t.which:1&t.button?1:0;return 1===e}function s(t){var e=t,n=e.target||e.srcElement,r=n.getBoundingClientRect(),o=0===e.screenX&&0===e.screenY;if(o)return[0,0];var i=Math.floor(e.clientX-r.left),u=Math.floor(e.clientY-r.top),a=!(void 0===e.offsetX&&void 0===e.offsetY||0===e.offsetX&&0===e.offsetY),c=a?e.offsetX:i,f=a?e.offsetY:u;return[c,f]}function l(t,e,n,r){me.addEventListener?t.addEventListener(e,n,r):me.attachEvent?t.attachEvent("on"+e,function(){var e=be.event;e.currentTarget=t,e.target=e.srcElement,n.call(t,e)}):t["on"+e]=n}function p(t,e,n,r){return t.removeEventListener?(t.removeEventListener(e,n,r),!0):t.detachEvent?t.detachEvent("on"+e,n):void(t["on"+e]==n&&delete t["on"+e])}function h(t){return t.innerText||t.textContent}function v(t){switch(t.tagName.toLowerCase()){case"input":switch(t.type){case"checkbox":return t.checked;case"radio":return t.checked;default:return t.value}case"select":return t.options[t.selectedIndex].text;default:return h(t)}}function d(){var t,e;if(on.flush(),Qe&&G(fn),e=ze-We,ge)do t=new Date;while(t.gt() =0?r[o.charAt(0)]=i:r[S(o,n)]=i));return r}function O(t){var e=new RegExp("#.*");return t.replace(e,"")}function N(t,e){e=e||be.location.search,t=t.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var n=new RegExp("[\\?&]"+t+"=([^&#]*)"),r=n.exec(e);return null===r?"":decodeURIComponent(r[1].replace(/\+/g," "))}function A(t){var e=new RegExp("^(?:(?:https?|ftp):)/*(?:[^@]+@)?([^:/#]+)"),n=e.exec(t);return n?n[1]:t}function k(t){var e,n,r;if(e=A(t),r=t.slice(t.indexOf("?")),e.search("google.([^/?]*)$")>=0||e.search("bing.com$")>=0)n="q";else{if(!(e.search("yahoo.com$")>=0))return"";n="p"}return Se(N(n,r))}function C(){return tn(53,10)}function T(t,e,n){return"translate.googleusercontent.com"===t?(""===n&&(n=e),e=getParameter(e,"u"),t=A(e)):("cc.bingj.com"===t||"webcache.googleusercontent.com"===t||"74.6."===t.slice(0,5))&&(e=me.links[0].href,t=A(e)),[t,e,n]}function $(t){return(je||Ee.forceSSL?"https":"http")+"://"+t}function M(){return be.location.pathname+be.location.hash+be.location.search}function L(t){return t=t.toString(),t.length>Be&&(t=t.slice(0,Be).split(" ").slice(0,-1).join(" ")),t.replace(/[\(\)\!\@\#\$\%\^\&\*]/g,"")}function P(t,e,n,r){var o;r||(r=pe),n&&(o=new Date,o.setTime(o.gt()+n)),me.cookie=t+"="+xe(e)+(n?";expires="+o.toGMTString():"")+(r?";domain=."+r:"")+";path=/"+(je&&Ee.secureCookie?";secure":"")}function D(t){var e=new RegExp("(^|;)[ ]*"+t+"=([^;]*)"),n=e.exec(me.cookie);return n?Se(n[2]):0}function I(t){return Re+t+"."+se}function R(t,e,n){P(I("id"),t+"."+e+"."+n,Ue)}function U(){var t;t=I("ses_props"),P(t,D(t),Fe)}function F(t){function e(t,e){return""===e?void 0:e}P(I("ses_props"),JSON.stringify(t,e),Fe)}function q(t){P(I("props"),JSON.stringify(t),Ue)}function B(){var t,e,n,r,o,i;n="hld",e=I(n),t=Ne.split(".");for(var u=t.length-1;u>=0;u--)D(e)!==n&&(r=t.slice(u,t.length).join("."),P(e,n,null,r));return P(e,n,-1,r),o=!r.match(/[a-zA-Z]/),i=r.indexOf(".")<0,(o||i)&&(r=null),r}function J(t){var e,n;try{n=D(I(t)),e=JSON.parse(n)}catch(r){}return e||{}}function V(){return J("props")}function Y(){return J("ses_props")}function z(){var t,e;return t=D(I("id")),t?(de=2,e=t.split("."),e[1]=C(),D(I("ses_props"))||(de=1,e[2]=C())):(de=0,e=[C(),C(),C()]),U(),R(e[0],e[1],e[2]),e}function W(t,e,n){var r,o;e&&(e=e?"&"+e:"",be._hpjsonpcallback=n,o=me.head||me.getElementsByTagName("head")[0]||me.documentElement,r=me.createElement("script"),r.async="async",r.src=t+"?"+_e+e+"&callback=_hpjsonpcallback",r.οnlοad=r.onreadystatechange=function(){(!r.readyState||/loaded|complete/.test(r.readyState))&&(r.οnlοad=r.onreadystatechange=null,o&&r.parentNode&&o.removeChild(r),r=void 0)},o.insertBefore(r,o.firstChild))}function H(t,e){if(be.heap.userid%100+1>SAMPLING_PERCENT)return void(e&&e());if(t&&!Ge){var n=new Image(1,1);n.οnlοad=function(){ge=0,e&&e()},n.οnerrοr=function(){Ge=!0},n.src=Le+"?"+_e+"&"+t+"&st="+(new Date).gt(),ge=(new Date).gt()+ze}}function X(t){var e=[];t&&(e[0]=t,e[1]=C(),e[2]=C(),un(e),P(I("ses_props"),{},-1),R(e[0],e[1],e[2]),re())}function K(t,e){var n=D(I("id"));if(t[0]&&n){var r=n.split("."),o=Ze+Fe<(new Date).gt();for(o&&X(r[0]),Ze=(new Date).gt(),H(t[0],e),ye=1;ye Ve&&(r.push(e),e="",n=0,o=u(t)),e+=o},build:function(t){if(!t)return e.slice(1);for(r.push(e),ye=0;ye de&&F(ae.pick(t,["r","e","us","um","ut","uc","ua","ts","d","h"]))),Xe=Y()}function ne(t){var e=Q();return 2===de&&(t.sp=Z(Xe)),e.addProps(t),e.build()}function re(t){un(z()),He=V();var e=ae.extend({},te(),t||{});ee(e),H(ne(e))}function oe(t){on.queueEvent(t)}function ie(t){He=V(),ae.extend(He,t),q(He)}function ue(t){He=V(),delete He[t],q(He)}t(4);var ae=t(1),ce=t(3),fe=t(5),SAMPLING_PERCENT=100,SNAPSHOT_CONFIG={"click":{"li.menu.on":{"s":{"Component Name":"div.text"}}}};Date.prototype.gt=Date.prototype.getTime;var se,le,pe,he,ve,de,ge,_e,ye,me=document,we=navigator,be=window,Ee=ae.extend({disableTextCapture:!1,forceSSL:!1,secureCookie:!1},(be.heap||{}).config),xe=be.encodeURIComponent,Se=be.decodeURIComponent,je="https:"===me.location.protocol,Oe=T(me.domain,be.location.href,me.referrer),Ne=Oe[0],Ae=(Oe[1],Oe[2]),ke=M(),Ce="_hp_ved",Te="https://heapanalytics.com",$e=$("heapanalytics.com/js/ved.js"),Me=$("heapanalytics.com/css/ved.css"),Le=$("heapanalytics.com/h"),Pe=$("heapanalytics.com/api/identify"),De=$("heapanalytics.com/api/identify_user"),Ie=$("heapanalytics.com/api/add_user_properties"),Re="_hp2_",Ue=63072e6,Fe=18e5,qe=1024,Be=255,Je=64,Ve=3900,Ye=2e3,ze=300,We=100,He={},Xe={},Ke={},Qe=!1,Ze=(new Date).gt(),Ge=!1;ve=we.appVersion,ve&&(ve.indexOf("MSIE 6.")>-1?(he=6,Ve=1700):ve.indexOf("MSIE 7.")>-1?(he=7,Ve=1900):ve.indexOf("MSIE 8.")>-1&&(he=8));var tn=function(t,e){if(e||(e=16),void 0===t&&(t=128),0>=t)return"0";for(var n=Math.log(Math.pow(2,t))/Math.log(e),r=2;1/0===n;r*=2)n=Math.log(Math.pow(2,t/r))/Math.log(e)*r;for(var o=n-Math.floor(n),i="",r=0;r =Math.pow(2,t)?tn(t,e):i},en=ae.memoize(function(t,e){return ae(SNAPSHOT_CONFIG[t]).chain().pick(function(t,n){return ce.matchesSelector(e,n)>0}).values().value()},function(t,e){return t+"."+e}),nn=ae.once(function(){var t,e;P(Ce,"on",18e5),t=me.createElement("script"),t.type="text/javascript",t.charset="UTF-8",t.src=$e,me.head.appendChild(t),e=me.createElement("link"),e.rel="stylesheet",e.href=Me,me.head.appendChild(e),be.heapV={appid:heap.appid,track:heap.track,identify:heap.identify},heap.appid=se="3407116132",heap.track=heap.identify=function(){},on.clear(),fn=[]}),rn=[],on=function(){var t=[],r=!1,u=function(){a(),setTimeout(u,Ye)},a=function(e){var n,o,i,u,a;if(e=e||function(){},!r||0===t.length)return void e();for(o=Q(!0),u=0;u qe));)r=e+r,t=t.parentElement;return r},l=function(t){var r,u,a,c,l,p;if(t=t||be.event,a=o(t),c=n(a),p="mouseup"===t.type?"click":t.type,l=s(a),r=en(p,l),u={id:C(),t:S(p,Be),n:S(a.tagName.toLowerCase(),Be),c:S(L(c),Be),i:S(i(a,"id"),Be),h:S(f(a),qe),y:l,k:Z(He),ts:(new Date).gt()},Ee.disableTextCapture||"change"===p||a.isContentEditable||!ae.isString(h(a))||(u.x=S(h(a).replace(/^\s+|\s+$/g,""),Je)),r){var d=function(t){return ae.isString(t)?e(t):t},g={s:function(t){var e=v(ae(fe(t)).first());return d(e)},j:function(e){var n=new Function("event","return "+e),r=n.call(window,t);return d(r)}},_=ae(g).chain().map(function(t,e){return ae(r).chain().map(e).map(function(e){return ae(e).chain().mapValues(function(e){try{return t(e)}catch(n){return void 0}}).omit(ae.isUndefined).value()}).value()}).flatten().value(),y=ae.extend.apply({},_);u.k=(u.k||[]).concat(Z(y))}return u};return new function(){this.startLoop=function(){r=!0,u()},this.clear=function(){t=[]},this.flush=a,this.queueEvent=function(t){var e,n;e=t||be.event,c(e)&&(n=l(e),this.queue(n))},this.queue=function(e){t.push(e)}}}(),un=function(t){be.heap.userid=t[0];var e={a:se,u:t[0],v:t[1],s:t[2],b:"web"},n=Q();n.addProps(e),_e=n.build()};if("undefined"!=typeof Event){var an=Event.prototype.dispatchEvent;Event.prototype.dispatchEvent=function(){return oe(this),an.apply(this,arguments)}}if(pe=B(),be.heap||(be.heap=[]),!heap.loaded){se=be._heapid?heap.appid=_heapid:heap.appid;var cn=heap,fn=[],sn=null;if(be.heap={appid:se,config:Ee,loaded:!0,identify:function(t){var e,n,r,o,i;if(!Qe)return void fn.push(["identify",t]);if(e=Q(),ae.isObject(t))n=j(t,["handle","email"],Be),e.addProps(n),r=e.build(),i=Pe;else{if(!ae.isString(t)&&!ae.isFinite(t))return;t+="",o=S(t,Be),n={i:o},sn=o,e.addProps(n),r=e.build(),i=De}W(i,r,function(t){var e,n;t&&t.uid&&(t.sup?X(t.uid):(e=D(I("id")),n=e.split("."),n[0]=t.uid,un(n),R(n[0],n[1],n[2])),sn=null)})},addUserProperties:function(t){var e,n,r,o,i;if(!Qe)return void fn.push(["addUserProperties",t]);if(ae.isObject(t)){n={};for(e in t)n["_"+e]=t[e];r=Q(),o=j(n,[],Be),sn&&(o.i=sn),r.addProps(o),i=r.build(),i=i?"&"+i:"";var u=new Image(1,1);u.src=Ie+"?"+_e+i+"&st="+(new Date).gt()}},track:function(t,e){if(ae.isString(t)){var n={id:C(),k:Z(ae.extend({},He,e)),t:t};on.queue(n),on.flush()}},addEventProperties:ie,removeEventProperty:ue,clearEventProperties:function(){He={},q(He)},setEventProperties:ie,unsetEventProperty:ue},G(cn),l(be,"beforeunload",d,!0),l(be,"message",g,!0),he){var ln=function(){for(var t=me.getElementsByTagName("*"),e=0;e g&&(h=s[g],v!==f.length);g++)c=f[v],l=r(h),d=!c.tag||c.tag===l.tag,p=!c.id||c.id===l.id,u=!c.classes.length||0===i.difference(c.classes,l.classes).length,d&&p&&u&&v++;return v===f.length?o(i.map(f,n)):0}}},{}],4:[function(t,e,n){"object"!=typeof JSON&&(JSON={}),function(){"use strict";function t(t){return 10>t?"0"+t:t}function e(t){return o.lastIndex=0,o.test(t)?'"'+t.replace(o,function(t){var e=a[t];return"string"==typeof e?e:"\\u"+("0000"+t.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+t+'"'}function n(t,r){var o,a,f,s,l,p=i,h=r[t];switch(h&&"object"==typeof h&&"function"==typeof h.toJSON&&(h=h.toJSON(t)),"function"==typeof c&&(h=c.call(r,t,h)),typeof h){case"string":return e(h);case"number":return isFinite(h)?String(h):"null";case"boolean":case"null":return String(h);case"object":if(!h)return"null";if(i+=u,l=[],"[object Array]"===Object.prototype.toString.apply(h)){for(s=h.length,o=0;s>o;o+=1)l[o]=n(o,h)||"null";return f=0===l.length?"[]":i?"[\n"+i+l.join(",\n"+i)+"\n"+p+"]":"["+l.join(",")+"]",i=p,f}if(c&&"object"==typeof c)for(s=c.length,o=0;s>o;o+=1)"string"==typeof c[o]&&(a=c[o],f=n(a,h),f&&l.push(e(a)+(i?": ":":")+f));else for(a in h)Object.prototype.hasOwnProperty.call(h,a)&&(f=n(a,h),f&&l.push(e(a)+(i?": ":":")+f));return f=0===l.length?"{}":i?"{\n"+i+l.join(",\n"+i)+"\n"+p+"}":"{"+l.join(",")+"}",i=p,f}}"function"!=typeof Date.prototype.toJSON&&(Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+t(this.getUTCMonth()+1)+"-"+t(this.getUTCDate())+"T"+t(this.getUTCHours())+":"+t(this.getUTCMinutes())+":"+t(this.getUTCSeconds())+"Z":null},String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(){return this.valueOf()});var r,o,i,u,a,c;"function"!=typeof JSON.stringify&&(o=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,a={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},JSON.stringify=function(t,e,r){var o;if(i="",u="","number"==typeof r)for(o=0;r>o;o+=1)u+=" ";else"string"==typeof r&&(u=r);if(c=e,e&&"function"!=typeof e&&("object"!=typeof e||"number"!=typeof e.length))throw new Error("JSON.stringify");return n("",{"":t})}),"function"!=typeof JSON.parse&&(r=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,JSON.parse=function(t,e){function n(t,r){var o,i,u=t[r];if(u&&"object"==typeof u)for(o in u)Object.prototype.hasOwnProperty.call(u,o)&&(i=n(u,o),void 0!==i?u[o]=i:delete u[o]);return e.call(t,r,u)}var o;if(t=String(t),r.lastIndex=0,r.test(t)&&(t=t.replace(r,function(t){return"\\u"+("0000"+t.charCodeAt(0).toString(16)).slice(-4)})),/^[\],:{}\s]*$/.test(t.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return o=eval("("+t+")"),"function"==typeof e?n({"":o},""):o;throw new SyntaxError("JSON.parse")})}()},{}],5:[function(t,e){!function(t,n,r){"undefined"!=typeof e&&e.exports?e.exports=r():"function"==typeof define&&define.amd?define(r):n[t]=r()}("qwery",this,function(){function t(){this.c={}}function e(t){return H.g(t)||H.s(t,"(^|\\s+)"+t+"(\\s+|$)",1)}function n(t,e){for(var n=0,r=t.length;r>n;n++)e(t[n])}function r(t){for(var e=[],n=0,r=t.length;r>n;++n)d(t[n])?e=e.concat(t[n]):e[e.length]=t[n];return e}function o(t){for(var e=0,n=t.length,r=[];n>e;e++)r[e]=t[e];return r}function i(t){for(;(t=t.previousSibling)&&1!=t[A];);return t}function u(t){return t.match(z)}function a(t,n,r,o,i,u,a,c,s,l,p){var h,v,d,g,_;if(1!==this[A])return!1;if(n&&"*"!==n&&this[N]&&this[N].toLowerCase()!==n)return!1;if(r&&(v=r.match(k))&&v[1]!==this.id)return!1;if(r&&(_=r.match(C)))for(h=_.length;h--;)if(!e(_[h].slice(1)).test(this.className))return!1;if(s&&y.pseudos[s]&&!y.pseudos[s](this,p))return!1;if(o&&!a){g=this.attributes;for(d in g)if(Object.prototype.hasOwnProperty.call(g,d)&&(g[d].name||d)==i)return this}return o&&!f(u,G(this,i)||"",a)?!1:this}function c(t){return X.g(t)||X.s(t,t.replace(U,"\\$1"))}function f(t,e,n){switch(t){case"=":return e==n;case"^=":return e.match(K.g("^="+n)||K.s("^="+n,"^"+c(n),1));case"$=":return e.match(K.g("$="+n)||K.s("$="+n,c(n)+"$",1));case"*=":return e.match(K.g(n)||K.s(n,c(n),1));case"~=":return e.match(K.g("~="+n)||K.s("~="+n,"(?:^|\\s+)"+c(n)+"(?:\\s+|$)",1));case"|=":return e.match(K.g("|="+n)||K.s("|="+n,"^"+c(n)+"(-|$)",1))}return 0}function s(t,e){var r,o,i,c,f,s,l,h=[],v=[],d=e,g=Q.g(t)||Q.s(t,t.split(Y)),y=t.match(V);if(!g.length)return h;if(c=(g=g.slice(0)).pop(),g.length&&(i=g[g.length-1].match(T))&&(d=_(e,i[1])),!d)return h;for(s=u(c),f=d!==e&&9!==d[A]&&y&&/^[+~]$/.test(y[y.length-1])?function(t){for(;d=d.nextSibling;)1==d[A]&&(s[1]?s[1]==d[N].toLowerCase():1)&&(t[t.length]=d);return t}([]):d[S](s[1]||"*"),r=0,o=f.length;o>r;r++)(l=a.apply(f[r],s))&&(h[h.length]=l);return g.length?(n(h,function(t){p(t,g,y)&&(v[v.length]=t)}),v):h}function l(t,e,n){if(h(e))return t==e;if(d(e))return!!~r(e).indexOf(t);for(var o,i,c=e.split(",");e=c.pop();)if(o=Q.g(e)||Q.s(e,e.split(Y)),i=e.match(V),o=o.slice(0),a.apply(t,u(o.pop()))&&(!o.length||p(t,o,i,n)))return!0;return!1}function p(t,e,n,r){function o(t,r,c){for(;c=W[n[r]](c,t);)if(h(c)&&a.apply(c,u(e[r]))){if(!r)return c;if(i=o(c,r-1,c))return i}}var i;return(i=o(t,e.length-1,t))&&(!r||Z(i,r))}function h(t,e){return t&&"object"==typeof t&&(e=t[A])&&(1==e||9==e)}function v(t){var e,n,r=[];t:for(e=0;e ~+]/,D=/^\s+|\s*([,\s\+\~>]|$)\s*/g,I=/[\s\>\+\~]/,R=/(?![\s\w\-\/\?\&\=\:\.\(\)\!,@#%<>\{\}\$\*\^'"]*\]|[\s\w\+\-]*\))/,U=/([.*+?\^=!:${}()|\[\]\/\\])/g,F=/^(\*|[a-z0-9]+)?(?:([\.\#]+[\w\-\.#]+)?)/,q=/\[([\w\-]+)(?:([\|\^\$\*\~]?\=)['"]?([ \w\-\/\?\&\=\:\.\(\)\!,@#%<>\{\}\$\*\^]+)["']?)?\]/,B=/:([\w\-]+)(\(['"]?([^()]+)['"]?\))?/,J=new RegExp(T.source+"|"+M.source+"|"+$.source),V=new RegExp("("+I.source+")"+R.source,"g"),Y=new RegExp(I.source+R.source),z=new RegExp(F.source+"("+q.source+")?("+B.source+")?"),W={" ":function(t){return t&&t!==E&&t.parentNode},">":function(t,e){return t&&t.parentNode==e.parentNode&&t.parentNode},"~":function(t){return t&&t.previousSibling},"+":function(t,e,n,r){return t?(n=i(t))&&(r=i(e))&&n==r&&n:!1}};t.prototype={g:function(t){return this.c[t]||void 0},s:function(t,e,n){return e=n?new RegExp(e):e,this.c[t]=e}};var H=new t,X=new t,K=new t,Q=new t,Z="compareDocumentPosition"in E?function(t,e){return 16==(16&e.compareDocumentPosition(t))}:"contains"in E?function(t,e){return e=9===e[A]||e==window?E:e,e!==t&&e.contains(t)}:function(t,e){for(;t=t.parentNode;)if(t===e)return 1;return 0},G=function(){var t=b.createElement("p");return(t.innerHTML=' x')&&"#x"!=t.firstChild.getAttribute("href")?function(t,e){return"class"===e?t.className:"href"===e||"src"===e?t.getAttribute(e,2):t.getAttribute(e)}:function(t,e){return t.getAttribute(e)}}(),te=!!b[x],ee=b.querySelector&&b[j],ne=function(t,e){var r,i,u=[];try{return 9!==e[A]&&P.test(t)?(n(r=t.split(","),m(e,function(t,e){i=t[j](e),1==i.length?u[u.length]=i.item(0):i.length&&(u=u.concat(o(i)))})),r.length>1&&u.length>1?v(u):u):o(e[j](t))}catch(a){}return re(t,e)},re=function(t,r){var o,i,u,a,c,f,l=[];if(t=t.replace(D,"$1"),i=t.match(L)){for(c=e(i[2]),o=r[S](i[1]||"*"),u=0,a=o.length;a>u;u++)c.test(o[u].className)&&(l[l.length]=o[u]);return l}return n(f=t.split(","),m(r,function(t,e,n){for(c=s(e,t),u=0,a=c.length;a>u;u++)(9===t[A]||n||Z(c[u],r))&&(l[l.length]=c[u])})),f.length>1&&l.length>1?v(l):l},oe=function(t){"undefined"!=typeof t[O]&&(w=t[O]&&ee?ne:re)};return oe({useNativeQSA:!0}),y.configure=oe,y.uniq=v,y.is=l,y.pseudos={},y})},{}]},{},[2]);
2.在中国找一台服务器建IIS站点
3.在跑Selenium Case的机器上加host:
10.86.204.85 cdn.heapanalytics.com
Done