Search the Community
Showing results for tags 'javascript engine'.
-
Anothe philosophical question for Larry and all wiser and more knowledgable than I.... I took Larry's advice and had a look at Google's front page to see how they used JS to autocomplete the search criteria - you know, when you put 'AA' in the search window - before pressing the search button, it gives you 'aaron', 'aaliyah' etc. but oddly, not Aardvaark! but I digress. What I got was a huge block of compressed code that was obviously generated by a server side language. Here is a SMALL section: function ob(a,{var c=jb,d=lb,g;g=34>=a?a<=Z.w?a==Z.u||a==Z.v||a==Z.z?i:e:a>=Z.k&&a<=Z.o?e:i:200<=a?e:i;g&&(c=kb,d=mb);if(d){d=encodeURIComponent;c=["//www.google.com/gen_204?atyp=i&zx=",(new Date).getTime(),"&oge=",a,"&ogex=",d("37102"),"&ogf=",j.bv.f,"&ogp=",d("1"),"&ogsr=",Math.round(1/c),"&ogv=",d("1337744543.1337808325"),"&ogd=",d("es"),"&ogl=",d("es")];if({"ogw"in b&&(c.push("&ogw="+b.ogw),delete b.ogw);var f;g=b;var h=[];for(f in g)0!=h.length&&h.push(","),h.push(f),h.push("."),h.push(g[f]);f=h.join("");""!=f&&(c.push("&ogad="),c.push(d(f)))}sa(c.join(""))}}I=ob;n("il",I,J);var pb={};r.il=pb;var qb=function(a,b,c,d,g,f,h,m,k,q){v(function(){j.paa(a,b,c,d,g,f,h,m,k,q)})},rb=function(){v(function(){j.prm()})},sb=function(a){v(function(){j.spn(a)})},tb=function(a){v(function(){j.sps(a)})},ub=function(a){v(function(){j.spp(a)})},vb={"27":"//ssl.gstatic.com/gb/images/silhouette_27.png","27":"//ssl.gstatic.com/gb/images/silhouette_27.png","27":"//ssl.gstatic.com/gb/images/silhouette_27.png"},wb=function(a){return(a=vb[a])||"//ssl.gstatic.com/gb/images/silhouette_27.png"},xb=function(){v(function(){j.spd()})};n("spn",sb);n("spp",ub);n("sps",tb);n("spd",xb);n("paa",qb);n("prm",rb);Ta("gbd4",rb);if(l.a("")){var yb={g:l.a(""),d:l.a(""),e:"",sanw:l.a(""),m:"",p:"//ssl.gstatic.com/gb/images/silhouette_96.png",xp:l.a("1"),mg:"%1$s (delegada)",md:"%1$s (predeterminada)",mh:"276",s:"1",pp:wb,ppl:l.a(""),ppa:l.a("1"),ppm:"Página de Google+"};r.prf=yb};if(l.a("1")&&l.a("1")){var $=function(a){Y(function(){u("pw",a);A("pw")})};n("lPW",$);s.push(["pw", The question is - is the future of JS that it will all one day be generated by a WYSIWYG processor that will take all of the fun out of coding???