Skip to content

Instantly share code, notes, and snippets.

@aurbano
Last active December 11, 2015 10:48
Show Gist options
  • Save aurbano/4589715 to your computer and use it in GitHub Desktop.
Save aurbano/4589715 to your computer and use it in GitHub Desktop.
First Crush, makes already minified JS smaller, by @TpDown, code from http://js1k.com/2012-love/demo/1189
f='GNunescape(encodeURI)^},S M ^/2,B g=t=u=0,v={};Ky=2,z=M;y<=zy)Kh=0,l ^-y;h<lh)!v[e .substr(h,y)])K=1,f=h;~(f=5,f+y));)++,M=y;Ke @ v)(j=)>1 s=G*(j-1)-j-2;s>t||s==tj<u)t=s,u=j,g=e}X=g};Kd=1,F=[];d<127d)e=Str@g.fromCharCode(d),!\']/.test!~5)F.p;F.sort(`a,bNa>b?1:a<b?-1:0}),Z";while((Y=F(B,X))a WX)%Y)+Y+X,Z=Y+Z;q W"\'^<aW\'"\')^?"\'":\'"\',Qfa.\\\\]/g,$&6RegExp(q,"g,"+q)";Ki @ gZe=fWg[i]),f=e%e;f)"},INdocum.getElemById},c.@sertAdjacHTMLbeforebeg@",["JS_cP8#box"De" #ed> Run?\' 8button" cr"Dr">\',"Cred_dPdivDi"></div>\']%"<br>)4r6onclick=` V=Ic6,S(V)4d6=Q4i6@nerHTML=V3V to "+Q3Q"4e6#edsetTimeoutQ)",0)}`function(_:"  cols99" rows12"D^.lengthW.split(P"></>\' N return Kfor(D id@in8@put type6.5a.@dexOf(e4,I3^+" +G(%.jo@(#checkvalue="replace(textarea.pop())v[e]=`a+q+/[\\r\\neval()+"B)(a);++if((e)"\\\\ushent ,\'< ){ =a&&")("';for(i in g=' #%34568@DKNPW^_`')e=f.split(g[i]),f=e.join(e.pop());eval(f)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment