Skip to content

Instantly share code, notes, and snippets.

@jimaek
Created June 27, 2013 22:34
Show Gist options
  • Save jimaek/5881006 to your computer and use it in GitHub Desktop.
Save jimaek/5881006 to your computer and use it in GitHub Desktop.
jsDelivr gather performance and uptime data
<script type="text/javascript">
(function(w, d) { var a = function() { var a = d.createElement('script'); a.type = 'text/javascript';
a.async = 'async'; a.src = '//' + ((w.location.protocol === 'https:') ? 's3.amazonaws.com/cdx-radar/' :
'radar.cedexis.com/') + '01-11475-radar10.min.js'; d.body.appendChild(a); };
if (w.addEventListener) { w.addEventListener('load', a, false); }
else if (w.attachEvent) { w.attachEvent('onload', a); }
}(window, document));
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment