Top "User-agent" questions

A user agent is a piece of software (a software agent) that acts on behalf of a user.

Why do all browsers' user agents start with "Mozilla/"?

All popular browsers' user agent strings, even Internet Explorer's, start with Mozilla/. Why is this the case?

user-agent
Retrieve User-Agent programmatically

Is there a way to retrieve Browser's user-agent without having a WebView in activity? I know it is possible to …

android webview android-webview user-agent
Does UIWebView send the same User-Agent in the Request Headers as mobile Safari?

Sorry, I would just test this myself, but I'm currently without my mac. Does a web request made inside of …

iphone uiwebview user-agent
Modify HTTP Headers for a JSONP request

I am using jquery to build a request to the Twitter Search API. I am using jsonp, as is needed …

jquery http-headers jsonp user-agent
How do I check Windows Phone useragent with javascript?

I can check for iPhone with this code: (navigator.userAgent.match(/iPhone/i)) But I want to target Windows Phone …

javascript user-agent
How do you check the browser's user agent in a JSP page using JSTL, EL?

I need to check the browser's user-agent to see if it is IE6. However I shouldn't use scriptlets (we have …

java jsp browser cross-browser user-agent
Code to parse user agent string?

As strange as I find this, I have not been able to find a good PHP function anywhere which will …

php parsing user-agent string-parsing
What is the Samsung s3 user-agent?

I'm trying to find out what is the user agent of Samsung Galaxy S3. I don't have the device so …

user-agent samsung-mobile
What is the user agent string for surface rt?

I'm trying to determine the user agent string for surface RT for testing purposes.

windows-8 internet-explorer-10 user-agent windows-rt
Rails Browser Detection Methods

Hey Everyone, I was wondering what methods are standard within the industry to do browser detection in Rails? Is there …

ruby-on-rails ruby user-agent browser-detection