public
anonymous / gist:3819248
Created

  • Download Gist
gistfile1.txt
1 2 3 4 5 6 7 8 9 10 11 12 13
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" xml:lang="en"><head><script type="text/javascript">
// check for ie5 mac
var bugRiddenCrashPronePieceOfJunk = (
navigator.userAgent.indexOf('MSIE 5') != -1
&amp;&amp;
navigator.userAgent.indexOf('Mac') != -1
)
// check for W3CDOM compatibility
var W3CDOM = (!bugRiddenCrashPronePieceOfJunk &amp;&amp;
document.getElementsByTagName &amp;&amp;
document.createElement);
</script>

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.