473,804 Members | 3,649 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

User Agent

LIN
Hi,
In my log files I often simple 'Mozilla' as UserAgent. In that case
what may be the browser
type. If Mozilla/4.0 is the UserAgent can we take it as a Netscape Browser.

LIN

Nov 17 '05 #1
3 2009
If you just see Mozilla/4.0, and no (compatible...) string following it,
then it likely is a Netscape browser.

James

"LIN" <ju************ ******@football .com> wrote in message
news:ek******** *****@TK2MSFTNG P10.phx.gbl...
Hi,
In my log files I often simple 'Mozilla' as UserAgent. In that case
what may be the browser
type. If Mozilla/4.0 is the UserAgent can we take it as a Netscape Browser.
LIN

Nov 17 '05 #2
LIN
Hi,
Thanx for ur reply. Then how to find out the version of the Netscape
Browser

LIN
"James J. Foster" <ja***@dotnetco ders.com> wrote in message
news:Oc******** ******@TK2MSFTN GP12.phx.gbl...
If you just see Mozilla/4.0, and no (compatible...) string following it,
then it likely is a Netscape browser.

James

"LIN" <ju************ ******@football .com> wrote in message
news:ek******** *****@TK2MSFTNG P10.phx.gbl...
Hi,
In my log files I often simple 'Mozilla' as UserAgent. In that case what may be the browser
type. If Mozilla/4.0 is the UserAgent can we take it as a Netscape

Browser.

LIN


Nov 17 '05 #3
The number following the Mozilla/ portion will give you a rough estimate as
to the browser version. However, some versions (6.x, 7.x) share a number
(Mozilla/5.0), and so you cannot determine for certain without the full user
agent string.

See:
http://devedge.netscape.com/viewsour...agent-strings/
http://www.mozilla.org/build/revised...t-strings.html

Conceivably, although I can't name a specific package doing this, firewall
software could change the user-agent string for privacy reasons.

James
"LIN" <ju************ ******@football .com> wrote in message
news:u2******** ******@tk2msftn gp13.phx.gbl...
Hi,
Thanx for ur reply. Then how to find out the version of the Netscape
Browser

LIN
"James J. Foster" <ja***@dotnetco ders.com> wrote in message
news:Oc******** ******@TK2MSFTN GP12.phx.gbl...
If you just see Mozilla/4.0, and no (compatible...) string following it,
then it likely is a Netscape browser.

James

"LIN" <ju************ ******@football .com> wrote in message
news:ek******** *****@TK2MSFTNG P10.phx.gbl...
Hi,
In my log files I often simple 'Mozilla' as UserAgent. In that case what may be the browser
type. If Mozilla/4.0 is the UserAgent can we take it as a Netscape

Browser.

LIN



Nov 17 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
5827
by: Fuzzyman | last post by:
I'm writing a function that will query the comp.lang.python newsgroup via google groups....... (I haven't got nntp access from work..) I'm using urllib (for the first time)..... and google don't seem very keen to let me search the group from within a program - the returned pages all tell me 'you're not allowed to do that' :-) I read in the urllib manual pages : class URLopener( ])
60
7314
by: Fotios | last post by:
Hi guys, I have put together a flexible client-side user agent detector (written in js). I thought that some of you may find it useful. Code is here: http://fotios.cc/software/ua_detect.htm The detector requires javascript 1.0 to work. This translates to netscape 2.0 and IE 3.0 (although maybe IE 2.0 also works with it)
4
3131
by: Don Adams | last post by:
Does the Mozilla browser even support CSS? Very few of my stylesheet formats work in Mozilla. Is there a local stylesheet that is overriding my stylesheet? If so, is there an option to turn off the local stylesheet? Also, I would treat Mozilla like Netscape 4.x in my PHP code; however, I can't see in the user agent (shown below) any way to determine that the browser is Mozilla. I've seen other browser user agents with "Gecko" in them...
1
1968
by: \Rob\ | last post by:
I need: "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\User Agent\Post Platform" registry entries for a .Net V.1.0 and .Net V.1.1 enabled browser. Mine got erased and is now affecting Visual Studio .Net 7 & 7.1 My IIS web log reports the following:
1
11723
by: Jon Spivey | last post by:
Hi, I'm using webrequest to scrape some urls, works fine, however one url seems to be throwing an error when it doesn't recognise the user agent. So I need to set the user agent to something like MSIE, I've tried these WebRequest.Headers.Set("User-Agent", "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1;)") WebRequest.Headers.Add("User-Agent", "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1;)")...
3
1359
by: Raventhorn | last post by:
I am having problems that I also saw people having in the ASP.NET forums with menus and people coming to a site with weird user agent values. Is there a way to access the user agent before the user hits the site so we can determine which ones are screwing up our site? Also, is there a list of user agents available for different browsers?
3
1849
by: Allerdyce.John | last post by:
Hi, Is there an easy way in PHP which send outs different content depends on User Agent String value? If yes, is there an example/documentation? Thank you.
0
2005
by: =?Utf-8?B?TWlrZTEz?= | last post by:
Sorry for the cross post from dontnet.framework but I'm hoping this may see more activity here. I have written an application to access a web service. The application runs at multiple sites and must cross a proxy server. The application runs fine through all proxy servers but one that is configured to require a "User-Agent" header. I have added the user agent string, however it does not seem to be passed during the HTTP CONNECT to...
0
2383
by: =?Utf-8?B?TWlrZTEz?= | last post by:
Sorry for the cross post; I'm hoping this will get a response here... I have written an application to access a web service. The application runs at multiple sites and must cross a proxy server. The application runs fine through all proxy servers but one that is configured to require a "User-Agent" header. I have added the user agent string, however it does not seem to be passed during the HTTP CONNECT to utilize the proxy server. ...
35
2499
by: RobG | last post by:
Seems developers of mobile applications are pretty much devoted to UA sniffing: <URL: http://wurfl.sourceforge.net/vodafonerant/index.htm > -- Rob
0
9569
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10558
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10318
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10302
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9130
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6844
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5636
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4277
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3802
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.