📄 vc知识库文章 - 深入浅出shellexecute.mht
字号:
type.altKey=3Dg;M.prototype.shiftKey=3Dg;M.prototype.metaKey=3Dg;M.protot=
ype.i=3Dh;=0A=
M.prototype.init=3Dfunction(a,b){this.type=3Da.type;this.target=3Da.targe=
t||a.srcElement;this.currentTarget=3Db;this.relatedTarget=3Da.relatedTarg=
et?a.relatedTarget:this.type=3D=3D"mouseover"?a.fromElement:this.type=3D=3D=
"mouseout"?a.toElement:h;this.offsetX=3Dtypeof =
a.layerX=3D=3D"number"?a.layerX:a.offsetX;this.offsetY=3Dtypeof =
a.layerY=3D=3D"number"?a.layerY:a.offsetY;this.clientX=3Dtypeof =
a.clientX=3D=3D"number"?a.clientX:a.pageX;this.clientY=3Dtypeof =
a.clientY=3D=3D"number"?a.clientY:a.pageY;this.screenX=3Da.screenX||0;thi=
s.screenY=3Da.screenY||=0A=
0;this.button=3Da.button;this.keyCode=3Da.keyCode||0;this.charCode=3Da.ch=
arCode||(this.type=3D=3D"keypress"?a.keyCode:0);this.ctrlKey=3Da.ctrlKey;=
this.altKey=3Da.altKey;this.shiftKey=3Da.shiftKey;this.metaKey=3Da.metaKe=
y;this.i=3Da;delete this.da;delete =
this.F};M.prototype.stopPropagation=3Dfunction(){this.F=3Dm;if(this.i.sto=
pPropagation)this.i.stopPropagation();else this.i.cancelBubble=3Dm};=0A=
M.prototype.preventDefault=3Dfunction(){this.da=3Dg;if(this.i.preventDefa=
ult)this.i.preventDefault();else{this.i.returnValue=3Dg;try{this.i.keyCod=
e=3D-1}catch(a){}}};M.prototype.eb=3Dfunction(){return =
this.i};M.prototype.b=3Dfunction(){M.o.b.call(this);this.i=3Dh};var =
O=3Dfunction(){},Vb=3D0;O.prototype.aa=3Dh;O.prototype.listener=3Dh;O.pro=
totype.proxy=3Dh;O.prototype.src=3Dh;O.prototype.type=3Dh;O.prototype.cap=
ture=3Dh;O.prototype.handler=3Dh;O.prototype.key=3D0;O.prototype.removed=3D=
g;O.prototype.na=3Dg;=0A=
O.prototype.init=3Dfunction(a,b,c,d,e,f){if(ra(a))this.aa=3Dm;else =
if(a&&a.handleEvent&&ra(a.handleEvent))this.aa=3Dg;else throw =
Error("Invalid listener =
argument");this.listener=3Da;this.proxy=3Db;this.src=3Dc;this.type=3Dd;th=
is.capture=3D!!e;this.handler=3Df;this.na=3Dg;this.key=3D++Vb;this.remove=
d=3Dg};O.prototype.handleEvent=3Dfunction(a){if(this.aa)return =
this.listener.call(this.handler||this.src,a);return =
this.listener.handleEvent.call(this.listener,a)};var =
Wb=3D{},P=3D{},Xb=3D{},Yb=3Dnew =
J(0,600);Yb.G(function(){return{q:0}});Yb.Ka(function(a){a.q=3D0});var =
Q=3Dnew =
J(0,600);Q.G(function(){return[]});Q.Ka(function(a){a.length=3D0;delete =
a.P;delete a.Ca});var Zb=3Dnew J(0,600);Zb.G(function(){var =
a=3Dfunction(b){return bc.call(a.src,a.key,b)};return a});var =
cc=3Dfunction(){return new O},dc=3Dnew J(0,600);dc.G(cc);=0A=
var ec=3Dfunction(){return new M},fc=3Dfunction(){var =
a=3Dh;if(w){a=3Dnew J(0,600);a.G(ec)}return =
a},gc=3Dfc(),hc=3D"on",ic=3D{},jc=3Dfunction(a,b,c,d,e){if(b)if(s(b)=3D=3D=
"array"){var f=3D0;for(;f<b.length;f++)jc(a,b[f],c,d,e);return =
h}else{var j=3D!!d,i=3DP;b in i||(i[b]=3DYb.k());i=3Di[b];if(!(j in =
i)){i[j]=3DYb.k();i.q++}i=3Di[j];var l=3Dva(a),k,o;if(i[l]){k=3Di[l];var =
f=3D0;for(;f<k.length;f++){o=3Dk[f];if(o.listener=3D=3Dc&&o.handler=3D=3D=
e){if(o.removed)break;return =
k[f].key}}}else{i[l]=3DQ.k();k=3Di[l];i.q++}var =
p=3DZb.k();p.src=3Da;o=3Ddc.k();o.init(c,=0A=
p,a,b,j,e);var =
q=3Do.key;p.key=3Dq;k.push(o);Wb[q]=3Do;Xb[l]||(Xb[l]=3DQ.k());Xb[l].push=
(o);if(a.addEventListener){if(a=3D=3Dr||!a.Nb)a.addEventListener(b,p,j)}e=
lse a.attachEvent(kc(b),p);return q}else throw Error("Invalid event =
type");},lc=3Dfunction(a,b,c,d,e){if(s(b)=3D=3D"array"){var =
f=3D0;for(;f<b.length;f++)lc(a,b[f],c,d,e);return h}var =
j=3D!!d,i=3Dmc(a,b,j);if(!i)return g;var =
f=3D0;for(;f<i.length;f++)if(i[f].listener=3D=3Dc&&i[f].capture=3D=3Dj&&i=
[f].handler=3D=3De)return nc(i[f].key);return =
g},nc=3Dfunction(a){if(!Wb[a])return g;=0A=
var b=3DWb[a];if(b.removed)return g;var =
c=3Db.src,d=3Db.type,e=3Db.proxy,f=3Db.capture;if(c.removeEventListener){=
if(c=3D=3Dr||!c.Nb)c.removeEventListener(d,e,f)}else =
c.detachEvent&&c.detachEvent(kc(d),e);var =
j=3Dva(c),i=3DP[d][f][j];if(Xb[j]){var =
l=3DXb[j];Aa(l,b);l.length=3D=3D0&&delete =
Xb[j]}b.removed=3Dm;i.Ca=3Dm;oc(d,f,j,i);delete Wb[a];return =
m},oc=3Dfunction(a,b,c,d){if(!d.P)if(d.Ca){var =
e=3D0,f=3D0;for(;e<d.length;e++)if(d[e].removed)dc.v(d[e]);else{if(e!=3Df=
)d[f]=3Dd[e];f++}d.length=3Df;d.Ca=3Dg;if(f=3D=3D0){Q.v(d);delete =
P[a][b][c];=0A=
P[a][b].q--;if(P[a][b].q=3D=3D0){Yb.v(P[a][b]);delete =
P[a][b];P[a].q--}if(P[a].q=3D=3D0){Yb.v(P[a]);delete =
P[a]}}}},mc=3Dfunction(a,b,c){var d=3DP;if(b in d){d=3Dd[b];if(c in =
d){d=3Dd[c];var e=3Dva(a);if(d[e])return d[e]}}return =
h},kc=3Dfunction(a){if(a in ic)return ic[a];return =
ic[a]=3Dhc+a},qc=3Dfunction(a,b,c,d){var e=3D1,f=3DP;if(b in =
f){f=3Df[b];if(c in f){f=3Df[c];var j=3Dva(a);if(f[j]){var =
i=3Df[j];if(i.P)i.P++;else i.P=3D1;try{var =
l=3Di.length,k=3D0;for(;k<l;k++){var =
o=3Di[k];if(o&&!o.removed)e&=3Dpc(o,d)!=3D=3Dg}}finally{i.P--;oc(b,c,j,=0A=
i)}}}}return Boolean(e)},pc=3Dfunction(a,b){var =
c=3Da.handleEvent(b);a.na&&nc(a.key);return =
c},bc=3Dfunction(a,b){if(!Wb[a])return m;var =
c=3DWb[a],d=3Dc.type,e=3DP;if(!(d in e))return m;e=3De[d];var =
f;if(w){var j=3Db||na("window.event"),i=3Dm in =
e;if(i){if(j.keyCode<0||j.returnValue!=3Dundefined)return =
m;rc(j)}va(c.src);var l=3Dgc.k();l.init(j,this);f=3Dm;try{if(i){var =
k=3DQ.k(),o=3Dl.currentTarget;for(;o;o=3Do.parentNode)k.push(o);var =
p=3Dk.length-1;for(;!l.F&&p>=3D0;p--){l.currentTarget=3Dk[p];f&=3Dqc(k[p]=
,d,m,l)}var p=3D0;for(;!l.F&&=0A=
p<k.length;p++){l.currentTarget=3Dk[p];f&=3Dqc(k[p],d,g,l)}}else =
f=3Dpc(c,l)}finally{if(k){k.length=3D0;Q.v(k)}l.dispose();gc.v(l)}return =
f}var q=3Dnew M(b,this);try{f=3Dpc(c,q)}finally{q.dispose()}return =
f},rc=3Dfunction(a){var =
b=3Dg;if(a.keyCode=3D=3D0)try{a.keyCode=3D-1;return}catch(c){b=3Dm}if(b||=
a.returnValue=3D=3Dundefined)a.returnValue=3Dm};var =
R=3Dfunction(a){this.a=3Da;this.Pb=3Dthis.a.c.pru;this.tb=3Dthis.a.c.ifri=
d;x&&sc()};u(R,G);if(x)var =
tc=3D[],uc=3D0,sc=3Dfunction(){uc||(uc=3Dwindow.setTimeout(function(){vc(=
)},1000))},vc=3Dfunction(a){var =
b=3Dxa(),c=3Da||3000;for(;tc.length&&b-tc[0].timestamp>=3Dc;){var =
d=3Dtc.shift().iframeElement;nb(d)}uc=3Dwindow.setTimeout(wc,1000)},wc=3D=
function(){vc()};R.prototype.f=3D3;R.prototype.connect=3Dfunction(){this.=
send("tp","SETUP")};R.prototype.H=3Dfunction(a){if(a=3D=3D"SETUP"){this.s=
end("tp",E);this.a.m()}else a=3D=3DE&&this.a.m()};=0A=
R.prototype.send=3Dfunction(a,b){if(w){var =
c=3Ddocument.createElement("div");c.innerHTML=3D'<iframe =
onload=3D"this.xpcOnload()"></iframe>';var =
d=3Dc.childNodes[0];d.xpcOnload=3Dxc}else{var =
d=3Ddocument.createElement("iframe");x?tc.push({timestamp:xa(),iframeElem=
ent:d}):jc(d,"load",xc)}var =
e=3Dd.style;e.visibility=3D"hidden";d.style.height=3D"0px";e.width=3Dd.st=
yle.height;e.position=3D"absolute";var =
f=3Dthis.Pb;f+=3D"#"+this.a.name;if(this.tb)f+=3D","+this.tb;f+=3D"|"+a+"=
:"+encodeURIComponent(b);d.src=3Df;document.body.appendChild(d)};=0A=
var =
xc=3Dfunction(){nb(this);this.xpcOnload=3Dh};window.xpcRelay=3Dfunction(a=
,b){var =
c=3Db.indexOf(":"),d=3Db.substring(0,c),e=3Db.substring(c+1);F[a].j(d,dec=
odeURIComponent(e))};R.prototype.b=3Dfunction(){R.o.b.call(this);x&&vc(0)=
};var =
S=3Dfunction(a,b){this.a=3Da;this.ba=3Db||"*"};u(S,G);S.prototype.f=3D1;v=
ar =
yc=3Dg,Ac=3Dfunction(){if(!yc){jc(window.postMessage?window:document,"mes=
sage",zc,g,S);yc=3Dm}},zc=3Dfunction(a){var =
b=3Da.eb().data,c=3Db.indexOf("|"),d=3Db.indexOf(":");if(c=3D=3D-1||d=3D=3D=
-1)return g;var =
e=3Db.substring(0,c),f=3Db.substring(c+1,d),j=3Db.substring(d+1),i=3DF[e]=
;if(i){i.j(f,j);return m}for(var l in F){var =
k=3DF[l];if(k.s()=3D=3D1&&!k.g()&&f=3D=3D"tp"&&j=3D=3D"SETUP"){k.name=3De=
;F[e]=3Dk;F[l]=3Dh;k.j(f,j);return m}}return g};=0A=
S.prototype.H=3Dfunction(a){switch(a){case =
"SETUP":if(!this.Tb){this.Tb=3Dm;this.send("tp",E)}break;case =
E:this.a.m();break}};S.prototype.connect=3Dfunction(){Ac();this.V()};S.pr=
ototype.V=3Dfunction(){if(!this.a.g()){this.send("tp","SETUP");window.set=
Timeout(t(this.V,this),100)}};S.prototype.send=3Dfunction(a,b){var =
c=3Dthis.a.h;if(!!c){var =
d=3Dc.postMessage?c:c.document;this.send=3Dfunction(e,f){d.postMessage(th=
is.a.name+"|"+e+":"+f,this.ba)};this.send(a,b)}};=0A=
S.prototype.b=3Dfunction(){S.o.b.call(this);lc(window.postMessage?window:=
document,"message",zc,g,S)};var =
T=3Dfunction(a){this.a=3Da;this.Na=3Da.at||"";this.zb=3Da.rat||"";Bc();th=
is[Cc]=3Dthis.N;this[Dc]=3Dthis.Ua};u(T,G);=0A=
var =
Ec=3D"GCXPC____NIXVBS_wrapper",Fc=3D"GCXPC____NIXVBS_get_wrapper",Cc=3D"G=
CXPC____NIXJS_handle_message",Dc=3D"GCXPC____NIXJS_create_channel",Gc=3D"=
GCXPC____NIXVBS_container",Bc=3Dfunction(){if(!window.nix_setup_complete)=
{var a=3D"Class "+Ec+"\n Private m_Transport\nPrivate m_Auth\nPublic Sub =
SetTransport(transport)\nIf isEmpty(m_Transport) Then\nSet m_Transport =
=3D transport\nEnd If\nEnd Sub\nPublic Sub SetAuth(auth)\nIf =
isEmpty(m_Auth) Then\nm_Auth =3D auth\nEnd If\nEnd Sub\nPublic Function =
GetAuthToken()\n GetAuthToken =3D m_Auth\nEnd Function\nPublic Sub =
SendMessage(service, payload)\n Call m_Transport."+Cc+=0A=
"(service, payload)\nEnd Sub\nPublic Sub CreateChannel(channel)\n Call =
m_Transport."+Dc+"(channel)\nEnd Sub\nPublic Sub "+Gc+"()\n End Sub\nEnd =
Class\n Function "+Fc+"(transport, auth)\nDim wrap\nSet wrap =3D New =
"+Ec+"\nwrap.SetTransport transport\nwrap.SetAuth auth\nSet "+Fc+" =3D =
wrap\nEnd =
Function";try{window.execScript(a,"vbscript");window.nix_setup_complete=3D=
m}catch(b){}}};T.prototype.f=3D6;T.prototype.u=3Dg;T.prototype.n=3Dh;T.pr=
ototype.connect=3Dfunction(){this.a.s()=3D=3D0?this.la():this.ka()};=0A=
T.prototype.la=3Dfunction(){if(!this.u){var =
a=3Dthis.a.t;try{a.contentWindow.opener=3Dwindow[Fc](this,this.Na);this.u=
=3Dm}catch(b){}this.u||window.setTimeout(t(this.la,this),100)}};T.prototy=
pe.ka=3Dfunction(){if(!this.u){try{var a=3Dwindow.opener;if(a&&Gc in =
a){this.n=3Da;var =
b=3Dthis.n.GetAuthToken();if(b!=3Dthis.zb)return;this.n.CreateChannel(win=
dow[Fc](this,this.Na));this.u=3Dm;this.a.m()}}catch(c){return}this.u||win=
dow.setTimeout(t(this.ka,this),100)}};=0A=
T.prototype.Ua=3Dfunction(a){this.n=3Da;var =
b=3Dthis.n.GetAuthToken();b!=3Dthis.zb||this.a.m()};T.prototype.N=3Dfunct=
ion(a,b){function =
c(){this.a.j(a,b)}window.setTimeout(t(c,this),1)};T.prototype.send=3Dfunc=
tion(a,b){this.n.SendMessage(a,b)};T.prototype.b=3Dfunction(){T.o.b.call(=
this);this.n=3Dh};var =
U=3Dfunction(a){C.call(this);this.c=3Da;this.name=3Dthis.c.cn||Lb(10);thi=
s.Ja=3D{};F[this.name]=3Dthis;jc(window,"unload",Hc)};u(U,C);U.prototype.=
d=3Dh;U.prototype.ha=3D1;U.prototype.g=3Dfunction(){return =
this.ha=3D=3D2};U.prototype.h=3Dh;U.prototype.t=3Dh;U.prototype.La=3Dfunc=
tion(a){this.h=3Da};=0A=
U.prototype.Wa=3Dfunction(){if(!this.d){if(!this.c.tp)if(ra(document.post=
Message)||ra(window.postMessage)||w&&window.postMessage)this.c.tp=3D1;els=
e if(Sa)this.c.tp=3D2;else if(w&&this.c.pru)this.c.tp=3D3;else =
if(w)this.c.tp=3D6;else =
if(this.c.lpu&&this.c.ppu)this.c.tp=3D4;switch(this.c.tp){case =
1:this.d=3Dnew S(this,this.c.ph);break;case 6:this.d=3Dnew =
T(this);break;case 2:this.d=3Dnew H(this);break;case 3:this.d=3Dnew =
R(this);break;case 4:this.d=3Dnew I(this);break}if(!this.d)throw =
Error("CrossPageChannel: No suitable transport found!");=0A=
}};U.prototype.Ya=3Dg;U.prototype.Ra=3Dg;U.prototype.connect=3Dfunction(a=
){this.Mb=3Da;if(this.Ya)this.Ra=3Dm;else{if(this.c.ifrid)this.t=3Dtypeof=
=
this.c.ifrid=3D=3D"string"?document.getElementById(this.c.ifrid):this.c.i=
frid;if(this.t){var =
b=3Dthis.t.contentWindow;b||(b=3Dwindow.frames[this.c.ifrid]);this.La(b)}=
if(!this.h)if(window=3D=3Dtop)throw Error("CrossPageChannel: Can't =
connect, peer window-object not set.");else =
this.La(window.parent);this.Wa();this.d.connect()}};=0A=
U.prototype.close=3Dfunction(){if(!!this.g()){this.ha=3D3;this.d.dispose(=
);this.d=3Dh}};U.prototype.m=3Dfunction(){if(!this.g()){this.ha=3D2;this.=
Mb()}};U.prototype.rb=3Dfunction(){this.close()};U.prototype.yb=3Dfunctio=
n(a,b,c){this.Ja[a]=3D{name:a,callback:b,jsonEncoded:!!c}};U.prototype.se=
nd=3Dfunction(a,b){if(!!this.g())if(this.h.closed)this.close();else{if(sa=
(b))b=3D(new D).serialize(b);this.d.send(a,b)}};=0A=
U.prototype.j=3Dfunction(a,b){if(!a||a=3D=3D"tp")this.d.H(b);else =
if(this.g()){var =
c=3Dthis.Ja[a];if(c){if(c.jsonEncoded)try{b=3DHb(b)}catch(d){return}c.cal=
lback(b)}}};U.prototype.s=3Dfunction(){return =
window.parent=3D=3Dthis.h?1:0};U.prototype.b=3Dfunction(){U.o.b.call(this=
);this.close();this.t=3Dthis.h=3Dh;delete this.Ja;F[this.name]=3Dh};var =
Hc=3Dfunction(){for(var a in F){var b=3DF[a];b&&b.dispose()}};var =
Ic=3Dfunction(a){var =
b=3Da||document.location.protocol+"//"+document.location.host;return =
b+"/robots.txt"};var =
V=3Dfunction(a,b){this.A=3Da.width;this.z=3Da.height;this.Lb=3Db;this.ba=3D=
this.gb(a.src,document);this.$=3Dg;this.e=3Da;this.mb(this.ib())};V.proto=
type.ib=3Dfunction(){var =
a=3D{};a.ifrid=3Dthis.e.id;a.pu=3Dthis.e.src;a.ph=3Dthis.ba;a.cn=3Dthis.L=
b;a.ppu=3DIc(this.ba);a.lpu=3DIc();return =
a};V.prototype.mb=3Dfunction(a){this.a=3Dnew =
U(a);this.a.yb("expandable_ad",t(this.N,this));this.a.connect(function(){=
});window.setTimeout(t(this.kb,this),30000)};=0A=
V.prototype.kb=3Dfunction(){if(this.a&&!this.a.g()){this.a.d.connect=3Dfu=
nction(){};if(this.a.d.f=3D=3D1)this.a.d.V=3Dfunction(){};if(this.a.d.f=3D=
=3D4)this.a.d.Ub=3Dfunction(){};this.a.d.dispose();this.a.dispose()}};V.p=
rototype.gb=3Dfunction(a,b){var =
c=3Da.indexOf("//"),d=3Dc>0,e=3Dd?a.substring(0,c):b.location.protocol,f=3D=
d?a.substring(c+2):b.location.host,j=3Df.indexOf("/");if(j<0)j=3Df.indexO=
f("?");if(d&&j>0)f=3Df.substring(0,j);return e+"//"+f};=0A=
V.prototype.N=3Dfunction(a){var =
b=3Da.split("_"),c=3Db[0];if(c=3D=3D"expand")this.lb(b);else =
c=3D=3D"collapse"&&this.jb()};V.prototype.Ga=3Dfunction(a){this.a.send("e=
xpandable_ad",a)};V.prototype.lb=3Dfunction(a){if(!this.$){var =
b,c;for(var d in a){var =
e=3Da[d].charAt(0);if(e=3D=3D"w")b=3DparseInt(a[d].substring(1),10);else =
if(e=3D=3D"h")c=3DparseInt(a[d].substring(1),10)}var =
f=3Dthis.$a(b,c);this.bb(b,c,f);this.Ga("ok_expand_w"+b+"_h"+c+"_d"+f)}};=0A=
V.prot
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -