User agent: Difference between revisions

From MozillaZine Knowledge Base
Jump to navigationJump to search
No edit summary
 
No edit summary
Line 1: Line 1:
The user agent is a string of text uniquely identifying a given browser.  It can be accessed by javascript, and numerous other means.  It is used by certain websites to determine which browser for various reasons.  For example, some webmasters will read this information solely for the purpose of keeping statistics on browser use.  Others will delibarately reject certain browsers based on the text in your user agents.  Still others will redirect certain browsers do different versions of a page.  If a web site is rejecting access solely based on user agent, you may be able to access a page anyway in [[Firefox]] by installing a user agent forger like [http://extensionroom.mozdev.org/more-info/useragentswitcher User agent switcher].  To see your own user agent, go to the URL javascript:alert(navigator.userAgent).
The user agent is a string of text uniquely identifying a given browser.  It can be accessed by javascript, and numerous other means.  It is used by certain websites to determine which browser for various reasons.  For example, some webmasters will read this information solely for the purpose of keeping statistics on browser use.  Others will delibarately reject certain browsers based on the text in your user agents.  Still others will redirect certain browsers do different versions of a page.  If a web site is rejecting access solely based on user agent, you may be able to access a page anyway in [[Firefox]] by installing a user agent forger like [http://extensionroom.mozdev.org/more-info/useragentswitcher User agent switcher].  To see your own user agent, go to the URL javascript:alert(navigator.userAgent)


{{stub}}
{{stub}}

Revision as of 01:54, 7 February 2005

The user agent is a string of text uniquely identifying a given browser. It can be accessed by javascript, and numerous other means. It is used by certain websites to determine which browser for various reasons. For example, some webmasters will read this information solely for the purpose of keeping statistics on browser use. Others will delibarately reject certain browsers based on the text in your user agents. Still others will redirect certain browsers do different versions of a page. If a web site is rejecting access solely based on user agent, you may be able to access a page anyway in Firefox by installing a user agent forger like User agent switcher. To see your own user agent, go to the URL javascript:alert(navigator.userAgent)