xaxex34 Geliştirici
Mesaj Sayısı : 323 Paylaşım Gücü : 880 Rep Point : 3 Kayıt tarihi : 07/08/10 Yaş : 28
| Konu: İşletim Sistemini Bulma Perş. Ağus. 26, 2010 7:00 am | |
| - Kod:
-
<HTML> <SCRIPT LANGUAGE="JavaScript"> <!-- function checkOS() { if(navigator.userAgent.indexOf('IRIX') != -1) { var OpSys = "Irix"; } else if((navigator.userAgent.indexOf('Win') != -1) && (navigator.userAgent.indexOf('95') != -1)) { var OpSys = "Windows 95"; } else if(navigator.userAgent.indexOf('Win') != -1) { var OpSys = "Windows3.1 veya NT"; } else if(navigator.userAgent.indexOf('Mac') != -1) { var OpSys = "Macintosh"; } else { var OpSys = "diger;"; } return OpSys; } // --> </SCRIPT>
<BODY BGCOLOR="#FFFFFF"> İşletim sisteminiz: <b> <SCRIPT LANGUAGE="JavaScript"> <!-- var OpSys = checkOS(); document.write(OpSys); // --> </SCRIPT> | |
|