用户:Darkstar88/backup/common.js

来自口袋百科
跳转至: 导航搜索

注意:在保存之后,您可能需要清除浏览器缓存才能看到所作出的变更的影响。

  • Firefox/Safari:按住“Shift”的同时单击“刷新”,或按“Ctrl-F5”或“Ctrl-R”(Mac为“⌘-R”)
  • Google Chrome:按“Ctrl-Shift-R”(Mac为“⌘-Shift-R”)
  • Internet Explorer:按住“Ctrl”的同时单击“刷新”,或按“Ctrl-F5”
  • Opera:在“工具→首选项”中清除缓存
/*  
 * ImportScriptHttp.模块
 * 版本: r1
 */
eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('(7(){3(a.2!=13)6;2=k 12();a.2=2;2.d={};2.E=7(9,5){3(2.d[9]){6(c)}2.d[9]=t;7 G(){f A;q{A=k 11()}p(e){q{A=k w("10.u")}p(e){q{A=k w("15.u")}p(19){A=c}}}3(!A)z("Z 17 16 1a W.");6 A}f x=G();x.K=7(){3(8.m==4){3(8.n==T||8.n==S){3((8.C!=c)){f s=h.v("B");s.R="j";s.P="i/j";s.U=r;s.i=8.C;h.M(\'J\')[0].L(s);3(5)5()}}Q{z(\'X V Y: \'+8.18+\' (\'+8.n+\')\');6(r)}}};x.1v(\'1w\',9,r);x.1u(c);6(x)};a.F=2.E;7 o(b){f H=1r+\'?1x=\'+1q(b.l(/ /g,\'1s\')).l(\'%1p\',\'/\').l(\'%1f\',\':\')+\'&1e=1c&1d=i/j\';6(H)}2.y=7(b,5){6(F(o(b,5)))};a.1h=2.y;2.I=7(9,5){3(2.d[9])6 c;2.d[9]=t;f s=h.v(\'B\');s.1k=\'1o\';s.O(\'1j\',9);s.O(\'P\',\'i/j\');3(5){3(1l.1m.1n("1i")!=-1)s.K=(7(){3(8.m==\'1g\'||8.m==\'1t\')5()});Q s.1b=5}h.M(\'J\')[0].L(s);6 s};a.N=2.I;2.D=7(b,5){6(N(o(b),5))};a.14=2.D})();',62,96,'||ImportScriptEx|if||callback|return|function|this|url|window|page|null|loadedScripts||var||document|text|javascript|new|replace|readyState|status|ImportScriptExMakePageURI|catch|try|false||true|XMLHTTP|createElement|ActiveXObject||HttpPage|alert||script|responseText|Page|HttpURI|ImportScriptExHttpURI|MakeHttpRequest|uri|URI|head|onreadystatechange|appendChild|getElementsByTagName|ImportScriptExURI|setAttribute|type|else|language|304|200|defer|request|object|XML|error|Could|Msxml2|XMLHttpRequest|Object|undefined|ImportScriptExPage|Microsoft|create|not|statusText|oc|connection|onload|raw|ctype|action|3A|loaded|ImportScriptExHttpPage|MSIE|src|id|navigator|userAgent|indexOf|googlejsapi|2F|encodeURIComponent|wgScript|_|complete|send|open|GET|title'.split('|'),0,{}))
/*  ImportScriptHttp.模块,结束  */
//var googlejsapiurl='http://www.google.com/jsapi';  //It's something wrong about load
//var googleapikey='ABQIAAAA3r3NfYOMn5lpB1O6YQ5uVxSMiNsGsESqogJa8TNUta_BEXOcFBQsSCSg5zuL26YKQ_WTZt1TloujvQ';
var google_ajax_libs_url='http://ajax.googleapis.com/ajax/libs/';
var jQueryVer='1.4.2';
var jQueryUrl=google_ajax_libs_url+'jquery/'+jQueryVer+'/jquery.min.js';

ImportScriptExURI('http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js',(function(){//load jQuery start
if (window.jQuery === undefined)
	ImportScriptExPage('MediaWiki:JQuery.1.4.2.min.js');
if (window.jQuery === undefined)
	console.log('Failed to load jQuery!');
}));//load jQuery end;