Nov 22, 2009

Browser Capabilities

free web hosting
Open Discussion & Free Web Hosting > General Discussion > Computer Talk

Browser Capabilities

soleimanian
When a browser connects to the Web server, it automatically sends an HTTP User Agent header. This header is an ASCII string that identifies the browser and its version number. The BrowserType object compares the header to entries in the Browscap.ini file.
If it finds a match, the BrowserType object assumes the properties of the browser listing that matched the User Agent header.

Comment/Reply (w/o sign-up)

almoo7
QUOTE (soleimanian @ Sep 17 2004, 05:10 AM)
When a browser connects to the Web server, it automatically sends an HTTP User Agent header. This header is an ASCII string that identifies the browser and its version number. The BrowserType object compares the header to entries in the Browscap.ini file.
If it finds a match, the BrowserType object assumes the properties of the browser listing that matched the User Agent header.
*


For those who still do not know, you can change your HTTP User Agent header with some software(like what TuneUp Utilities does), the disadvantage though is some webpages cannot be viewed correctly because it does not match any browser type in that webpage's browser detection script(sometimes). I use Internet Explorer 6 SP2 and the logs show that I am using "almoo7 Internet Browser". laugh.gif

 

 

 


Comment/Reply (w/o sign-up)

FirefoxRocks
Nowadays, it isn't particularly useful to alter the User Agent string. Most sites are compatible with Gecko (Firefox/Mozilla/Flock/etc) and Trident (IE/Maxthon/etc). Notable exceptions include Microsoft Update (for obvious reasons) and things like Yahoo! Launchcast Radio.

Opera is very easy to change the user agent string, just add the appropriate drop down box to a toolbar. I think that Firefox (and it's derivatives) have an extension that allows you to modify User Agent strings. As for Internet Explorer, you can download a 3rd party program to do so.

Comment/Reply (w/o sign-up)

wutske
I always tought a webserver simply replies with a webpage (ASCII), not keeping mind of what a browser is capable of. Isn't it up to the developper to serve different pages depending on the browser ?

Also, it's completely useless to use custom user-agent strings, it messes up website stats unsure.gif

Comment/Reply (w/o sign-up)

Jeigh
It's not completely useless if you don't want stats to be made about your useage wink.gif

Also, even if it is left to the developer to account for different browsers there still needs to be some way to identify which browser it is, which is where this string comes into play.

Comment/Reply (w/o sign-up)

xboxrulz
With the advent of many web browsers starting to use standards, I don't think it really matters that the designers need to make multiple copies for every single web browser since the browser market is no longer just Trident and Gecko anymore. There's now Presto, WebKit, and KHTML.

I'm sure that many designers won't make a version of their CSS for each one of the layout engines.

xboxrulz

Comment/Reply (w/o sign-up)

toby
Now, it should be function sniffing, as javascript should be used to enhance an experience, and there are many ways to check what is possible, and to work from there, not to identify the browser and hardcode what that browser can do.

Comment/Reply (w/o sign-up)

Atomic0
The source of the above excerpt in Post #1 is :
http://www.interantenna.omskreg.ru/iishelp...sp/comp3xx0.htm

On the topic, I occasionally use the Firefox extension User Agent Switcher to change my browser's user agent. For example, I have a preset user agent for Google Bot, which is useful for some websites requiring subscription to view but show the full text to Google Bot for indexing purposes.

Comment/Reply (w/o sign-up)

FirefoxRocks
I remotely recall that there are PHP, ASP as well as JavaScript methods to check the user agent (specifically a string to identify the browser) that is accessing the page. I don't think that it is wise to spoof user agents anyways, you should write to the webmaster of the page instead if it doesn't work in something like Firefox or Opera.

Comment/Reply (w/o sign-up)

xerxes
The only thing I imagine this to be useful for, would be debugging your websites. I seriously hope that with browsers complying to standards more and more, the need for various hacks for different browser will finally disappear.

QUOTE(Jeigh @ Oct 2 2008, 04:37 PM) *
It's not completely useless if you don't want stats to be made about your useage wink.gif

Yes, but what would you gain with this? I can't imagine why a user of Firefox would like to masquerade his browser as Internet Explorer. Likewise a user aware enough to see the need to "turn" his IE into FF due to security issues, would probably just switch to FF.

Comment/Reply (w/o sign-up)


Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

This textarea will convert to Rich-Text automatically (IE, Firefox, Chrome)


See Also,

*SIMILAR VIDEOS*
Searching Video's for browser, capabilities
advertisement



Browser Capabilities

Affordable Web Hosting, Low cost Web Hosting - ComputingHost.com