<script src="https://github.com/mrdoob/system.js/raw/master/system.min.js"></script> <script> if ( System.support.webgl ) { alert( 'FTW!' ); } </script>