227 lines
6.7 KiB
HTML
227 lines
6.7 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>check.wit.com</title>
|
|
<style>
|
|
body {
|
|
width: 100em;
|
|
margin: 0 auto;
|
|
font-family: Tahoma, Verdana, Arial, sans-serif;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
|
|
Your web browser is:<br><br>
|
|
<script LANGUAGE= "javascript">
|
|
document.write("userAgent = " + navigator.userAgent + "<br><br>");
|
|
document.write("appName = " + navigator.appName + "<br><br>");
|
|
|
|
var canvas = document.createElement('canvas');
|
|
var gl;
|
|
var debugInfo;
|
|
var vendor;
|
|
var renderer;
|
|
|
|
gl = canvas.getContext('webgl') || canvas.getContext('experimental-webgl');
|
|
|
|
if (gl) {
|
|
debugInfo = gl.getExtension('WEBGL_debug_renderer_info');
|
|
vendor = gl.getParameter(debugInfo.UNMASKED_VENDOR_WEBGL);
|
|
renderer = gl.getParameter(debugInfo.UNMASKED_RENDERER_WEBGL);
|
|
|
|
document.write("vendor = " + vendor + "<br><br>");
|
|
document.write("renderer = " + renderer + "<br><br>");
|
|
document.write("Your screen resolution = " +
|
|
window.screen.width +
|
|
" x " +
|
|
window.screen.height +
|
|
" pixels " +
|
|
" ( " +
|
|
window.screen.colorDepth +
|
|
" bit color ) " +
|
|
" ( " +
|
|
window.screen.orientation.type +
|
|
" mode ) " +
|
|
" <br><br>");
|
|
} else {
|
|
document.write("<br>Failed gl=NULL<br>");
|
|
}
|
|
console.log("Your screen resolution = " +
|
|
window.screen.width +
|
|
" x " +
|
|
window.screen.height +
|
|
" pixels " +
|
|
" ( " +
|
|
window.screen.colorDepth +
|
|
" bit color ) " +
|
|
" ( " +
|
|
window.screen.orientation.type +
|
|
" mode ) " +
|
|
" <br><br>");
|
|
|
|
</script>
|
|
|
|
<a href="http://check.wit.com:1200/">Hugo minx demo</a><br/>
|
|
<a href="http://check.wit.com:1201/">Hugo ananka demo</a><br/>
|
|
|
|
<h2>Browser benchmarks</h2>
|
|
<a href="http://check.wit.com:1202/polygon-shredder">Polygon demo</a><br/>
|
|
<a href="http://check.wit.com:1202/Icicle-Bubbles/app/">Icicle-Bubbles demo</a><br/>
|
|
<a href="http://check.wit.com:1202/cabbibo-Text">Text demo</a><br/>
|
|
|
|
<h2>GO benchmarks</h2>
|
|
<a href="https://github.com/golang/go/wiki/Benchmarks">Standard GO benchmarks</a><br/>
|
|
<a href="https://godoc.org/golang.org/x/benchmarks">GO benchmark docs</a><br/>
|
|
|
|
<h2>your web browser</h2>
|
|
<a href="https://www.whatsmybrowser.org/">Show your browser details</a><br/>
|
|
<a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Browser_detection_using_the_user_agent">Parsing user agent</a><br/>
|
|
|
|
<a href="blank.html">blank page. remember to start here.</a><br/>
|
|
<a href="javascript1.html">java test1</a><br/>
|
|
<a href="javascript2.html">java test2</a><br/>
|
|
<a href="javascript3.html">java test3</a><br/>
|
|
<a href="detect_gpu.html">dump javascript webgl info</a><br/>
|
|
<a href="detect_fonts.html">detect / load fonts (?)</a><br/>
|
|
<a href="javascript_dump/">dump javascript info</a><br/>
|
|
<a href="http://www.lalit.org/lab/javascript-css-font-detect/">javascript font detection</a><br/>
|
|
<a href="https://www.bramstein.com/writing/detecting-system-fonts-without-flash.html">detecting fonts</a><br/>
|
|
<a href="https://github.com/bramstein/fontfaceobserver/">Font Face Observer</a><br/>
|
|
<a href="https://github.com/typekit/webfontloader">Web Font Loader</a><br/>
|
|
<a href="https://webglstats.com/">Web GL status (also tests the browser)</a><br/>
|
|
<a href="chrome://gpu">Chrome internal GPU details</a><br/>
|
|
<a href="chrome/">Chrome internal GPU details</a><br/>
|
|
<a href="about:support">Firefox support details</a><br/>
|
|
|
|
<a href=""></a><br/>
|
|
|
|
<br>
|
|
<FORM>
|
|
<INPUT TYPE="text" VALUE= "dont change" NAME = "leavebutton"
|
|
onChange= "alert('changing this will cause an alert')">
|
|
</FORM>
|
|
|
|
<br>
|
|
<a href="https://developer.mozilla.org/en-US/docs/Web/API/Window">Official Mozilla Window Object documentation</a><br/>
|
|
<a href="https://get.webgl.org/">Official webgl troubleshooting site</a><br/>
|
|
<a href="official_webgl_troubleshooting.html">Official webgl troubleshooting site (local copy)</a><br/>
|
|
<br>
|
|
|
|
|
|
<h2>All cookies</h2>
|
|
<script language="JavaScript" type="text/javascript">
|
|
var theCookies = document.cookie.split(';');
|
|
for (var n in theCookies) {
|
|
document.write(theCookies[n] + "<BR>\n");
|
|
}
|
|
|
|
function createCookie(name,value,days) {
|
|
var expires = "";
|
|
if (days) {
|
|
var date = new Date();
|
|
date.setTime(date.getTime() + (days*24*60*60*1000));
|
|
expires = "; expires=" + date.toUTCString();
|
|
}
|
|
document.cookie = name + "=" + value + expires + "; path=/";
|
|
}
|
|
|
|
function readCookie(name) {
|
|
var nameEQ = name + "=";
|
|
var ca = document.cookie.split(';');
|
|
for(var i=0;i < ca.length;i++) {
|
|
var c = ca[i];
|
|
while (c.charAt(0)==' ') c = c.substring(1,c.length);
|
|
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
|
|
}
|
|
return null;
|
|
}
|
|
|
|
function eraseCookie(name) {
|
|
createCookie(name,"",-1);
|
|
}
|
|
|
|
createCookie('check.wit.com','test',7);
|
|
</script>
|
|
|
|
<h2>All objects in window.navigator</h2>
|
|
<table>
|
|
<script language="JavaScript" type="text/javascript">
|
|
for (var n in window.navigator) {
|
|
document.write("<tr>");
|
|
document.write("<th align='left'>window.navigator." + n + "<\/th>");
|
|
document.write("<th align='left'>" + window.navigator[n] + "<\/th>");
|
|
document.write("<\/tr>");
|
|
}
|
|
</script>
|
|
</table>
|
|
|
|
<h2>All objects in window.screen.orientation</h2>
|
|
<table>
|
|
<script language="JavaScript" type="text/javascript">
|
|
for (var n in window.screen.orientation) {
|
|
document.write("<tr>");
|
|
document.write("<th align='left'>window.screen.orientation." + n + "<\/th>");
|
|
document.write("<th align='left'>" + window.screen.orientation[n] + "<\/th>");
|
|
document.write("<\/tr>");
|
|
}
|
|
</script>
|
|
</table>
|
|
|
|
<h2>All objects in window.screen</h2>
|
|
<table>
|
|
<script language="JavaScript" type="text/javascript">
|
|
for (var n in window.screen) {
|
|
document.write("<tr>");
|
|
document.write("<th align='left'>window.screen." + n + "<\/th>");
|
|
document.write("<th align='left'>" + window.screen[n] + "<\/th>");
|
|
document.write("<\/tr>");
|
|
}
|
|
</script>
|
|
</table>
|
|
|
|
<h2>All objects in window</h2>
|
|
<table>
|
|
<script language="JavaScript" type="text/javascript">
|
|
for (var n in window) {
|
|
document.write("<tr>");
|
|
document.write("<th align='left'>window." + n + "<\/th>");
|
|
document.write("<th align='left'>" + window[n] + "<\/th>");
|
|
document.write("<\/tr>");
|
|
}
|
|
// window.outerWidth = 2100;
|
|
</script>
|
|
</table>
|
|
|
|
<h2>All objects in document</h2>
|
|
<table>
|
|
<script language="JavaScript" type="text/javascript">
|
|
for (var n in document) {
|
|
document.write("<tr>");
|
|
document.write("<th align='left'>document." + n + "<\/th>");
|
|
document.write("<th align='left'>" + document[n] + "<\/th>");
|
|
document.write("<\/tr>");
|
|
}
|
|
</script>
|
|
</table>
|
|
|
|
<a href="stuff" onMouseOver="alert('onMouseOver')">Test onMouseOver event</a><br>
|
|
|
|
<script>
|
|
document.write("<img src='favicon.ico'>");
|
|
document.bgColor = "white";
|
|
/*
|
|
var x=window.confirm("Are you sure you want to quit")
|
|
if (x)
|
|
window.alert("Thank you.")
|
|
else
|
|
window.alert("OK. Cancel. Good choice.")
|
|
*/
|
|
</script>
|
|
|
|
</body>
|
|
</html>
|