Mercurial > hg-website
view static/javascript/download.js @ 256:f6ace8678dd1
Update subrepos
author | David Soria Parra <dsp@php.net> |
---|---|
date | Sun, 04 Oct 2009 04:14:04 +0200 |
parents | 4a52186008ee |
children | dd7fababf8b6 |
line wrap: on
line source
function os_detection() { var OSName="Source"; if (navigator.appVersion.indexOf("Win")!=-1) OSName="Windows"; if (navigator.appVersion.indexOf("Mac")!=-1) OSName="Mac OS X"; if (navigator.appVersion.indexOf("X11")!=-1) OSName="UNIX"; if (navigator.appVersion.indexOf("Linux")!=-1) OSName="Linux"; document.write(OSName); }