欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

識別操作系統(tǒng)是不是vista的js代碼

 更新時間:2007年08月26日 15:27:35   作者:  
如何用ASP來識別操作系統(tǒng)是vista的?我在網(wǎng)上找了個函數(shù),但是不能判斷是vista系統(tǒng),希望大家?guī)兔?
這個是我在網(wǎng)上找的函數(shù):
Function GetCurrOS()
  Dim Info
  Info = navigator.appVersion 
  If Instr(info,"NT 5.1")>0 Then
  GetCurrOS = "Windows XP"
  ElseIf Instr(info,"Tel")>0 Then
  GetCurrOS = "Telport"
  ElseIf Instr(info,"webzip")>0 Then
  GetCurrOS = "webzip"
  ElseIf Instr(info,"flashget")>0 Then
    GetCurrOS = "flashget"
  ElseIf Instr(info,"offline")>0 Then
  GetCurrOS = "offline"
  ElseIf Instr(info,"NT 5")>0 Then
  GetCurrOS = "Windows 2000"
  ElseIf Instr(info,"NT 4")>0 Then
  GetCurrOS = "Windows NT4"
  ElseIf Instr(info,"98")>0 Then
  GetCurrOS = "Windows 98"
  ElseIf Instr(info,"95")>0 Then
  GetCurrOS = "Windows 95"
  Else
  GetCurrOS = "UnKnow"
  End If
  End Function
如果大家還有更好的函數(shù),也給小弟一個,我先謝過了.

[Ctrl+A 全選 注:引入外部Js需再刷新一下頁面才能執(zhí)行]

相關(guān)文章

最新評論