Permalink
Fetching contributors…
Cannot retrieve contributors at this time
42 lines (30 sloc) 1.13 KB
<!DOCTYPE html>
<html>
<meta http-equiv="refresh" content="0;url=./test/index.html">
<a href="./test/index.html" style="font-size: 80px">this page deprecated.. go to the Test Suite</a>
<script type="dont/run/this">
function _bBeaconComplete(data){
window.console && console.log('beaconComplete',data);
}
window._bTestResults = {};
for (var feat in Modernizr) {
if (/^_/.test(feat)) continue;
if (/input|video|audio/.test(feat) && Modernizr[feat]){
for (var thing in Modernizr[feat]){
_bTestResults[feat + ':' +thing] = Modernizr[feat][thing] ? '1' : '0';
}
} else {
_bTestResults[feat] = Modernizr[feat] ? '1' : '0';
}
}
// Beacon the results to Browserscope.
(function() {
var _bTestKey = 'agt1YS1wcm9maWxlcnINCxIEVGVzdBjg8PMBDA';
var _bScript = document.createElement('script');
_bScript.src = 'http://www.browserscope.org/user/beacon/' + _bTestKey + '?callback=_bBeaconComplete';
_bScript.setAttribute('async', 'true');
var scripts = document.getElementsByTagName('script');
var lastScript = scripts[scripts.length - 1];
lastScript.parentNode.insertBefore(_bScript, lastScript);
})();
</script>