Avatar billede bt_en Nybegynder
27. januar 2001 - 14:05 Der er 11 kommentarer og
1 løsning

Request.ServerVariables(\"http_user_agent\")

Jeg vil gerne have en liste over de værdier Request.ServerVariables(\"http_user_agent\") kan finde på at indeholde, og hvad de betyder - f.eks. hvad win3.11. skriver, linux, win98, win95 osv.

Også netscape x.x, IE x.x osv.

En komplet liste vil blive belønnet med 300 points!
Avatar billede tomsommer Juniormester
27. januar 2001 - 14:50 #1
Lytter med
Avatar billede eagleeye Praktikant
27. januar 2001 - 15:13 #2

Her en oversigt:

http://www.niblack.com/kbase/servervariables_x.asp

Siden kan god tag lidt tid at loade.
Avatar billede bt_en Nybegynder
27. januar 2001 - 15:16 #3
så læs dog spørgsmålet!
Avatar billede stringbuffer Nybegynder
27. januar 2001 - 17:49 #4
; Last update 16-Jun-97

;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; Microsoft Browsers ;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; IE 1.x
[IE 1.5]
browser=IE
version=1.5
majorver=1
minorver=5
frames=FALSE
tables=TRUE
cookies=TRUE
backgroundsounds=FALSE
vbscript=FALSE
javascript=FALSE
javaapplets=FALSE
beta=False
Win16=False

[Mozilla/1.22 (compatible; MSIE 1.5; Windows NT)]
parent=IE 1.5
platform=WinNT

[Mozilla/1.22 (compatible; MSIE 1.5; Windows 95)]
parent=IE 1.5
platform=Win95


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; IE 2.x
[IE 2.0]
browser=IE
version=2.0
majorver=2
minorver=0
frames=FALSE
tables=TRUE
cookies=TRUE
backgroundsounds=TRUE
vbscript=FALSE
javascript=FALSE
javaapplets=FALSE
beta=False
Win16=False

[Mozilla/1.22 (compatible; MSIE 2.0; Mac_68000)]
parent=IE 2.0
platform=Mac68K

[Mozilla/1.22 (compatible; MSIE 2.0; Mac_PowerPC)]
parent=IE 2.0
platform=MacPPC

[Mozilla/1.22 (compatible; MSIE 2.0B; Mac_68000)]
parent=IE 2.0
platform=Mac68K
version=2.0B

[Mozilla/1.22 (compatible; MSIE 2.0B; Mac_PowerPC)]
parent=IE 2.0
platform=MacPPC
version=2.0B

[Mozilla/2.0 (compatible; MSIE 2.0; Mac_68000)]
parent=IE 2.0
platform=Mac68K

[Mozilla/2.0 (compatible; MSIE 2.0; Mac_PowerPC)]
parent=IE 2.0
platform=MacPPC

[Mozilla/2.0 (compatible; MSIE 2.0B; Mac_68000)]
parent=IE 2.0
platform=Mac68K
version=2.0B

[Mozilla/2.0 (compatible; MSIE 2.0B; Mac_PowerPC)]
parent=IE 2.0
platform=MacPPC
version=2.0B

[Mozilla/2.0 (compatible; MSIE 2.1;  Windows 3.1)]
parent=IE 2.0
platform=Win16
Win16=True
version=2.1
minorver=#1
frames=True

[Mozilla/2.0 (compatible; MSIE 2.1; Mac_68000)]
parent=IE 2.0
platform=Mac68K
version=2.1
minorver=#1
Frames=True

[Mozilla/2.0 (compatible; MSIE 2.1; Mac_PowerPC)]
parent=IE 2.0
platform=MacPPC
version=2.1
minorver=#1
frames=True

[Mozilla/2.0 (compatible; MSIE 2.5;  Windows 3.1)]
parent=IE 2.0
platform=Win16
Win16=True
version=2.5
minorver=#5

[Mozilla/2.0 (compatible; MSIE 2.5b;  Windows 3.1)]
parent=IE 2.0
platform=Win16
Win16=True
version=2.5b
minorver=#5
beta=True

[Mozilla/1.22 (compatible; MSIE 2.0; Windows 95)]
parent=IE 2.0
platform=Win95

[Mozilla/1.22 (compatible; MSIE 2.0c; Windows 95)]
parent=IE 2.0
platform=Win95
version=2.0c


[Mozilla/1.22 (compatible; MSIE 2.01; Windows NT)]
parent=IE 2.0
platform=WinNT
version=2.01
minorver=#01

[Mozilla/1.22 (compatible; MSIE 2.0d; Windows NT)]
parent=IE 2.0
platform=WinNT
version=2.0d


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; IE 3.x
[IE 3.0]
browser=IE
Version=3.0
majorver=3
minorver=0
frames=TRUE
tables=TRUE
cookies=TRUE
backgroundsounds=TRUE
vbscript=TRUE
javascript=TRUE
javaapplets=TRUE
ActiveXControls=TRUE
Win16=False
beta=False
AK=False
SK=False
AOL=False
Crawler=False

[Mozilla/2.0 (compatible; MSIE 3.01; Windows 3.1)]
parent=IE 3.0
platform=Win16
Win16=true
ActiveXControls=false

[Mozilla/2.0 (compatible; MSIE 3.0a; Windows 3.1)]
parent=IE 3.0
platform=Win16
Win16=true
javaapplets=false
ActiveXControls=false

[Mozilla/2.0 (compatible; MSIE 3.0; AK; Windows 95)]
parent=IE 3.0
platform=Win95
AK=True

[Mozilla/2.0 (compatible; MSIE 3.0; AK; Windows NT)]
parent=IE 3.0
platform=WinNT
AK=True

[Mozilla/2.0 (compatible; MSIE 3.0; AOL 3.0; Windows 95)]
parent=IE 3.0
platform=Win95
AOL=True

[Mozilla/2.0 (compatible; MSIE 3.0; SK; Windows 95)]
parent=IE 3.0
platform=Win95
SK=True

[Mozilla/2.0 (compatible; MSIE 3.0; SK; Windows NT)]
parent=IE 3.0
platform=WinNT
SK=True

[Mozilla/2.0 (compatible; MSIE 3.0; Win 32)]
parent=IE 3.0
platform=Win32

[Mozilla/2.0 (compatible; MSIE 3.0; Windows 95)]
parent=IE 3.0
platform=Win95

[Mozilla/2.0 (compatible; MSIE 3.0; Windows 95) Modified]
parent=IE 3.0
platform=Win95

[Mozilla/2.0 (compatible; MSIE 3.0; Windows 95;*)]
parent=IE 3.0
platform=Win95

[Mozilla/2.0 (compatible; MSIE 3.0; Windows NT)]
parent=IE 3.0
platform=WinNT

[Mozilla/2.0 (compatible; MSIE 3.0; Windows NT;*)]
parent=IE 3.0
platform=WinNT

[Mozilla/2.0 (compatible; MSIE 3.0A; Windows 95)]
parent=IE 3.0
platform=Win95

[Mozilla/2.0 (compatible; MSIE 3.0B3; Windows 95)]
parent=IE 3.0
platform=Win95
beta=True

[Mozilla/2.0 (compatible; MSIE 3.0B3; Windows NT)]
parent=IE 3.0
platform=WinNT
beta=True

[Mozilla/2.0 (compatible; MSIE 3.0B; Win32)]
parent=IE 3.0
platform=Win32
beta=True

[Mozilla/2.0 (compatible; MSIE 3.0B; Windows 95)]
parent=IE 3.0
platform=Win95
beta=True

[Mozilla/2.0 (compatible; MSIE 3.0B; Windows 95;*)]
parent=IE 3.0
platform=Win95
beta=True

[Mozilla/2.0 (compatible; MSIE 3.0B; Windows NT)]
parent=IE 3.0
platform=WinNT
beta=True

[Mozilla/2.0 (compatible; MSIE 3.0B; Windows NT;*)]
parent=IE 3.0
platform=WinNT
beta=True

[Mozilla/2.0 (compatible; MSIE 3.1; Windows NT)]
parent=IE 3.0
platform=WinNT

[Mozilla/2.0 (compatible; MSIE 3.01*; Windows 95)]
parent=IE 3.0
version=3.01
minorver=01
platform=Win95

[Mozilla/2.0 (compatible; MSIE 3.01*; Windows NT)]
parent=IE 3.0
version=3.01
minorver=01
platform=WinNT

[Mozilla/2.0 (compatible; MSIE 3.01*; Mac_PowerPC)]
parent=IE 3.0
version=3.01
minorver=01
vbscript=false
platform=MacPPC

[Mozilla/2.0 (compatible; MSIE 3.01*; Mac_68000)]
parent=IE 3.0
version=3.01
minorver=01
vbscript=false
platform=Mac68K

;;ie 3.02
[Mozilla/2.0 (compatible; MSIE 3.02; Windows 95)]
parent=IE 3.0
version=3.02
minorver=02
platform=Win95

[Mozilla/2.0 (compatible; MSIE 3.02; Windows NT)]
parent=IE 3.0
version=3.02
minorver=02
platform=WinNT

;;ie 3.02
[Mozilla/2.0 (compatible; MSIE 3.02; Win32)]
parent=IE 3.0
version=3.02
minorver=02
platform=Win32

[Mozilla/2.0 (compatible; MSIE 3.02; Windows NT)]
parent=IE 3.0
version=3.02
minorver=02
platform=WinNT

[Mozilla/2.0 (compatible; MSIE 3.02; AK; Windows 95)]
parent=IE 3.0
version=3.02
minorver=02
AK=True
platform=Win95

[Mozilla/2.0 (compatible; MSIE 3.02; AK; Windows NT)]
parent=IE 3.0
version=3.02
minorver=02
AK=True
platform=WinNT

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; IE 3.x Authenticode update
[Mozilla/2.0 (compatible; MSIE 3.02; Update a; Win32)]
parent=IE 3.0
version=3.02
minorver=02
platform=Win32
AuthenticodeUpdate=a

[Mozilla/2.0 (compatible; MSIE 3.02; Update a; Windows 95)]
minorver=02
version=3.02
parent=IE 3.0
platform=Win95
AuthenticodeUpdate=a

[Mozilla/2.0 (compatible; MSIE 3.02; Update a; Windows NT)]
minorver=02
version=3.02
parent=IE 3.0
platform=WinNT
AuthenticodeUpdate=a

[Mozilla/2.0 (compatible; MSIE 3.02; Update a; AK; Win32)]
parent=IE 3.0
version=3.02
minorver=02
platform=Win32
AK=true
AuthenticodeUpdate=a

[Mozilla/2.0 (compatible; MSIE 3.02; Update a; AK; Windows 95)]
minorver=02
version=3.02
parent=IE 3.0
platform=Win95
AK=true
AuthenticodeUpdate=a

[Mozilla/2.0 (compatible; MSIE 3.02; Update a; AK; Windows NT)]
parent=IE 3.0
version=3.02
minorver=02
platform=WinNT
AK=true
AuthenticodeUpdate=a

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; IE 3.x WILDCARD (IF ALL ABOVE FAIL)
[Mozilla/2.0 (compatible; MSIE 3*)]
parent=IE 3.0

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; IE 4.x
[IE 4.0]
browser=IE
Version=4.0
majorver=4
minorver=0
frames=TRUE
tables=TRUE
cookies=TRUE
backgroundsounds=TRUE
vbscript=TRUE
javascript=TRUE
javaapplets=TRUE
ActiveXControls=TRUE
Win16=False
beta=False
AK=False
SK=False
AOL=False
crawler=False
cdf=True

;;ie 4 beta 1
[Mozilla/4.0 (compatible; MSIE 4.0b1; Windows 95)]
parent=IE 4.0
platform=Win95
beta=True
cdf=False

[Mozilla/4.0 (compatible; MSIE 4.0b1; Windows NT)]
parent=IE 4.0
platform=WinNT
beta=True
cdf=False

[Mozilla/4.0 (compatible; MSIE 4.0b1 Crawler; Windows 95)]
parent=IE 4.0
platform=Win95
beta=True
crawler=True
cdf=False

[Mozilla/4.0 (compatible; MSIE 4.0b1 Crawler; Windows NT)]
parent=IE 4.0
platform=WinNT
beta=True
crawler=True
cdf=False

;;ie 4 beta 2.  This is not a commitment to a beta 2, but is being provided as a placeholder if needed.
[Mozilla/4.0 (compatible; MSIE 4.0b2; Windows 95)]
parent=IE 4.0
platform=Win95
beta=True

[Mozilla/4.0 (compatible; MSIE 4.0b2; Windows NT)]
parent=IE 4.0
platform=WinNT
beta=True

[Mozilla/4.0 (compatible; MSIE 4.0b2 Crawler; Windows 95)]
parent=IE 4.0
platform=Win95
beta=True
crawler=True

[Mozilla/4.0 (compatible; MSIE 4.0b2 Crawler; Windows NT)]
parent=IE 4.0
platform=WinNT
beta=True
crawler=True

;;ie 4 final release
[Mozilla/4.0 (compatible; MSIE 4.0; Windows 95)]
parent=IE 4.0
platform=Win95
beta=False

[Mozilla/4.0 (compatible; MSIE 4.0; Windows NT)]
parent=IE 4.0
platform=WinNT
beta=False

[Mozilla/4.0 (compatible; MSIE 4.0 Crawler; Windows 95)]
parent=IE 4.0
platform=Win95
beta=False
crawler=True

[Mozilla/4.0 (compatible; MSIE 4.0 Crawler; Windows NT)]
parent=IE 4.0
platform=WinNT
beta=False
crawler=True

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; IE 4.x WILDCARD (IF ALL ABOVE FAIL)
[Mozilla/4.0 (compatible; MSIE 4.*)]
parent=IE 4.0

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; Pocket IE
[Microsoft Pocket Internet Explorer/0.6]
browser=PIE
Version=1.0
majorver=1
minorver=0
frames=FALSE
tables=TRUE
cookies=FALSE
backgroundsounds=TRUE
vbscript=FALSE
javascript=FALSE
javaapplets=FALSE
ActiveXControls=FALSE
Win16=False
beta=False
AK=False
SK=False
AOL=False
platform=WinCE

[Mozilla/1.1 (compatible; MSPIE 1.1; Windows CE)]
browser=PIE
Version=1.1
majorver=1
minorver=1
frames=FALSE
tables=TRUE
cookies=TRUE
backgroundsounds=TRUE
vbscript=FALSE
javascript=FALSE
javaapplets=FALSE
ActiveXControls=FALSE
Win16=False
beta=False
AK=False
SK=False
AOL=False
platform=WinCE


;;;;;;;;;;;;;;;;;;;;;;;;;
;;; Netscape Browsers ;;;
;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; Navigator 4.x
[Netscape 4.00]
browser=Netscape
version=4.00
majorver=4
minorver=00
frames=TRUE
tables=TRUE
cookies=TRUE
backgroundsounds=FALSE
vbscript=FALSE
javascript=TRUE
javaapplets=TRUE
ActiveXControls=FALSE
beta=True

[Mozilla/4.0b1 (Win95; I)]
parent=Netscape 4.00
platform=Win95

[Mozilla/4.0b1 (WinNT; I)]
parent=Netscape 4.00
platform=WinNT

[Mozilla/4.0b2 (Win95; I)]
parent=Netscape 4.00
platform=Win95

[Mozilla/4.0b2 (WinNT; I)]
parent=Netscape 4.00
platform=WinNT

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; Navigator 4.x WILDCARD (IF ALL ABOVE FAIL)
[Mozilla/4.0*]
parent=Netscape 4.00

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; Navigator 3.x
[Netscape 3.01]
browser=Netscape
version=3.01
majorver=3
minorver=01
frames=TRUE
tables=TRUE
cookies=TRUE
backgroundsounds=FALSE
vbscript=FALSE
javascript=TRUE
javaapplets=TRUE
ActiveXControls=FALSE
beta=False

[Mozilla/3.01Gold (Macintosh; I; 68K)]
parent=Netscape 3.01
platform=Mac68K

[Mozilla/3.01Gold (Macintosh; U; 68K)]
parent=Netscape 3.01
platform=Mac68K

[Mozilla/3.01Gold (Macintosh; I; PPC)]
parent=Netscape 3.01
platform=MacPPC

[Mozilla/3.01Gold (Macintosh; U; PPC)]
parent=Netscape 3.01
platform=MacPPC

[Mozilla/3.01Gold*(Win95; I)]
parent=Netscape 3.01
platform=Win95

[Mozilla/3.01Gold*(Win95; U)]
parent=Netscape 3.01
platform=Win95

[Mozilla/3.01Gold*(WinNT; I)]
parent=Netscape 3.01
platform=WinNT

[Mozilla/3.01Gold*(WinNT; U)]
parent=Netscape 3.01
platform=WinNT

[Mozilla/3.01Gold*(Win16; I)]
parent=Netscape 3.01
platform=Win16

[Mozilla/3.01Gold*(Win16; U)]
parent=Netscape 3.01
platform=Win16

[Mozilla/3.01*(Win95; I)]
parent=Netscape 3.01
platform=Win95

[Mozilla/3.01*(Win95; U)]
parent=Netscape 3.01
platform=Win95

[Mozilla/3.01*(WinNT; I)]
parent=Netscape 3.01
platform=WinNT

[Mozilla/3.01*(WinNT; U)]
parent=Netscape 3.01
platform=WinNT

[Mozilla/3.01*(Win16; I)]
parent=Netscape 3.01
platform=Win16

[Mozilla/3.01*(Win16; U)]
parent=Netscape 3.01
platform=Win16

[Mozilla/3.01 (Macintosh; I; 68K)]
parent=Netscape 3.01
platform=Mac68K

[Mozilla/3.01 (Macintosh; U; 68K)]
parent=Netscape 3.01
platform=Mac68K

[Mozilla/3.01 (Macintosh; I; PPC)]
parent=Netscape 3.01
platform=MacPPC

[Mozilla/3.01 (Macintosh; U; PPC)]
parent=Netscape 3.01
platform=MacPPC

[Mozilla/3.01b1 (Win95; I)]
parent=Netscape 3.01
platform=Win95
beta=True

[Mozilla/3.01b1 (WinNT; I)]
parent=Netscape 3.01
platform=WinNT
beta=True

[Mozilla/3.01b1 (Win16; I)]
parent=Netscape 3.01
platform=Win16
Win16=True
beta=True

[Mozilla/3.01b1 (Macintosh; I; 68K)]
parent=Netscape 3.01
platform=Mac68K
beta=True

[Mozilla/3.01b1 (Macintosh; I; PPC)]
parent=Netscape 3.01
platform=MacPPC
beta=True

[Netscape 3.0]
browser=Netscape
version=3.0
majorver=3
minorver=0
frames=TRUE
tables=TRUE
cookies=TRUE
backgroundsounds=FALSE
vbscript=FALSE
javascript=TRUE
javaapplets=TRUE
ActiveXControls=FALSE
beta=False

[Mozilla/3.0Gold (Macintosh; I; 68K)]
parent=Netscape 3.0
platform=Mac68K


[Mozilla/3.0Gold (Macintosh; I; PPC)]
parent=Netscape 3.0
platform=MacPPC

[Mozilla/3.0Gold (Macintosh; U; 68K)]
parent=Netscape 3.0
platform=Mac68K

[Mozilla/3.0Gold (Macintosh; U; PPC)]
parent=Netscape 3.0
platform=MacPPC

[Mozilla/3.0Gold*(Win16; I)]
parent=Netscape 3.0
platform=Win16
Win16=True

[Mozilla/3.0Gold*(Win16; U)]
parent=Netscape 3.0
platform=Win16
Win16=True

[Mozilla/3.0Gold*(Win95; I)]
parent=Netscape 3.0
platform=Win95

[Mozilla/3.0Gold*(Win95; I; 16bit)]
parent=Netscape 3.0
platform=Win95
Win16=True

[Mozilla/3.0Gold*(Win95; U)]
parent=Netscape 3.0
platform=Win95

[Mozilla/3.0Gold*(Win95; U; 16bit)]
parent=Netscape 3.0
platform=Win95
Win16=True

[Mozilla/3.0Gold*(WinNT; I)]
parent=Netscape 3.0
platform=WinNT

[Mozilla/3.0Gold*(WinNT; U)]
parent=Netscape 3.0
platform=WinNT

[Mozilla/3.0 (Macintosh; I; 68K)]
parent=Netscape 3.0
platform=Mac68K

[Mozilla/3.0 (Macintosh; I; PPC)]
parent=Netscape 3.0
platform=MacPPC

[Mozilla/3.0 (Macintosh; U; 68K)]
parent=Netscape 3.0
platform=Mac68K

[Mozilla/3.0 (Macintosh; U; PPC)]
parent=Netscape 3.0
platform=MacPPC

[Mozilla/3.0*(Win16; I)]
parent=Netscape 3.0
platform=Win16
Win16=True

[Mozilla/3.0*(Win16; U)]
parent=Netscape 3.0
platform=Win16
Win16=True

[Mozilla/3.0*(Win95; I)]
parent=Netscape 3.0
platform=Win95

[Mozilla/3.0*(Win95; I; 16bit)]
parent=Netscape 3.0
platform=Win95
Win16=True

[Mozilla/3.0*(Win95; U)]
parent=Netscape 3.0
platform=Win95

[Mozilla/3.0*(Win95; U; 16bit)]
parent=Netscape 3.0
platform=Win95
Win16=True

[Mozilla/3.0*(WinNT; I)]
parent=Netscape 3.0
platform=WinNT

[Mozilla/3.0*(WinNT; U)]
parent=Netscape 3.0
platform=WinNT

[Mozilla/3.0b3 (Win16; I)]
parent=Netscape 3.0
platform=Win16
beta=True

[Mozilla/3.0b3 (Win95; I)]
parent=Netscape 3.0
platform=Win95
beta=True

[Mozilla/3.0b3 (WinNT; I)]
parent=Netscape 3.0
platform=WinNT
beta=True

[Mozilla/3.0b3Gold (Win95; I)]
parent=Netscape 3.0
platform=Win95
beta=True

[Mozilla/3.0b4 (Macintosh; I; PPC)]
parent=Netscape 3.0
platform=MacPPC
beta=True

[Mozilla/3.0b4 (Win16; I)]
parent=Netscape 3.0
platform=Win16
Win16=True
beta=True

[Mozilla/3.0b4 (Win95; I)]
parent=Netscape 3.0
platform=Win95
beta=True

[Mozilla/3.0b4 (Win95; I; 16bit)]
parent=Netscape 3.0
platform=Win95
Win16=True
beta=True

[Mozilla/3.0b4 (WinNT; I)]
parent=Netscape 3.0
platform=WinNT
beta=True

[Mozilla/3.0b4Gold (Macintosh; I; 68K)]
parent=Netscape 3.0
platform=Mac68K
beta=True

[Mozilla/3.0b4Gold (Macintosh; I; PPC)]
parent=Netscape 3.0
platform=MacPPC
beta=True

[Mozilla/3.0b4Gold (Win16; I)]
parent=Netscape 3.0
platform=Win16
Win16=True
beta=True

[Mozilla/3.0b4Gold (Win95; I)]
parent=Netscape 3.0
platform=Win95
beta=True

[Mozilla/3.0b4Gold (Win95; I; 16bit)]
parent=Netscape 3.0
platform=Win95
Win16=True
beta=True

[Mozilla/3.0b4Gold (WinNT; I)]
parent=Netscape 3.0
platform=WinNT
beta=True

[Mozilla/3.0b5 (Macintosh; I; 68K)]
parent=Netscape 3.0
platform=Mac68K
beta=True

[Mozilla/3.0b5 (Macintosh; I; PPC)]
parent=Netscape 3.0
platform=MacPPC
beta=True

[Mozilla/3.0b5 (Win16; I)]
parent=Netscape 3.0
platform=Win16
beta=True
Win16=True

[Mozilla/3.0b5 (Win16; U)]
parent=Netscape 3.0
platform=Win16
Win16=True
beta=True

[Mozilla/3.0b5 (Win95; I)]
parent=Netscape 3.0
platform=Win95
beta=True

[Mozilla/3.0b5 (Win95; U)]
parent=Netscape 3.0
platform=Win95
beta=True

[Mozilla/3.0b5 (WinNT; I)]
parent=Netscape 3.0
platform=WinNT
beta=True

[Mozilla/3.0b5 (WinNT; U)]
parent=Netscape 3.0
platform=WinNT
beta=True

[Mozilla/3.0b5Gold (Macintosh; I; 68K)]
parent=Netscape 3.0
platform=Mac68K
beta=True

[Mozilla/3.0b5Gold (Macintosh; I; PPC)]
parent=Netscape 3.0
platform=MacPPC
beta=True

[Mozilla/3.0b5Gold (Win16; I)]
parent=Netscape 3.0
platform=Win16
Win16=True
beta=True

[Mozilla/3.0b5Gold (Win95; I)]
parent=Netscape 3.0
platform=Win95
beta=True

[Mozilla/3.0b5Gold (Win95; I; 16bit)]
parent=Netscape 3.0
platform=Win95
Win16=True
beta=True


[Mozilla/3.0b5Gold (WinNT; I)]
parent=Netscape 3.0
platform=WinNT
beta=True

[Mozilla/3.0b5a (Win16; I)]
parent=Netscape 3.0
platform=Win16
Win16=True

[Mozilla/3.0b5a (Win95; I)]
parent=Netscape 3.0
platform=Win95
beta=True

[Mozilla/3.0b5a (Win95; I; 16bit)]
parent=Netscape 3.0
platform=Win95
Win16=True
beta=True

[Mozilla/3.0b5a (WinNT; I)]
parent=Netscape 3.0
platform=WinNT
beta=True

[Mozilla/3.0b5aGold (Win16; I)]
parent=Netscape 3.0
platform=Win16
Win16=True
beta=True

[Mozilla/3.0b5aGold (Win95; I)]
parent=Netscape 3.0
platform=Win95
beta=True

[Mozilla/3.0b5aGold (Win95; I; 16bit)]
parent=Netscape 3.0
platform=Win95
Win16=True
beta=True

[Mozilla/3.0b5aGold (WinNT; I)]
parent=Netscape 3.0
platform=WinNT
beta=True

[Mozilla/3.0b6 (Macintosh; I; PPC)]
parent=Netscape 3.0
platform=MacPPC
beta=True

[Mozilla/3.0b6 (Win16; I)]
parent=Netscape 3.0
platform=Win16
Win16=True
beta=True

[Mozilla/3.0b6 (Win95; I)]
parent=Netscape 3.0
platform=Win95
beta=True

[Mozilla/3.0b6 (Win95; I; 16bit)]
parent=Netscape 3.0
platform=Win95
Win16=True
beta=True

[Mozilla/3.0b6 (Win95; U)]
parent=Netscape 3.0
platform=Win95
beta=True

[Mozilla/3.0b6 (WinNT; I)]
parent=Netscape 3.0
platform=WinNT
beta=True

[Mozilla/3.0b6Gold (Win16; I)]
parent=Netscape 3.0
platform=Win16
Win16=True
beta=True

[Mozilla/3.0b6Gold (Win95; I)]
parent=Netscape 3.0
platform=Win95
beta=True

[Mozilla/3.0b6Gold (Win95; I; 16bit)]
parent=Netscape 3.0
platform=Win95
Win16=True
beta=True

[Mozilla/3.0b6Gold (WinNT; I)]
parent=Netscape 3.0
platform=WinNT
beta=True

[Mozilla/3.0b6a (Macintosh; I; 68K)]
parent=Netscape 3.0
platform=Mac68K
beta=True

[Mozilla/3.0b6a (Macintosh; I; PPC)]
parent=Netscape 3.0
platform=MacPPC
beta=True

[Mozilla/3.0b6aGold (Macintosh; I; 68K)]
parent=Netscape 3.0
platform=Mac68K
beta=True

[Mozilla/3.0b6aGold (Macintosh; I; PPC)]
parent=Netscape 3.0
platform=MacPPC
beta=True

[Mozilla/3.0b7 (Macintosh; I; 68K)]
parent=Netscape 3.0
platform=Mac68K
beta=True

[Mozilla/3.0b7 (Macintosh; I; PPC)]
parent=Netscape 3.0
platform=MacPPC
beta=True

[Mozilla/3.0b7 (Win16; I)]
parent=Netscape 3.0
platform=Win16
Win16=True
beta=True

[Mozilla/3.0b7 (Win95; I)]
parent=Netscape 3.0
platform=Win95
beta=True

[Mozilla/3.0b7 (Win95; I; 16bit)]
parent=Netscape 3.0
platform=Win95
Win16=True
beta=True

[Mozilla/3.0b7 (WinNT; I)]
parent=Netscape 3.0
platform=WinNT
beta=True

[Mozilla/3.0b7Gold (Macintosh; I; 68K)]
parent=Netscape 3.0
platform=Mac68K
beta=True

[Mozilla/3.0b7Gold (Macintosh; I; PPC)]
parent=Netscape 3.0
platform=MacPPC
beta=True

[Mozilla/3.0b7Gold (Win16; I)]
parent=Netscape 3.0
platform=Win16
Win16=True
beta=True

[Mozilla/3.0b7Gold (Win95; I)]
parent=Netscape 3.0
platform=Win95
beta=True

[Mozilla/3.0b7Gold (Win95; I; 16bit)]
parent=Netscape 3.0
platform=Win95
Win16=True
beta=True

[Mozilla/3.0b7Gold (Win95; U)]
parent=Netscape 3.0
platform=Win95
beta=True

[Mozilla/3.0b7Gold (WinNT; I)]
parent=Netscape 3.0
platform=WinNT
beta=True

[Mozilla/3.0b7a (Win95; I)]
parent=Netscape 3.0
platform=Win95
beta=True

[Mozilla/3.0b7a (WinNT; I)]
parent=Netscape 3.0
platform=WinNT
beta=True

[Mozilla/3.0b8Gold (Macintosh; I; 68K)]
parent=Netscape 3.0
platform=Mac68K
beta=True

[Mozilla/3.0b8Gold (Macintosh; I; PPC)]
parent=Netscape 3.0
platform=MacPPC
beta=True

[Mozilla/3.0b8Gold (Win16; I)]
parent=Netscape 3.0
platform=Win16
Win16=True
beta=True

[Mozilla/3.0b8Gold (Win16; U)]
parent=Netscape 3.0
platform=Win16
Win16=True
beta=True

[Mozilla/3.0b8Gold (Win95; I)]
parent=Netscape 3.0
platform=Win95
beta=True

[Mozilla/3.0b8Gold (Win95; I; 16bit)]
parent=Netscape 3.0
platform=Win95
Win16=True
beta=True


[Mozilla/3.0b8Gold (Win95; U)]
parent=Netscape 3.0
platform=Win95
beta=True

[Mozilla/3.0b8Gold (WinNT; I)]
parent=Netscape 3.0
platform=WinNT
beta=True

[Netscape 2.0]
browser=Netscape
version=2.0
majorver=2
minorver=0
frames=TRUE
tables=TRUE
cookies=TRUE
backgroundsounds=FALSE
vbscript=FALSE
javascript=TRUE
javaapplets=TRUE
beta=False
Win16=False

[Mozilla/2.0 (Macintosh; I; 68K)]
parent=Netscape 2.0
platform=Mac68K

[Mozilla/2.0 (Macintosh; I; PPC)]
parent=Netscape 2.0
platform=MacPPC

[Mozilla/2.0 (Macintosh; U; 68K)]
parent=Netscape 2.0
platform=Mac68K

[Mozilla/2.0 (Macintosh; U; PPC)]
parent=Netscape 2.0
platform=MacPPC

[Mozilla/2.0 (16bit; I)]
parent=Netscape 2.0
platform=16bit
Win16=True

[Mozilla/2.0 (16bit; U)]
parent=Netscape 2.0
platform=16bit
Win16=True

[Mozilla/2.0 (Win95; I)]
parent=Netscape 2.0
platform=Win95

[Mozilla/2.0 (Win95; I; 16bit)]
parent=Netscape 2.0
platform=Win95
Win16=True

[Mozilla/2.0 (Win95; U)]
parent=Netscape 2.0
platform=Win95

[Mozilla/2.0 (Win95; U; 16bit)]
parent=Netscape 2.0
platform=Win95
Win16=True

[Mozilla/2.0 (WinNT; I)]
parent=Netscape 2.0
platform=WinNT

[Mozilla/2.0 (WinNT; U)]
parent=Netscape 2.0
platform=WinNT

[Mozilla/2.0 (Windows; I; 32bit)]
parent=Netscape 2.0
platform=Windows


[Mozilla/2.01 (Macintosh; I; 68K)]
parent=Netscape 2.0
platform=Mac68K

[Mozilla/2.01 (Macintosh; I; PPC)]
parent=Netscape 2.0
platform=MacPPC

[Mozilla/2.01 (Macintosh; U; 68K)]
parent=Netscape 2.0
platform=Mac68K

[Mozilla/2.01 (Macintosh; U; PPC)]
parent=Netscape 2.0
platform=MacPPC

[Mozilla/2.01 (16bit; I)]
parent=Netscape 2.0
platform=16bit
Win16=True

[Mozilla/2.01 (16bit; U)]
parent=Netscape 2.0
platform=Win16
Win16=TRue

[Mozilla/2.01 (Win95; I)]
parent=Netscape 2.0
platform=Win95

[Mozilla/2.01 (Win95; I; 16bit)]
parent=Netscape 2.0
platform=Win95
Win16=True

[Mozilla/2.01 (Win95; U)]
parent=Netscape 2.0
platform=Win95

[Mozilla/2.01 (Win95; U; 16bit)]
parent=Netscape 2.0
platform=Win95
Win16=True

[Mozilla/2.01 (WinNT; I)]
parent=Netscape 2.0
platform=WinNT

[Mozilla/2.01 (WinNT; U)]
parent=Netscape 2.0
platform=WinNT

[Mozilla/2.01Gold (Win95; I)]
parent=Netscape 2.0
platform=Win95

[Mozilla/2.01Gold (Win95; U)]
parent=Netscape 2.0
platform=Win95

[Mozilla/2.01Gold (WinNT; I)]
parent=Netscape 2.0
platform=WinNT

[Mozilla/2.01Gold (WinNT; U)]
parent=Netscape 2.0
platform=WinNT

[Mozilla/2.01GoldA1 (Macintosh; I; 68K)]
parent=Netscape 2.0
platform=Mac68K

[Mozilla/2.01I (16bit; I)]
parent=Netscape 2.0
platform=Win16
Win16=True

[Mozilla/2.01I (Win95; I)]
parent=Netscape 2.0
platform=Win95

[Mozilla/2.01I (WinNT; I)]
parent=Netscape 2.0
platform=WinNT


[Mozilla/2.02 (Macintosh; I; 68K)]
parent=Netscape 2.0
platform=Mac68K

[Mozilla/2.02 (Macintosh; I; PPC)]
parent=Netscape 2.0
platform=MacPPC

[Mozilla/2.02 (Macintosh; U; 68K)]
parent=Netscape 2.0
platform=Mac68K

[Mozilla/2.02 (Macintosh; U; PPC)]
parent=Netscape 2.0
platform=MacPPC

[Mozilla/2.02 (16bit; I)]
parent=Netscape 2.0
platform=Win16
Win16=True

[Mozilla/2.02 (16bit; U)]
parent=Netscape 2.0
platform=Win16
Win16=True

[Mozilla/2.02 (Win95; I)]
parent=Netscape 2.0
platform=Win95

[Mozilla/2.02 (Win95; I; 16bit)]
parent=Netscape 2.0
platform=Win95
Win16=True

[Mozilla/2.02 (Win95; U)]
parent=Netscape 2.0
platform=Win95

[Mozilla/2.02 (Win95; U; 16bit)]
parent=Netscape 2.0
platform=Win95
Win16=True

[Mozilla/2.02 (WinNT; I)]
parent=Netscape 2.0
platform=WinNT

[Mozilla/2.02 (WinNT; U)]
parent=Netscape 2.0
platform=WinNT

[Mozilla/2.02Gold (Win95; I)]
parent=Netscape 2.0
platform=Win95

[Mozilla/2.02Gold (Win95; U)]
parent=Netscape 2.0
platform=Win95

[Mozilla/2.02Gold (WinNT; I)]
parent=Netscape 2.0
platform=WinNT

[Mozilla/2.02Gold (WinNT; U)]
parent=Netscape 2.0
platform=WinNT



;;;;;;;;;;;;;;;;;;;;;;
;;; Oracle Browser ;;;
;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; Oracle 1.x
[Oracle 1.5]
browser=Power Browser
version=1.5
majorver=1.5
minover=0
frames=TRUE
tables=TRUE
cookies=TRUE
backgroundsounds=FALSE
vbscript=TRUE
javascript=TRUE
javaapplets=TRUE

[Mozilla/2.01 (Compatible) Oracle(tm) PowerBrowser(tm)/1.0a]
parent=Oracle 1.5
platform=Win95


;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; Default Browser    ;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;
[Default Browser Capability Settings]
browser=Default
Version=0.0
majorver=#0
minorver=#0
frames=False
tables=True
cookies=False
backgroundsounds=False
vbscript=False
javascript=False
javaapplets=False
activexcontrols=False
AK=False
SK=False
AOL=False
beta=False
Win16=False
Crawler=False
CDF=False
AuthenticodeUpdate=
Avatar billede stringbuffer Nybegynder
27. januar 2001 - 17:52 #5
Håber at jeg forstod dit spg korrekt. Ellers skriv lidt mere om hvad du vil vide.
Avatar billede eagleeye Praktikant
27. januar 2001 - 17:58 #6
Det er indholder fra browscap.ini.
Avatar billede bt_en Nybegynder
27. januar 2001 - 20:04 #7
jeg tror i hvert fald den er tæt.
Helt konkret skal jeg bruge en liste til at lave en funktion der oversætter outputtet fra Request.ServerVariables(\"http_user_agent\") til browser / OS - f.eks.

EI 5.5 / Win98

det kan jeg jo nemt lave hvis jeg kender den liste af output man typisk får og hvad disse betyder. Kan jeg bruge din liste der??
Avatar billede eagleeye Praktikant
27. januar 2001 - 20:16 #8
Altså noget i denne stil:
Filen hedder browserinfo.asp og er lavet at Cyscape com har et program der hedder BrowserHawk.

http://www.cyscape.com/  link \"browser troubleshooting scrip\"

<%

\' browserInfo.asp
\' created by cyScape, Inc.

\' 01/23/2001
\' version 1.01
\' - changed all occurances of chr(10) to chr(13) & chr(10) to make it compatible with all email systems.
\' - user agent string now included at the top of the browser details list in the email sent as well as the form shown to the end user.

\' 10/03/2000
\' version 1.0
\' original version - all code new

\' Permission to use and modify the contents of this script for your own purposes is hereby granted
\' provided you have a licensed or active evaluation copy of BrowserHawk on the machine this script is used on.

\' Copyright (c) 2000 cyScape, Inc.  All rights reserved.

\' The purpose of this script is to automatically collect details about a visitor\'s browser to
\' assist with the troubleshooting of browser compatibility issues reported.  By default this script
\' collects information on browser type and version, installed plug-ins, disabled cookies/JavaScript/applets,
\' screen size, color depth, and much more.
\'
\' NOTE: THIS SCRIPT IS AN EXAMPLE TO HELP YOU GET UP AND RUNNING QUICKLY WITH A BROWSER TROUBLESHOOTING PAGE.
\' HOWEVER THERE ARE MANY REFINEMENTS YOU SHOULD CONSIDER BEFORE USING IT ON A PRODUCTION WEB SITE, SUCH AS FORM
\' VALIDATION, BETTER ERROR HANDLING, AND PAGE LAYOUT TO MATCH THE LOOK AND FEEL OF YOUR SITE.

\' Let\'s see if we\'re being called back to process the user\'s form and email out the results

if UCase(Request.ServerVariables(\"REQUEST_METHOD\")) = \"POST\" then
  \'Process the results
  ProcessResults
  \'Our work is complete and the \'thank you\' screen has been displayed.  We must end the request here.
  Response.end
end if

\'some constants for use with the plugin detector
const BH_EXTPROP_NONE = -1
const BH_EXTPROP_FLASH = 1
const BH_EXTPROP_DIRECTOR = 2
const BH_EXTPROP_MEDIAPLAYER = 4
const BH_EXTPROP_REALPLAYER = 8
const BH_EXTPROP_QUICKTIME = 16
const BH_EXTPROP_ACROBAT = 32
BH_EXTPROP_ALL = BH_EXTPROP_FLASH + BH_EXTPROP_DIRECTOR + BH_EXTPROP_MEDIAPLAYER + BH_EXTPROP_REALPLAYER + BH_EXTPROP_QUICKTIME + BH_EXTPROP_ACROBAT


\'------------------- USER CONFIGURATION BEGIN -------------------

\' PLEASE READ THROUGH THIS SECTION AND SET VARIABLES AS APPROPRIATE FOR YOUR DESIRED USAGE.

\'STEP 1
\'------
\'Note we specifically don\'t test for acrobat since it causes IE to load the Acrobat splash screen.
\'This is a minor side effect if you need to know whether Acrobat is installed.  However we don\'t test
\'for it by default for this reason.  If you wish to test for Acrobat change the following variable to True
testAcrobat = False

\'STEP 2
\'------
\'By default we test the user\'s connection speed.  If you are not interested in this however you should change
\'the variable below to False
testConnectionSpeed = True

\'STEP 3
\'------
\'In addition to the main properties we display to the end user and email back to us, it may be helpful for
\'you to have a full dump of all the browser property settings.  By default we collect this additional
\'information, and although it is not shown to the end user it is transmitted back to us when the user
\'submits the troubleshooting form.  If you are not interested in this extra information, set the
\'following variable to False
collectAllDetails = True

\'STEP 4
\'------
\'Go to the EMAIL CONFIGURATION SECTION located in the ProcessResults function found in this file
\'to set up your email options so the browser settings can be emailed back to you.

\'------------------- USER CONFIGURATION END  -------------------


  on error resume next
  set objBrowser = Server.CreateObject(\"cyScape.browserObj\")
  if err.number = -2147221005 then
  %>
      <html><body><h2>BrowserHawk not installed</h3>
      In order to use this script you must have cyScape\'s BrowserHawk component installed on the web server that this
      script is executing on.  If you already have a copy of BrowserHawk, please install it.  Otherwise
      visit the <a href=\"http://www.cyscape.com/\">cyScape web site</a> and <a href=\"http://www.cyscape.com/products/bhawk/download.asp\">download
      the free, fully functional evaluation</a> of BrowserHawk and install it.</body></html>
    <%
        response.end
  elseif err.number then
  %>
      <html><body><h2>Error occurred</h2>The following error occurred when trying to create the BrowserHawk object: Error #<%=err.number%><BR>Desc: <%=err.description%>
      </body></html>
  <%
        response.end
  end if
  on error goto 0

  \'first let\'s check for disabled cookies
  \'Note: If you decide to switch your cookies settings back and forth between enabled and disabled for
  \'testing purposes make certain to delete all your cookies and shutdown/restart the browser before each test.
  objBrowser.CookieDetector \"noredirect\"

  \'Let\'s get the extended properties including enabled/disabled javascript/cookie/applet settings,
  \'screen size, plugins, color depth and more.
  \'Note that there are several optional parameters for this method - see the BrowserHawk documentation
  \'for important details including how to make this checking look seamless with your site if you change the background color.

  \'To enable Acrobat detection check the comments at the top of this code block.
    pageMsg = \"\"
    if objBrowser.Browser = \"IE\" then
      \'The call to GetExtProperties can take a few seconds to execute under IE
      \'and certain conditions.  Therefore if its IE then we\'ll put up this message in the browser window
      \'but if its another browser like Netscape we don\'t bother
      pageMsg = \"Checking your browser.  Please wait...\"
    end if

    if testAcrobat then
      pluginList = BH_EXTPROP_ALL
    else
      pluginList = BH_EXTPROP_ALL - BH_EXTPROP_ACROBAT
    end if

    objBrowser.GetExtProperties \"\", \"Checking your browser.  Please wait...\", pluginList, False, pageMsg

    \'Test following tests the users connection speed. If you are not interested in this test then remove this code block.
    if testConnectionSpeed AND objBrowser.JavaScriptEnabled then
      objBrowser.SpeedDetector \"\", \"Please wait...\", \"Checking connection speed.  Please wait...\"
    end if

    browJavaScriptCapable = objBrowser.JavaScript
    browType = objBrowser.Browser
    browVersion = objBrowser.fullVersion
    browPlatform = objBrowser.platform

    browCookiesCapable = objBrowser.cookies

    \'The translate method is used to tell BrowserHawk to translate the BrowserHawk property value into a descriptive string
    \'which explains the meaning of that property. For example, the Plugin_Real property returns an integer depending on
    \'the real player installed.  Calling the Translate method and passing in the name of the property as the key to the
    \'method results in BrowserHawk giving you back what that integer means.  To demonstrate - the Plugin_RealPlayer property
    \'may equal 3 - calling the Translate property will return \"RealPlayer G2 installed\".  Likewise if the Plugin_RealPlayer
    \'was equal to -1 it would return \"Not available with this browser\" or \"Not available with JavaScript disabled\" or
    \'other messages depending on the circumstances.  In short the Translate method is useful to translate property values
    \'into their meaning.  As another example using the key \"ScreenSize\" will have BrowserHawk return a string such as
    \' \"800 x 600\" instead of you having to build this yourself using the Height and Width properties and saves you from
    \'having to account for situations where values are 0 or not available.

    browCookiesEnabled = objBrowser.Translate(\"Cookies\")
    browJavaScriptEnabled = objBrowser.JavaScriptEnabled
    browScreenSize = objBrowser.Translate(\"ScreenSize\")
    browBrowserSize = objBrowser.Translate(\"BrowserSize\")

    browAppletsCapable = objBrowser.JavaApplets
    browAppletsEnabled = objBrowser.Translate(\"JavaApplets\")

    browPluginFlash = objBrowser.Translate(\"Plugin_Flash\")
    browPluginShockwave = objBrowser.Translate(\"Plugin_Director\")
    browPluginMediaPlayer = objBrowser.Translate(\"Plugin_MediaPlayer\")
    if testAcrobat then
      browPluginAcrobat = objBrowser.Translate(\"Plugin_Acrobat\")
    else
      browPluginAcrobat = \"Not tested by default\"
    end if

    browPluginRealPlayer = objBrowser.Translate(\"Plugin_RealPlayer\")

    browPluginQuickTime = objBrowser.Translate(\"Plugin_QuickTime\")

    if testConnectionSpeed then
      browConnectionSpeed = objBrowser.Translate(\"ConnectionSpeed\")
    else
      browConnectionSpeed = \"Not tested by default\"
    end if

    browConnectionType = objBrowser.Translate(\"ConnectionType\")
    browColorDepth = objBrowser.Translate(\"ColorDepth\")


    allDetails = \"Not configured to collect additional details\"
    if collectAllDetails then
      allDetails = \"\"
      for each prop in objBrowser
        allDetails  = allDetails & prop & \": \" & objBrowser(prop) & chr(13) & chr(10)
      next
    end if
%>

<HTML><HEAD><TITLE>Browser troubleshooting tool</TITLE></HEAD>
<BODY>
<BLOCKQUOTE>
The purpose of this page is to collect information from you that
will assist us in troubleshooting the problem you are having.
Details about your browser have been collected for you automatically and are displayed
in the table below.  Please answer the following questions and press the Report Issue button.
A support representative will contact you shortly.
<P>

<%
\'Note: The GetExtProperties, CookieDetector, and SpeedDetector methods can not be used
\'from script executing from within a POST request.  Otherwise the Request object and all form
\'values will be emptied. Therefore we call these methods above during our initial GET request,
\'and pass the values we need to the POST request processing via hidden form field variables.
%>

<form method=\"POST\" action=\"browserinfo.asp\">
  <table>
  <tr><td align=right>Name:</td><td><input type=\"text\" name=\"name\" size=\"30\"></td></tr>
  <tr><td align=right>Email:</td><td><input type=\"email\" name=\"email\" size=\"30\"></td></tr>
  <tr><td align=right>Description<br>of problem:</td><td><textarea rows=\"3\" name=\"desc\" cols=\"40\"></textarea></td></tr>
  <tr><td>&nbsp;</td><td align=left><input type=\"submit\" value=\"Report issue\" name=\"B1\"></td></tr>
  </table>
  <input type=\"hidden\" name=\"browTypeAndVer\" value=\"<%=browType & \" \" & browVersion%>\">
  <input type=\"hidden\" name=\"browPlatform\" value=\"<%=browPlatform%>\">
  <input type=\"hidden\" name=\"browCookiesCapable\" value=\"<%=browCookiesCapable%>\">
  <input type=\"hidden\" name=\"browCookiesEnabled\" value=\"<%=browCookiesEnabled%>\">
  <input type=\"hidden\" name=\"browJavaScriptCapable\" value=\"<%=browJavaScriptCapable%>\">
  <input type=\"hidden\" name=\"browJavaScriptEnabled\" value=\"<%=browJavaScriptEnabled%>\">
  <input type=\"hidden\" name=\"browAppletsCapable\" value=\"<%=browAppletsCapable%>\">
  <input type=\"hidden\" name=\"browAppletsEnabled\" value=\"<%=browAppletsEnabled%>\">
  <input type=\"hidden\" name=\"browScreenSize\" value=\"<%=browScreenSize%>\">
  <input type=\"hidden\" name=\"browBrowserSize\" value=\"<%=browBrowserSize%>\">
  <input type=\"hidden\" name=\"browConnectionType\" value=\"<%=browConnectionType%>\">
  <input type=\"hidden\" name=\"browConnectionSpeed\" value=\"<%=browConnectionSpeed%>\">
  <input type=\"hidden\" name=\"browColorDepth\" value=\"<%=browColorDepth%>\">
  <input type=\"hidden\" name=\"browPluginFlash\" value=\"<%=browPluginFlash%>\">
  <input type=\"hidden\" name=\"browPluginShockwave\" value=\"<%=browPluginShockwave%>\">
  <input type=\"hidden\" name=\"browPluginMediaPlayer\" value=\"<%=browPluginMediaPlayer%>\">
  <input type=\"hidden\" name=\"browPluginRealPlayer\" value=\"<%=browPluginRealPlayer%>\">
  <input type=\"hidden\" name=\"browPluginAcrobat\" value=\"<%=browPluginAcrobat%>\">
  <input type=\"hidden\" name=\"browPluginQuickTime\" value=\"<%=browPluginQuickTime%>\">
  <input type=\"hidden\" name=\"browAllDetails\" value=\"<%=allDetails%>\">

</form>

<b>Important</b>: If you change any browser settings you must <a href=\"<%=request.serverVariables(\"SCRIPT_NAME\")%>\"><b>click here</b></a><br>
to refresh this data instead of hitting your Reload button.<p>

<% response.write \"<font size=-1>User agent: \" & Request.ServerVariables(\"HTTP_USER_AGENT\") & \"</font><P>\" %>

<TABLE bgcolor=\"#CCCCCC\" BORDER=1 cellpadding=5 cellspacing=2>
<TR bgcolor=\"#FFFFFF\"><TD>Browser type and version</TD> <TD><% =browType & \" \" & browVersion %></TD></TR>
<TR bgcolor=\"#F0F0F0\"><TD>Platform</TD> <TD><% =browPlatform %></TD></TR>
<TR bgcolor=\"#FFFFFF\"><TD>Cookies supported</TD> <TD><% =browCookiesCapable %></TD></TR>
<TR bgcolor=\"#F0F0F0\"><TD>Cookies enabled</TD> <TD><% =browCookiesEnabled %></TD></TR>
<TR bgcolor=\"#FFFFFF\"><TD>JavaScript supported</TD> <TD><% =browJavaScriptCapable %></TD></TR>
<TR bgcolor=\"#F0F0F0\"><TD>JavaScript enabled</TD> <TD><% =browJavaScriptEnabled %></TD></TR>
<TR bgcolor=\"#FFFFFF\"><TD>Java applets supported</TD> <TD><% =browAppletsCapable %></TD></TR>
<TR bgcolor=\"#F0F0F0\"><TD>Java applets enabled</TD> <TD><% =browAppletsEnabled %></TD></TR>
<TR bgcolor=\"#FFFFFF\"><TD>Screen size</TD> <TD><% =browScreenSize %></TD></TR>
<TR bgcolor=\"#F0F0F0\"><TD>Browser size</TD> <TD><% =browBrowserSize %></TD></TR>
<TR bgcolor=\"#FFFFFF\"><TD>Connection type</TD> <TD><% =browConnectionType %></TD></TR>
<TR bgcolor=\"#F0F0F0\"><TD>Connection speed</TD> <TD><% =browConnectionSpeed %></TD></TR>
<TR bgcolor=\"#FFFFFF\"><TD>Color depth</TD> <TD><% =browColorDepth %></TD></TR>
<TR bgcolor=\"#F0F0F0\"><TD>Flash</TD> <TD><% =browPluginFlash %></TD></TR>
<TR bgcolor=\"#FFFFFF\"><TD>Shockwave</TD><TD><% =browPluginShockwave %></TD></TR>
<TR bgcolor=\"#F0F0F0\"><TD>MediaPlayer</TD> <TD><% =browPluginMediaPlayer %></TD></TR>
<TR bgcolor=\"#FFFFFF\"><TD>RealPlayer</TD><TD><% =browPluginRealPlayer %></TD></TR>
<TR bgcolor=\"#F0F0F0\"><TD>Acrobat</TD> <TD><% =browPluginAcrobat %></TD></TR>
<TR bgcolor=\"#FFFFFF\"><TD>QuickTime</TD> <TD><% =browPluginQuickTime %></TD></TR>
</TABLE>
</BODY></HTML>

<%
Function ProcessResults()
\'Our results processing consists of formatting an email message to contain the results
\'and then sending it to a support representative for follow up.  You of course can
\'easily modify this to write the information to a file or database as well.


\'---- EMAIL CONFIGURATION SECTION -----
\'By default this script is programmed to email the test results back to you (or your support group) using the free
\'Persist ASPEmail component. Before submitting the form written out by this script please be sure to install this
\'email component or if you prefer you can easily modify this script to use whatever email component you like - just
\'update the ProcessResults function found lower in the source accordingly. 

\'Set this to the address where you want the script to email the browser test results to
emailToAddr = \"someone@somewhere.com\"

\'Set this to the address of your SMTP server
emailSmtpServer = \"smtp.somewhere.com\"

\'After you have edited the above two variables change the emailConfigured variable below to True
emailConfigured = False

\'---- END EMAIL CONFIGURATION SECTION -----


crlf = chr(13) & chr(10)
crlf2 = crlf & crlf

results = \"The following submission was made on \" & Now & \":\" & crlf2

results = results & \"                  Name: \" & Request.Form(\"name\") & crlf
results = results & \"                Email: \" & Request.Form(\"email\") & crlf2

results = results & \"  Problem description: \" & Request.Form(\"desc\") & crlf2

results = results & \"            User agent: \" & Request.ServerVariables(\"HTTP_USER_AGENT\") & crlf2

results = results & \"              Browser: \" & Request.Form(\"browTypeAndVer\") & crlf
results = results & \"              Platform: \" & Request.Form(\"browPlatform\") & crlf2

results = results & \"    Cookies supported: \" & Request.Form(\"browCookiesCapable\") & crlf
results = results & \"      Cookies enabled: \" & Request.Form(\"browCookiesEnabled\") & crlf2

results = results & \"  JavaScript supported: \" & Request.Form(\"browJavaScriptCapable\") & crlf
results = results & \"    JavaScript enabled: \" & Request.Form(\"browJavaScriptEnabled\") & crlf2

results = results & \"    Applets supported: \" & Request.Form(\"browAppletsCapable\") & crlf
results = results & \"      Applets enabled: \" & Request.Form(\"browAppletsEnabled\") & crlf2

results = results & \"          Screen size: \" & Request.Form(\"browScreenSize\") & crlf
results = results & \"          Browser size: \" & Request.Form(\"browBrowserSize\") & crlf
results = results & \"          Color depth: \" & Request.Form(\"browColorDepth\") & crlf2

results = results & \"      Connection speed: \" & Request.Form(\"browConnectionSpeed\") & crlf
results = results & \"      Connection type: \" & Request.Form(\"browConnectionType\") & crlf2

results = results & \"                Flash: \" & Request.Form(\"browPluginFlash\") & crlf
results = results & \"            Shockwave: \" & Request.Form(\"browPluginShockwave\") & crlf
results = results & \"          MediaPlayer: \" & Request.Form(\"browPluginMediaPlayer\") & crlf
results = results & \"            RealPlayer: \" & Request.Form(\"browPluginRealPlayer\") & crlf
results = results & \"              Acrobat: \" & Request.Form(\"browPluginAcrobat\") & crlf
results = results & \"            QuickTime: \" & Request.Form(\"browPluginQuickTime\") & crlf2

results = results & \"Dump of all property settings: \" & crlf
results = results & Request.Form(\"BrowAllDetails\")

if NOT emailConfigured then
  response.write \"<B>Configuration necessary</B><BR>Please see the source of this script to configure the email options.  If you have already done so, change the emailConfigured variable to True.</body></html>\"
  response.end
end if

on error resume next
Set objEmail = Server.CreateObject(\"Persits.MailSender\")
if err.number = -2147221005 then
  %>
  <B>Error - mail component not installed</B><P>
  This script is designed to use Persist\'s ASPEmail component which is not installed on this machine.
  This component is available for free from the <a href=\"http://www.aspemail.com/\" TARGET=\"_NEW\">ASPEmail web site</A>.
  Please download and install this component on your web servers where the BrowserHawk component resides.
  Or if you prefer, you can easily modify the source of this script to use whatever email component you may already have installed.
  </body></html>
  <%
  response.end
elseif err.number then
  response.write \"<B>Error occurred: #\" & err.number & \" err.description\" & \"</body></html>\"
  response.end
end if
on error goto 0

objEmail.From = Request.Form(\"email\")
name = Request.Form(\"name\")
objEmail.AddAddress emailToAddr
objEmail.FromName = name
objEmail.Subject = \"Browser troubleshooting information for \" & name
objEmail.Body = results
objEmail.Host = emailSmtpServer
objEmail.Send
set Mail = Nothing
%>
<blockquote>
<H3>Information sent</H3>
Your submission has been successfully sent.  Thank you for reporting this issue.  A support representative will get back to you shortly.
</blockquote>
</body></html>

<%
End Function
%>
Avatar billede bt_en Nybegynder
27. januar 2001 - 20:23 #9
nej slet ikke ;-))

Det handler om at forvandle det sludder man får ud til noget overskueligt som almindelige man forholde sig til.

IE 5.5 / win98 i stedet for den linie man får når man req.servervar(\"hhttp_user_agent\")

f.eks.
function returnbrowser(user_agent)
if instr(user_agent,\"EI\",1) then
returnbrowser=\"Internet Explorer\"
.... osv....

Avatar billede eagleeye Praktikant
27. januar 2001 - 20:29 #10
Avatar billede bt_en Nybegynder
27. januar 2001 - 20:32 #11
tak... det var hvad jeg skulle bruge!
Avatar billede stringbuffer Nybegynder
27. januar 2001 - 20:38 #12
istedet for at bruge listen er det nok meget nemmere at søge på bestemte tekstværdier med nogle regulære udtryk, f.eks. hvis strengen indeholder MSIE efterfulgt af et tal X så udskrives der Internet Explorer version X
og tilsvarende med styresystemets forkortelser
Avatar billede Ny bruger Nybegynder

Din løsning...

Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.

Loading billede Opret Preview
Kategori
Kurser inden for grundlæggende programmering

Log ind eller opret profil

Hov!

For at kunne deltage på Computerworld Eksperten skal du være logget ind.

Det er heldigvis nemt at oprette en bruger: Det tager to minutter og du kan vælge at bruge enten e-mail, Facebook eller Google som login.

Du kan også logge ind via nedenstående tjenester