Error type does not allow element "br" here 36
Error type does not allow element "br" here 39
Error type does not allow element "br" here 42
Error type does not allow element "br" here 45
Error type does not allow element "br" here 64
Error type does not allow element "br" here 67
Error type does not allow element "br" here 70
Error type does not allow element "br" here 73
Error type does not allow element "br" here 76
Error type does not allow element "br" here 79
There is no javascript in the head tags.
<body> <h1><br/><br/>Discovering the Environment</h1><script type="text/javascript"> var isMac = 0; var isWin = 0; var isOtherOS = 0; var isUndetected = 0; var agent = navigator.platform.toLowerCase(); /* convert to lower case makes comparisons easier*/ /* Look for specific text in navigator.platform */ if (agent.indexOf('mac') != -1) isMac = 1; else if (agent.indexOf('win') != -1) isWin = 1; else if ( agent.indexOf('unix') != -1 || agent.indexOf('sunos') != -1 || agent.indexOf('bsd') != -1 || agent.indexOf('x11') != -1 || agent.indexOf('linux') != -1) isOtherOS = 1; else ( isUndetected = 1 )document.write('This browser\'s designation is: '); document.write(navigator.platform + '<br />'); if (isMac) { document.write('This Browser is running in the Mac OS.' + '<br />'); } else if (isWin) { document.write('This Browser is running in the Microsoft Windows OS.' + '<br />'); } else if (isOtherOS) { document.write('RESISTANCE IS FUTILE...YOU WILL BE ASSIMULATED' + '<br />'); } else { document.write('Sorry, I\'m not sure what OS you are using.'); } </script> <script type="text/javascript"> /* convert userAgent text to lower case for easy searching*/ var agent = navigator.userAgent.toLowerCase(); /* Look for specific text in userAgent */ var isMoz = (agent.indexOf('mozilla') != -1); var isIE = (agent.indexOf('msie') != -1); var isSafari = (agent.indexOf('safari') != -1); var isOpera = (agent.indexOf('opera') != -1);document.write('This browser\'s designation is: '); document.write(navigator.userAgent + '<br />'); if (isMoz || isIE || isSafari || isOpera) { if (isMoz) { document.write('This Browser is compatible with Mozilla.' + '<br />'); } if (isIE) { document.write('This Browser is compatible with Internet Explorer.' + '<br />'); } if (isSafari) { document.write('This Browser is compatible with Safari.' + '<br />'); } if (isOpera) { document.write('This Browser is compatible with Opera.' + '<br />'); } } else document.write('Sorry, I don\'t recognize this browser.' + '<br />');</script> <h3>That is all there is to this document.</h3> <p>Return to the <a href="#"> page.</a></p> </body>
UPDATE: I decided to externalize it.