Advertisement
OhMika

Untitled

Jun 9th, 2019
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 27.87 KB | None | 0 0
  1. <!DOCTYPE html>
  2.  
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  5. <title>click-time-test</title>
  6. <script>if(!window['googleLT_']){window['googleLT_']=(new Date()).getTime();}if (!window['google']) {
  7. window['google'] = {};
  8. }
  9. if (!window['google']['loader']) {
  10. window['google']['loader'] = {};
  11. google.loader.ServiceBase = 'https://www.google.com/uds';
  12. google.loader.GoogleApisBase = 'https://ajax.googleapis.com/ajax';
  13. google.loader.ApiKey = 'notsupplied';
  14. google.loader.KeyVerified = true;
  15. google.loader.LoadFailure = false;
  16. google.loader.Secure = true;
  17. google.loader.GoogleLocale = 'www.google.com';
  18. google.loader.ClientLocation = {"latitude":51.683,"longitude":5.317,"address":{"city":"'s-Hertogenbosch","region":"North Brabant","country":"The Netherlands","country_code":"NL"}};
  19. google.loader.AdditionalParams = '';
  20. (function() {var g=this,l=function(a,b,c){a=a.split(".");c=c||g;a[0]in c||"undefined"==typeof c.execScript||c.execScript("var "+a[0]);for(var d;a.length&&(d=a.shift());)a.length||void 0===b?c=c[d]&&c[d]!==Object.prototype[d]?c[d]:c[d]={}:c[d]=b},m=function(a,b,c){a[b]=c};var w=function(a,b){if(b)a=a.replace(n,"&amp;").replace(p,"&lt;").replace(q,"&gt;").replace(r,"&quot;").replace(t,"&#39;").replace(u,"&#0;");else{if(!v.test(a))return a;-1!=a.indexOf("&")&&(a=a.replace(n,"&amp;"));-1!=a.indexOf("<")&&(a=a.replace(p,"&lt;"));-1!=a.indexOf(">")&&(a=a.replace(q,"&gt;"));-1!=a.indexOf('"')&&(a=a.replace(r,"&quot;"));-1!=a.indexOf("'")&&(a=a.replace(t,"&#39;"));-1!=a.indexOf("\x00")&&(a=a.replace(u,"&#0;"))}return a},n=/&/g,p=/</g,q=/>/g,r=/"/g,t=/'/g,u=/\x00/g,v=/[\x00&<>"']/;var x=/^[\w+/_-]+[=]{0,2}$/;function y(a){return a in z?z[a]:z[a]=-1!=navigator.userAgent.toLowerCase().indexOf(a)}var z={};function A(a,b){var c=function(){};c.prototype=b.prototype;a.da=b.prototype;a.prototype=new c}function C(a,b,c){var d=Array.prototype.slice.call(arguments,2)||[];return function(){return a.apply(b,d.concat(Array.prototype.slice.call(arguments)))}}function D(a){a=Error(a);a.toString=function(){return this.message};return a}
  21. function E(a,b){a=a.split(/\./);for(var c=window,d=0;d<a.length-1;d++)c[a[d]]||(c[a[d]]={}),c=c[a[d]];c[a[a.length-1]]=b}function F(a,b,c){a[b]=c}window.Y||(window.Y={});l||(l=E);m||(m=F);google.loader.F={};l("google.loader.callbacks",google.loader.F);var G={},H={};google.loader.eval={};l("google.loader.eval",google.loader.eval);
  22. google.load=function(a,b,c){function d(a){var b=a.split(".");if(2<b.length)throw D("Module: '"+a+"' not found!");"undefined"!=typeof b[1]&&(e=b[0],c.packages=c.packages||[],c.packages.push(b[1]))}var e=a;c=c||{};if(a instanceof Array||a&&"object"==typeof a&&"function"==typeof a.join&&"function"==typeof a.reverse)for(var f=0;f<a.length;f++)d(a[f]);else d(a);if(a=G[":"+e]){c&&!c.language&&c.locale&&(c.language=c.locale);c&&"string"==typeof c.callback&&(f=c.callback,f.match(/^[[\]A-Za-z0-9._]+$/)&&(f=
  23. window.eval(f),c.callback=f));if((f=c&&null!=c.callback)&&!a.D(b))throw D("Module: '"+e+"' must be loaded before DOM onLoad!");f?a.u(b,c)?window.setTimeout(c.callback,0):a.load(b,c):a.u(b,c)||a.load(b,c)}else throw D("Module: '"+e+"' not found!");};l("google.load",google.load);
  24. google.ca=function(a,b){b?(0==I.length&&(J(window,"load",K),!y("msie")&&!y("safari")&&!y("konqueror")&&y("mozilla")||window.opera?window.addEventListener("DOMContentLoaded",K,!1):y("msie")?document.write("<script defer onreadystatechange='google.loader.domReady()' src=//:>\x3c/script>"):(y("safari")||y("konqueror"))&&window.setTimeout(L,10)),I.push(a)):J(window,"load",a)};l("google.setOnLoadCallback",google.ca);
  25. function J(a,b,c){if(a.addEventListener)a.addEventListener(b,c,!1);else if(a.attachEvent)a.attachEvent("on"+b,c);else{var d=a["on"+b];a["on"+b]=null!=d?M([c,d]):c}}function M(a){return function(){for(var b=0;b<a.length;b++)a[b]()}}var I=[];google.loader.W=function(){var a=window.event.srcElement;"complete"==a.readyState&&(a.onreadystatechange=null,a.parentNode.removeChild(a),K())};l("google.loader.domReady",google.loader.W);var N={loaded:!0,complete:!0};
  26. function L(){N[document.readyState]?K():0<I.length&&window.setTimeout(L,10)}function K(){for(var a=0;a<I.length;a++)I[a]();I.length=0}
  27. google.loader.f=function(a,b,c){a:{var d=g.document;if((d=d.querySelector&&d.querySelector("script[nonce]"))&&(d=d.nonce||d.getAttribute("nonce"))&&x.test(d))break a;d=void 0}if(c){if("script"==a){var e=document.createElement("script");e.type="text/javascript";e.src=b;d&&e.setAttribute("nonce",d)}else"css"==a&&(e=document.createElement("link"),e.type="text/css",e.href=b,e.rel="stylesheet");(a=document.getElementsByTagName("head")[0])||(a=document.body.parentNode.appendChild(document.createElement("head")));
  28. a.appendChild(e)}else"script"==a?(e='<script src="'+w(b)+'" type="text/javascript"',d&&(e+=' nonce="'+w(d)+'"'),document.write(e+">\x3c/script>")):"css"==a&&(e='<link href="'+w(b)+'" type="text/css" rel="stylesheet"',d&&(e+=' nonce="'+w(d)+'"'),document.write(e+"></link>"))};l("google.loader.writeLoadTag",google.loader.f);google.loader.$=function(a){H=a};l("google.loader.rfm",google.loader.$);
  29. google.loader.ba=function(a){for(var b in a)"string"==typeof b&&b&&":"==b.charAt(0)&&!G[b]&&(G[b]=new O(b.substring(1),a[b]))};l("google.loader.rpl",google.loader.ba);google.loader.aa=function(a){if((a=a.specs)&&a.length)for(var b=0;b<a.length;++b){var c=a[b];"string"==typeof c?G[":"+c]=new P(c):(c=new Q(c.name,c.baseSpec,c.customSpecs),G[":"+c.name]=c)}};l("google.loader.rm",google.loader.aa);google.loader.loaded=function(a){G[":"+a.module].o(a)};l("google.loader.loaded",google.loader.loaded);
  30. google.loader.V=function(){return"qid="+((new Date).getTime().toString(16)+Math.floor(1E7*Math.random()).toString(16))};l("google.loader.createGuidArg_",google.loader.V);E("google_exportSymbol",E);E("google_exportProperty",F);google.loader.a={};l("google.loader.themes",google.loader.a);google.loader.a.K="//www.google.com/cse/static/style/look/bubblegum.css";m(google.loader.a,"BUBBLEGUM",google.loader.a.K);google.loader.a.M="//www.google.com/cse/static/style/look/greensky.css";
  31. m(google.loader.a,"GREENSKY",google.loader.a.M);google.loader.a.L="//www.google.com/cse/static/style/look/espresso.css";m(google.loader.a,"ESPRESSO",google.loader.a.L);google.loader.a.O="//www.google.com/cse/static/style/look/shiny.css";m(google.loader.a,"SHINY",google.loader.a.O);google.loader.a.N="//www.google.com/cse/static/style/look/minimalist.css";m(google.loader.a,"MINIMALIST",google.loader.a.N);google.loader.a.P="//www.google.com/cse/static/style/look/v2/default.css";
  32. m(google.loader.a,"V2_DEFAULT",google.loader.a.P);function P(a){this.b=a;this.B=[];this.A={};this.l={};this.g={};this.s=!0;this.c=-1}
  33. P.prototype.i=function(a,b){var c="";void 0!=b&&(void 0!=b.language&&(c+="&hl="+encodeURIComponent(b.language)),void 0!=b.nocss&&(c+="&output="+encodeURIComponent("nocss="+b.nocss)),void 0!=b.nooldnames&&(c+="&nooldnames="+encodeURIComponent(b.nooldnames)),void 0!=b.packages&&(c+="&packages="+encodeURIComponent(b.packages)),null!=b.callback&&(c+="&async=2"),void 0!=b.style&&(c+="&style="+encodeURIComponent(b.style)),void 0!=b.noexp&&(c+="&noexp=true"),void 0!=b.other_params&&(c+="&"+b.other_params));
  34. if(!this.s){google[this.b]&&google[this.b].JSHash&&(c+="&sig="+encodeURIComponent(google[this.b].JSHash));b=[];for(var d in this.A)":"==d.charAt(0)&&b.push(d.substring(1));for(d in this.l)":"==d.charAt(0)&&this.l[d]&&b.push(d.substring(1));c+="&have="+encodeURIComponent(b.join(","))}return google.loader.ServiceBase+"/?file="+this.b+"&v="+a+google.loader.AdditionalParams+c};
  35. P.prototype.H=function(a){var b=null;a&&(b=a.packages);var c=null;if(b)if("string"==typeof b)c=[a.packages];else if(b.length)for(c=[],a=0;a<b.length;a++)"string"==typeof b[a]&&c.push(b[a].replace(/^\s*|\s*$/,"").toLowerCase());c||(c=["default"]);b=[];for(a=0;a<c.length;a++)this.A[":"+c[a]]||b.push(c[a]);return b};
  36. P.prototype.load=function(a,b){var c=this.H(b),d=b&&null!=b.callback;if(d)var e=new R(b.callback);for(var f=[],h=c.length-1;0<=h;h--){var k=c[h];d&&e.R(k);this.l[":"+k]?(c.splice(h,1),d&&this.g[":"+k].push(e)):f.push(k)}if(c.length){b&&b.packages&&(b.packages=c.sort().join(","));for(h=0;h<f.length;h++)k=f[h],this.g[":"+k]=[],d&&this.g[":"+k].push(e);if(b||null==H[":"+this.b]||null==H[":"+this.b].versions[":"+a]||google.loader.AdditionalParams||!this.s)b&&b.autoloaded||google.loader.f("script",this.i(a,
  37. b),d);else{a=H[":"+this.b];google[this.b]=google[this.b]||{};for(var B in a.properties)B&&":"==B.charAt(0)&&(google[this.b][B.substring(1)]=a.properties[B]);google.loader.f("script",google.loader.ServiceBase+a.path+a.js,d);a.css&&google.loader.f("css",google.loader.ServiceBase+a.path+a.css,d)}this.s&&(this.s=!1,this.c=(new Date).getTime(),1!=this.c%100&&(this.c=-1));for(h=0;h<f.length;h++)k=f[h],this.l[":"+k]=!0}};
  38. P.prototype.o=function(a){-1!=this.c&&(S("al_"+this.b,"jl."+((new Date).getTime()-this.c),!0),this.c=-1);this.B=this.B.concat(a.components);google.loader[this.b]||(google.loader[this.b]={});google.loader[this.b].packages=this.B.slice(0);for(var b=0;b<a.components.length;b++){this.A[":"+a.components[b]]=!0;this.l[":"+a.components[b]]=!1;var c=this.g[":"+a.components[b]];if(c){for(var d=0;d<c.length;d++)c[d].U(a.components[b]);delete this.g[":"+a.components[b]]}}};
  39. P.prototype.u=function(a,b){return 0==this.H(b).length};P.prototype.D=function(){return!0};function R(a){this.T=a;this.v={};this.C=0}R.prototype.R=function(a){this.C++;this.v[":"+a]=!0};R.prototype.U=function(a){this.v[":"+a]&&(this.v[":"+a]=!1,this.C--,0==this.C&&window.setTimeout(this.T,0))};function Q(a,b,c){this.name=a;this.S=b;this.w=c;this.G=this.j=!1;this.m=[];google.loader.F[this.name]=C(this.o,this)}A(Q,P);Q.prototype.load=function(a,b){var c=b&&null!=b.callback;c?(this.m.push(b.callback),b.callback="google.loader.callbacks."+this.name):this.j=!0;b&&b.autoloaded||google.loader.f("script",this.i(a,b),c)};Q.prototype.u=function(a,b){return b&&null!=b.callback?this.G:this.j};Q.prototype.o=function(){this.G=!0;for(var a=0;a<this.m.length;a++)window.setTimeout(this.m[a],0);this.m=[]};
  40. var T=function(a,b){return a.string?encodeURIComponent(a.string)+"="+encodeURIComponent(b):a.regex?b.replace(/(^.*$)/,a.regex):""};Q.prototype.i=function(a,b){return this.X(this.I(a),a,b)};
  41. Q.prototype.X=function(a,b,c){var d="";a.key&&(d+="&"+T(a.key,google.loader.ApiKey));a.version&&(d+="&"+T(a.version,b));b=google.loader.Secure&&a.ssl?a.ssl:a.uri;if(null!=c)for(var e in c)a.params[e]?d+="&"+T(a.params[e],c[e]):"other_params"==e?d+="&"+c[e]:"base_domain"==e&&(b="http://"+c[e]+a.uri.substring(a.uri.indexOf("/",7)));google[this.name]={};-1==b.indexOf("?")&&d&&(d="?"+d.substring(1));return b+d};Q.prototype.D=function(a){return this.I(a).deferred};
  42. Q.prototype.I=function(a){if(this.w)for(var b=0;b<this.w.length;++b){var c=this.w[b];if((new RegExp(c.pattern)).test(a))return c}return this.S};function O(a,b){this.b=a;this.h=b;this.j=!1}A(O,P);O.prototype.load=function(a,b){this.j=!0;google.loader.f("script",this.i(a,b),!1)};O.prototype.u=function(){return this.j};O.prototype.o=function(){};
  43. O.prototype.i=function(a,b){if(!this.h.versions[":"+a]){if(this.h.aliases){var c=this.h.aliases[":"+a];c&&(a=c)}if(!this.h.versions[":"+a])throw D("Module: '"+this.b+"' with version '"+a+"' not found!");}return google.loader.GoogleApisBase+"/libs/"+this.b+"/"+a+"/"+this.h.versions[":"+a][b&&b.uncompressed?"uncompressed":"compressed"]};O.prototype.D=function(){return!1};var U=!1,V=[],aa=(new Date).getTime(),X=function(){U||(J(window,"unload",W),U=!0)},Z=function(a,b){X();if(!(google.loader.Secure||google.loader.Options&&!1!==google.loader.Options.csi)){for(var c=0;c<a.length;c++)a[c]=encodeURIComponent(a[c].toLowerCase().replace(/[^a-z0-9_.]+/g,"_"));for(c=0;c<b.length;c++)b[c]=encodeURIComponent(b[c].toLowerCase().replace(/[^a-z0-9_.]+/g,"_"));window.setTimeout(C(Y,null,"//gg.google.com/csi?s=uds&v=2&action="+a.join(",")+"&it="+b.join(",")),1E4)}},S=function(a,
  44. b,c){c?Z([a],[b]):(X(),V.push("r"+V.length+"="+encodeURIComponent(a+(b?"|"+b:""))),window.setTimeout(W,5<V.length?0:15E3))},W=function(){if(V.length){var a=google.loader.ServiceBase;0==a.indexOf("http:")&&(a=a.replace(/^http:/,"https:"));Y(a+"/stats?"+V.join("&")+"&nc="+(new Date).getTime()+"_"+((new Date).getTime()-aa));V.length=0}},Y=function(a){var b=new Image,c=Y.Z++;Y.J[c]=b;b.onload=b.onerror=function(){delete Y.J[c]};b.src=a;b=null};Y.J={};Y.Z=0;E("google.loader.recordCsiStat",Z);
  45. E("google.loader.recordStat",S);E("google.loader.createImageForLogging",Y);
  46.  
  47. }) ();google.loader.rm({"specs":["visualization","payments",{"name":"annotations","baseSpec":{"uri":"http://www.google.com/reviews/scripts/annotations_bootstrap.js","ssl":null,"key":{"string":"key"},"version":{"string":"v"},"deferred":true,"params":{"country":{"string":"gl"},"callback":{"string":"callback"},"language":{"string":"hl"}}}},"language","gdata","wave","spreadsheets","search","orkut","feeds","annotations_v2","picker","identitytoolkit",{"name":"maps","baseSpec":{"uri":"http://maps.google.com/maps?file\u003dgoogleapi","ssl":"https://maps-api-ssl.google.com/maps?file\u003dgoogleapi","key":{"string":"key"},"version":{"string":"v"},"deferred":true,"params":{"callback":{"regex":"callback\u003d$1\u0026async\u003d2"},"language":{"string":"hl"}}},"customSpecs":[{"uri":"http://maps.googleapis.com/maps/api/js","ssl":"https://maps.googleapis.com/maps/api/js","version":{"string":"v"},"deferred":true,"params":{"callback":{"string":"callback"},"language":{"string":"hl"}},"pattern":"^(3|3..*)$"}]},{"name":"friendconnect","baseSpec":{"uri":"http://www.google.com/friendconnect/script/friendconnect.js","ssl":"https://www.google.com/friendconnect/script/friendconnect.js","key":{"string":"key"},"version":{"string":"v"},"deferred":false,"params":{}}},{"name":"sharing","baseSpec":{"uri":"http://www.google.com/s2/sharing/js","ssl":null,"key":{"string":"key"},"version":{"string":"v"},"deferred":false,"params":{"language":{"string":"hl"}}}},"ads",{"name":"books","baseSpec":{"uri":"http://books.google.com/books/api.js","ssl":"https://encrypted.google.com/books/api.js","key":{"string":"key"},"version":{"string":"v"},"deferred":true,"params":{"callback":{"string":"callback"},"language":{"string":"hl"}}}},"elements","earth","ima"]});
  48. google.loader.rfm({":search":{"versions":{":1":"1",":1.0":"1"},"path":"/api/search/1.0/76c37a052829ad2c9825658fbbc50bce/","js":"default+nl.I.js","css":"default+nl.css","properties":{":Version":"1.0",":NoOldNames":false,":JSHash":"76c37a052829ad2c9825658fbbc50bce"}},":language":{"versions":{":1":"1",":1.0":"1"},"path":"/api/language/1.0/56fdcd67fffdfab0d072a8ac4d438ab3/","js":"default+nl.I.js","properties":{":Version":"1.0",":JSHash":"56fdcd67fffdfab0d072a8ac4d438ab3"}},":annotations":{"versions":{":1":"1",":1.0":"1"},"path":"/api/annotations/1.0/3b0f18d6e7bf8cf053640179ef6d98d1/","js":"default+nl.I.js","properties":{":Version":"1.0",":JSHash":"3b0f18d6e7bf8cf053640179ef6d98d1"}},":wave":{"versions":{":1":"1",":1.0":"1"},"path":"/api/wave/1.0/3b6f7573ff78da6602dda5e09c9025bf/","js":"default.I.js","properties":{":Version":"1.0",":JSHash":"3b6f7573ff78da6602dda5e09c9025bf"}},":picker":{"versions":{":1":"1",":1.0":"1"},"path":"/api/picker/1.0/1c635e91b9d0c082c660a42091913907/","js":"default.I.js","css":"default.css","properties":{":Version":"1.0",":JSHash":"1c635e91b9d0c082c660a42091913907"}},":ima":{"versions":{":3":"1",":3.0":"1"},"path":"/api/ima/3.0/28a914332232c9a8ac0ae8da68b1006e/","js":"default.I.js","properties":{":Version":"3.0",":JSHash":"28a914332232c9a8ac0ae8da68b1006e"}}});
  49. google.loader.rpl({":chrome-frame":{"versions":{":1.0.0":{"uncompressed":"CFInstall.js","compressed":"CFInstall.min.js"},":1.0.1":{"uncompressed":"CFInstall.js","compressed":"CFInstall.min.js"},":1.0.2":{"uncompressed":"CFInstall.js","compressed":"CFInstall.min.js"}},"aliases":{":1":"1.0.2",":1.0":"1.0.2"}},":swfobject":{"versions":{":2.1":{"uncompressed":"swfobject_src.js","compressed":"swfobject.js"},":2.2":{"uncompressed":"swfobject_src.js","compressed":"swfobject.js"}},"aliases":{":2":"2.2"}},":ext-core":{"versions":{":3.1.0":{"uncompressed":"ext-core-debug.js","compressed":"ext-core.js"},":3.0.0":{"uncompressed":"ext-core-debug.js","compressed":"ext-core.js"}},"aliases":{":3":"3.1.0",":3.0":"3.0.0",":3.1":"3.1.0"}},":scriptaculous":{"versions":{":1.8.3":{"uncompressed":"scriptaculous.js","compressed":"scriptaculous.js"},":1.9.0":{"uncompressed":"scriptaculous.js","compressed":"scriptaculous.js"},":1.8.1":{"uncompressed":"scriptaculous.js","compressed":"scriptaculous.js"},":1.8.2":{"uncompressed":"scriptaculous.js","compressed":"scriptaculous.js"}},"aliases":{":1":"1.9.0",":1.8":"1.8.3",":1.9":"1.9.0"}},":webfont":{"versions":{":1.0.12":{"uncompressed":"webfont_debug.js","compressed":"webfont.js"},":1.0.13":{"uncompressed":"webfont_debug.js","compressed":"webfont.js"},":1.0.14":{"uncompressed":"webfont_debug.js","compressed":"webfont.js"},":1.0.15":{"uncompressed":"webfont_debug.js","compressed":"webfont.js"},":1.0.10":{"uncompressed":"webfont_debug.js","compressed":"webfont.js"},":1.0.11":{"uncompressed":"webfont_debug.js","compressed":"webfont.js"},":1.0.27":{"uncompressed":"webfont_debug.js","compressed":"webfont.js"},":1.0.28":{"uncompressed":"webfont_debug.js","compressed":"webfont.js"},":1.0.29":{"uncompressed":"webfont_debug.js","compressed":"webfont.js"},":1.0.23":{"uncompressed":"webfont_debug.js","compressed":"webfont.js"},":1.0.24":{"uncompressed":"webfont_debug.js","compressed":"webfont.js"},":1.0.25":{"uncompressed":"webfont_debug.js","compressed":"webfont.js"},":1.0.26":{"uncompressed":"webfont_debug.js","compressed":"webfont.js"},":1.0.21":{"uncompressed":"webfont_debug.js","compressed":"webfont.js"},":1.0.22":{"uncompressed":"webfont_debug.js","compressed":"webfont.js"},":1.0.3":{"uncompressed":"webfont_debug.js","compressed":"webfont.js"},":1.0.4":{"uncompressed":"webfont_debug.js","compressed":"webfont.js"},":1.0.5":{"uncompressed":"webfont_debug.js","compressed":"webfont.js"},":1.0.6":{"uncompressed":"webfont_debug.js","compressed":"webfont.js"},":1.0.9":{"uncompressed":"webfont_debug.js","compressed":"webfont.js"},":1.0.16":{"uncompressed":"webfont_debug.js","compressed":"webfont.js"},":1.0.17":{"uncompressed":"webfont_debug.js","compressed":"webfont.js"},":1.0.0":{"uncompressed":"webfont_debug.js","compressed":"webfont.js"},":1.0.18":{"uncompressed":"webfont_debug.js","compressed":"webfont.js"},":1.0.1":{"uncompressed":"webfont_debug.js","compressed":"webfont.js"},":1.0.19":{"uncompressed":"webfont_debug.js","compressed":"webfont.js"},":1.0.2":{"uncompressed":"webfont_debug.js","compressed":"webfont.js"}},"aliases":{":1":"1.0.29",":1.0":"1.0.29"}},":mootools":{"versions":{":1.3.0":{"uncompressed":"mootools.js","compressed":"mootools-yui-compressed.js"},":1.2.1":{"uncompressed":"mootools.js","compressed":"mootools-yui-compressed.js"},":1.1.2":{"uncompressed":"mootools.js","compressed":"mootools-yui-compressed.js"},":1.4.0":{"uncompressed":"mootools.js","compressed":"mootools-yui-compressed.js"},":1.3.1":{"uncompressed":"mootools.js","compressed":"mootools-yui-compressed.js"},":1.2.2":{"uncompressed":"mootools.js","compressed":"mootools-yui-compressed.js"},":1.4.1":{"uncompressed":"mootools.js","compressed":"mootools-yui-compressed.js"},":1.3.2":{"uncompressed":"mootools.js","compressed":"mootools-yui-compressed.js"},":1.2.3":{"uncompressed":"mootools.js","compressed":"mootools-yui-compressed.js"},":1.4.2":{"uncompressed":"mootools.js","compressed":"mootools-yui-compressed.js"},":1.2.4":{"uncompressed":"mootools.js","compressed":"mootools-yui-compressed.js"},":1.2.5":{"uncompressed":"mootools.js","compressed":"mootools-yui-compressed.js"},":1.1.1":{"uncompressed":"mootools.js","compressed":"mootools-yui-compressed.js"}},"aliases":{":1":"1.1.2",":1.1":"1.1.2",":1.2":"1.2.5",":1.3":"1.3.2",":1.4":"1.4.2",":1.11":"1.1.1"}},":jqueryui":{"versions":{":1.8.17":{"uncompressed":"jquery-ui.js","compressed":"jquery-ui.min.js"},":1.8.16":{"uncompressed":"jquery-ui.js","compressed":"jquery-ui.min.js"},":1.8.15":{"uncompressed":"jquery-ui.js","compressed":"jquery-ui.min.js"},":1.8.14":{"uncompressed":"jquery-ui.js","compressed":"jquery-ui.min.js"},":1.8.4":{"uncompressed":"jquery-ui.js","compressed":"jquery-ui.min.js"},":1.8.13":{"uncompressed":"jquery-ui.js","compressed":"jquery-ui.min.js"},":1.8.5":{"uncompressed":"jquery-ui.js","compressed":"jquery-ui.min.js"},":1.8.12":{"uncompressed":"jquery-ui.js","compressed":"jquery-ui.min.js"},":1.8.6":{"uncompressed":"jquery-ui.js","compressed":"jquery-ui.min.js"},":1.8.11":{"uncompressed":"jquery-ui.js","compressed":"jquery-ui.min.js"},":1.8.7":{"uncompressed":"jquery-ui.js","compressed":"jquery-ui.min.js"},":1.8.10":{"uncompressed":"jquery-ui.js","compressed":"jquery-ui.min.js"},":1.8.8":{"uncompressed":"jquery-ui.js","compressed":"jquery-ui.min.js"},":1.8.9":{"uncompressed":"jquery-ui.js","compressed":"jquery-ui.min.js"},":1.6.0":{"uncompressed":"jquery-ui.js","compressed":"jquery-ui.min.js"},":1.7.0":{"uncompressed":"jquery-ui.js","compressed":"jquery-ui.min.js"},":1.5.2":{"uncompressed":"jquery-ui.js","compressed":"jquery-ui.min.js"},":1.8.0":{"uncompressed":"jquery-ui.js","compressed":"jquery-ui.min.js"},":1.7.1":{"uncompressed":"jquery-ui.js","compressed":"jquery-ui.min.js"},":1.5.3":{"uncompressed":"jquery-ui.js","compressed":"jquery-ui.min.js"},":1.8.1":{"uncompressed":"jquery-ui.js","compressed":"jquery-ui.min.js"},":1.7.2":{"uncompressed":"jquery-ui.js","compressed":"jquery-ui.min.js"},":1.8.2":{"uncompressed":"jquery-ui.js","compressed":"jquery-ui.min.js"},":1.7.3":{"uncompressed":"jquery-ui.js","compressed":"jquery-ui.min.js"}},"aliases":{":1":"1.8.17",":1.8.3":"1.8.4",":1.5":"1.5.3",":1.6":"1.6.0",":1.7":"1.7.3",":1.8":"1.8.17"}},":yui":{"versions":{":2.8.0r4":{"uncompressed":"build/yuiloader/yuiloader.js","compressed":"build/yuiloader/yuiloader-min.js"},":2.9.0":{"uncompressed":"build/yuiloader/yuiloader.js","compressed":"build/yuiloader/yuiloader-min.js"},":2.8.1":{"uncompressed":"build/yuiloader/yuiloader.js","compressed":"build/yuiloader/yuiloader-min.js"},":2.6.0":{"uncompressed":"build/yuiloader/yuiloader.js","compressed":"build/yuiloader/yuiloader-min.js"},":2.7.0":{"uncompressed":"build/yuiloader/yuiloader.js","compressed":"build/yuiloader/yuiloader-min.js"},":3.3.0":{"uncompressed":"build/yui/yui.js","compressed":"build/yui/yui-min.js"},":2.8.2r1":{"uncompressed":"build/yuiloader/yuiloader.js","compressed":"build/yuiloader/yuiloader-min.js"}},"aliases":{":2":"2.9.0",":3":"3.3.0",":2.8.2":"2.8.2r1",":2.8.0":"2.8.0r4",":3.3":"3.3.0",":2.6":"2.6.0",":2.7":"2.7.0",":2.8":"2.8.2r1",":2.9":"2.9.0"}},":prototype":{"versions":{":1.6.1.0":{"uncompressed":"prototype.js","compressed":"prototype.js"},":1.6.0.2":{"uncompressed":"prototype.js","compressed":"prototype.js"},":1.7.0.0":{"uncompressed":"prototype.js","compressed":"prototype.js"},":1.6.0.3":{"uncompressed":"prototype.js","compressed":"prototype.js"}},"aliases":{":1":"1.7.0.0",":1.6.0":"1.6.0.3",":1.6.1":"1.6.1.0",":1.7.0":"1.7.0.0",":1.6":"1.6.1.0",":1.7":"1.7.0.0"}},":jquery":{"versions":{":1.3.0":{"uncompressed":"jquery.js","compressed":"jquery.min.js"},":1.4.0":{"uncompressed":"jquery.js","compressed":"jquery.min.js"},":1.3.1":{"uncompressed":"jquery.js","compressed":"jquery.min.js"},":1.5.0":{"uncompressed":"jquery.js","compressed":"jquery.min.js"},":1.4.1":{"uncompressed":"jquery.js","compressed":"jquery.min.js"},":1.3.2":{"uncompressed":"jquery.js","compressed":"jquery.min.js"},":1.2.3":{"uncompressed":"jquery.js","compressed":"jquery.min.js"},":1.6.0":{"uncompressed":"jquery.js","compressed":"jquery.min.js"},":1.5.1":{"uncompressed":"jquery.js","compressed":"jquery.min.js"},":1.4.2":{"uncompressed":"jquery.js","compressed":"jquery.min.js"},":1.7.0":{"uncompressed":"jquery.js","compressed":"jquery.min.js"},":1.6.1":{"uncompressed":"jquery.js","compressed":"jquery.min.js"},":1.5.2":{"uncompressed":"jquery.js","compressed":"jquery.min.js"},":1.4.3":{"uncompressed":"jquery.js","compressed":"jquery.min.js"},":1.7.1":{"uncompressed":"jquery.js","compressed":"jquery.min.js"},":1.6.2":{"uncompressed":"jquery.js","compressed":"jquery.min.js"},":1.4.4":{"uncompressed":"jquery.js","compressed":"jquery.min.js"},":1.2.6":{"uncompressed":"jquery.js","compressed":"jquery.min.js"},":1.6.3":{"uncompressed":"jquery.js","compressed":"jquery.min.js"},":1.6.4":{"uncompressed":"jquery.js","compressed":"jquery.min.js"}},"aliases":{":1":"1.7.1",":1.2":"1.2.6",":1.3":"1.3.2",":1.4":"1.4.4",":1.5":"1.5.2",":1.6":"1.6.4",":1.7":"1.7.1"}},":dojo":{"versions":{":1.3.0":{"uncompressed":"dojo/dojo.xd.js.uncompressed.js","compressed":"dojo/dojo.xd.js"},":1.4.0":{"uncompressed":"dojo/dojo.xd.js.uncompressed.js","compressed":"dojo/dojo.xd.js"},":1.3.1":{"uncompressed":"dojo/dojo.xd.js.uncompressed.js","compressed":"dojo/dojo.xd.js"},":1.5.0":{"uncompressed":"dojo/dojo.xd.js.uncompressed.js","compressed":"dojo/dojo.xd.js"},":1.4.1":{"uncompressed":"dojo/dojo.xd.js.uncompressed.js","compressed":"dojo/dojo.xd.js"},":1.3.2":{"uncompressed":"dojo/dojo.xd.js.uncompressed.js","compressed":"dojo/dojo.xd.js"},":1.2.3":{"uncompressed":"dojo/dojo.xd.js.uncompressed.js","compressed":"dojo/dojo.xd.js"},":1.6.0":{"uncompressed":"dojo/dojo.xd.js.uncompressed.js","compressed":"dojo/dojo.xd.js"},":1.5.1":{"uncompressed":"dojo/dojo.xd.js.uncompressed.js","compressed":"dojo/dojo.xd.js"},":1.7.0":{"uncompressed":"dojo/dojo.js.uncompressed.js","compressed":"dojo/dojo.js"},":1.6.1":{"uncompressed":"dojo/dojo.xd.js.uncompressed.js","compressed":"dojo/dojo.xd.js"},":1.4.3":{"uncompressed":"dojo/dojo.xd.js.uncompressed.js","compressed":"dojo/dojo.xd.js"},":1.7.1":{"uncompressed":"dojo/dojo.js.uncompressed.js","compressed":"dojo/dojo.js"},":1.7.2":{"uncompressed":"dojo/dojo.js.uncompressed.js","compressed":"dojo/dojo.js"},":1.2.0":{"uncompressed":"dojo/dojo.xd.js.uncompressed.js","compressed":"dojo/dojo.xd.js"},":1.1.1":{"uncompressed":"dojo/dojo.xd.js.uncompressed.js","compressed":"dojo/dojo.xd.js"}},"aliases":{":1":"1.6.1",":1.1":"1.1.1",":1.2":"1.2.3",":1.3":"1.3.2",":1.4":"1.4.3",":1.5":"1.5.1",":1.6":"1.6.1",":1.7":"1.7.2"}}});
  50. }</script>
  51.  
  52. <script type="text/javascript" charset="utf-8">
  53. google.load("jquery", "1");
  54.  
  55. var timeData = [];
  56.  
  57. function addTime(t) {
  58. timeData.push(t);
  59. //console.log(t);
  60. $("#numclicks").html(timeData.length + " clicks");
  61. }
  62.  
  63.  
  64.  
  65. function calcMax() {
  66. var max = 0;
  67. for (t in timeData) {
  68. if (timeData[t]>max) max = timeData[t];
  69. }
  70. return max;
  71. }
  72.  
  73. function calcMin() {
  74. var min = timeData[0];
  75. for (t in timeData) {
  76. if (timeData[t]<min) min = timeData[t];
  77. }
  78. return min;
  79. }
  80.  
  81. function calcAvg() {
  82. var sum = 0;
  83. for (t in timeData) {
  84. sum += timeData[t];
  85. }
  86. return sum / timeData.length;
  87. }
  88.  
  89.  
  90. google.setOnLoadCallback(function() {
  91. $(document).ready(function() {
  92. var timeAtMouseDown = 0;
  93. $("#target").bind("mousedown", function(e) {
  94. timeAtMouseDown = (new Date()).getTime();
  95. });
  96. $("#target").bind("mouseup", function(e) {
  97. var clickTime = (new Date()).getTime() - timeAtMouseDown;
  98. addTime(clickTime);
  99. });
  100. $("#calc").bind("click", function(e) {
  101.  
  102. var html = "";
  103. html += "Average: " + calcAvg() + "ms<br>";
  104. html += "Max: " + calcMax() + "ms<br>";
  105. html += "Min: " + calcMin() + "ms<br>";
  106. $("#results").html(html);
  107. });
  108. });
  109. });
  110.  
  111.  
  112.  
  113.  
  114.  
  115. </script>
  116.  
  117. <style type="text/css" media="screen">
  118.  
  119. body {
  120. font-family: helvetica, arial, sans-serif;
  121. }
  122.  
  123. #target {
  124. width: 200px;
  125. height: 110px;
  126. border: 1px solid #ccc;
  127. background: #efefef;
  128. text-align: center;
  129. padding-top: 90px;
  130. cursor: pointer;
  131. }
  132.  
  133. p {
  134. max-width: 300px;
  135. }
  136. </style>
  137.  
  138. </head>
  139.  
  140. <body id="" onload="">
  141.  
  142. <h2>Click time test</h2>
  143.  
  144. <p>
  145. This is just a quick test to try to measure the time between mouse-down and mouse-up.
  146. </p>
  147.  
  148. <p>
  149. Instructions: Click on the big box below. Wait a second between each click so it's fresh. Click about 20-50 times. Then click the link below to view min/max/avg times between mouse-up and mouse-down.
  150. </p>
  151.  
  152. <div id="target">click on me<br>(a lot)</div>
  153.  
  154. <p id="numclicks">0 clicks</p>
  155.  
  156. <p><a href="#" id="calc">Calculate times</a></p>
  157.  
  158. <p id="results"></p>
  159.  
  160. </body>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement