Sha256: 15e52574c43381f1f89fdacd6188638ae731932db2da4ebd172094e3bf426741

Contents?: true

Size: 768 Bytes

Versions: 10

Compression:

Stored size: 768 Bytes

Contents

// Mill-Snippet_0.0.1
(function($){
  var __mill__ = function() {
    var c=[window.navigator,window.performance.timing], d=[], t, a, script, s;
    for(n in c){
      if(c[n]){
        t=c[n];
        for(a in c[n]){
          if(a && (typeof(t[a])!=='function'&& typeof(t[a])!=='object')){
            d.push(a);
            d.push(escape(t[a]));
          }
        }
      }
    }
    d.push('href');
    d.push(window.location.href);
    script = document.createElement('script');
    script.src = "/mill?d=" + d.join(';');
    script.async = true;
    s = document.getElementsByTagName('script')[0];
    s.parentNode.insertBefore(script, s);
  };
  if(window.addEventListener){
    window.addEventListener('load', function(){__mill__();}, false);
  }
}).call($);

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
fozzie-1.0.2 resources/mill.js.example
fozzie-1.0.1 resources/mill.js.example
fozzie-1.0.0 resources/mill.js.example
fozzie-0.0.27 resources/mill.js.example
fozzie-0.0.26 resources/mill.js.example
fozzie-0.0.25 resources/mill.js.example
fozzie-0.0.24 resources/mill.js.example
fozzie-0.0.23 resources/mill.js.example
fozzie-0.0.22 resources/mill.js.example
fozzie-0.0.21 resources/mill.js.example