Home » » UserAgent List

UserAgent List

It is important to remember that many browsers have the option to push fake user agent strings. Anyway, it's a nice way to check who's looking. Here's a script for it:



alert(CheckIeBrowser("6.0"))

if (!CheckIeBrowser("6.0"))

{

alert("Your browser is not supported.")

}

function CheckIeBrowser(version)

{

var sIeToken = "MSIE "

var sAgent = navigator.userAgent

var iPosition = sAgent.indexOf(sIeToken) + sIeToken.length;

var iLength = iPosition + version.length

var sValue = sAgent.substring(iPosition, (iLength));

return (sValue == version);

}



Here's the list:



Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322)

Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 4.0)

Mozilla/2.0 (compatible; MSIE 3.02; Windows 3.1)

Mozilla/2.02 (Macintosh; I; 68K)

Mozilla/3.04Gold (Win95; I)

Mozilla/4.0 (Windows 4.10;US) Opera 3.60 [en]

Mozilla/4.0 (compatible; MSIE 4.01; AOL 4.0; Windows 95)

Mozilla/4.0 (compatible; MSIE 4.01; AOL 4.0; Windows 98)

Mozilla/4.0 (compatible; MSIE 4.01; Windows 95)

Mozilla/4.0 (compatible; MSIE 4.01; Windows 95; CHOI99095)

Mozilla/4.0 (compatible; MSIE 4.01; Windows 98)

Mozilla/4.0 (compatible; MSIE 4.01; Windows NT)

Mozilla/4.0 (compatible; MSIE 4.0; Windows 95)

Mozilla/4.0 (compatible; MSIE 5.01; Windows 98)

Mozilla/4.0 (compatible; MSIE 5.01; Windows 98; TUCOWS Network)

Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)

Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0; AIRF)

Mozilla/4.0 (compatible; MSIE 5.01; Windows NT)

Mozilla/4.0 (compatible; MSIE 5.0; AOL 4.0; Windows 98; CNETHomeBuild03171999)

Mozilla/4.0 (compatible; MSIE 5.0; Mac_PowerPC)

Mozilla/4.0 (compatible; MSIE 5.0; Windows 95; DigExt; AltaVista 1.01.01)

Mozilla/4.0 (compatible; MSIE 5.0; Windows 95; DigExt; TUCOWS)

Mozilla/4.0 (compatible; MSIE 5.0; Windows 98)

Mozilla/4.0 (compatible; MSIE 5.0; Windows 98; CNETHomeBuild03171999)

Mozilla/4.0 (compatible; MSIE 5.0; Windows 98; CNETHomeBuild051099)

Mozilla/4.0 (compatible; MSIE 5.0; Windows 98; DigExt)

Mozilla/4.0 (compatible; MSIE 5.0; Windows NT; DigExt)

Mozilla/4.0 (compatible; MSIE 5.5; Windows 95; AltaVista 1.01.01)

Mozilla/4.0 (compatible; MSIE 5.5; Windows 98)

Mozilla/4.0 (compatible; MSIE 5.5; Windows 98; CNETHomeBuild051099)

Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0; AIRF)

Mozilla/4.0 (compatible; MuscatFerret/2.0; http://www.webtop.com/)

Mozilla/4.0 (compatible; Opera/3.0; Windows 4.10) 3.51 [en]

Mozilla/4.04 [en] (Win95; I)

Mozilla/4.05 (Macintosh; I; PPC, Nav)

Mozilla/4.05 [en] (Win95; I ;Nav)

Mozilla/4.05 [en] (Win95; I)

Mozilla/4.07 [en] (WinNT; I)

Mozilla/4.08 [en] (Win98; U ;Nav)

Mozilla/4.5 [en] (Win98; I)

Mozilla/4.5 [en] (Win98; U)

Mozilla/4.7 [en] (Win95; I)

Mozilla/4.7 [en] (Win95; U)

Mozilla/4.72 [en] (Win95; I)

Mozilla/4.75 [en] (Win98; U)

Mozilla/5.0 (Windows NT 4.0; U) Opera 4.02 [en]



0 comments:

Post a Comment

Popular Posts

Powered by Blogger.
.comment-content a {display: none;}