user-agent

What IE configuration contains "MSIE 8" and "MSIE 6"?

Anyone knows what kind of configuration leads to MSIE 8 report a string which also contains MSIE 6 (stripped down version to minimums)? Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) It's no problem to workaround (sniffing education is not necessary, I'm aware of...

is it possible to request UIWebView using user agent as Safari on iPhone?

i try to request on my application via this url http://reader.mac.com/mobile/v1/http%3A%2F%2Ffeeds.feedburner.com%2F9To5Mac-MacAllDay and it also return that it available on iPhone only how can i fix it? mycode NSMutableURLRequest *urlRequest = [[NSMutableURLRequest alloc] initWithURL: [NSURL URLWithString: myurl]]; [urlRequest ...

Redirect to different site when iPhone/iPod Touch visits?

I'm running Apache2 on Debian 5. I only want it to redirect when someone visits a certain page. Maybe something in JavaScript? ...

JavaScript - get detailed information about the browser

Basically I'm looking for something to give me easy access to information like useragentstring.com, but in JS, without me parsing the user agent and looking for each possible bit of text. The object could be something like this: browser = UserAgent.Browser; // Chrome browserVer = UserAgent.BrowserVersion; /...

What is the standard format for a browser's User-Agent string?

Is there an RFC, official standard, or template for creating a User Agent string? The iphone's user-agent string seems strange... Mozilla/5.0 (iPhone; U; CPU iPhone OS 3_1_2 like Mac OS X; en-us) AppleWebKit/528.18 (KHTML, like Gecko) Version/4.0 Mobile/7D11 Safari/528.16 ...

User agent string of Opera Mini on iPhone

So hell froze over and Apple accepted Opera Mini into the app store. Does anyone know what the user agent string will be? The documentation says that Opera's template is like this: Opera/9.80 (J2ME/MIDP; Opera Mini/$CLIENT_VERSION/$SERVER_VERSION; U; $LANGUAGE) Presto/$PRESTO_VERSION ...

Prevent users from being able to access a webpage via web browser?

My friend and I are working on a program. This program is going to submit GET data to our webpage. However, we don't want users accessing the webpage any other way than the program. We can prevent users from sharing the program using HWID authentication, but nothing prevents them from using a packet scanner to get the URL of the webpage....

how can I parse and group/do stats on user agent strings?

I have a database that has the various user-agent strings of visitors to our site. I'd like to do a 'survey' of them to see what browsers our users are using, so that I can know what features I can use in future development. Is there a tool to parse and run statistics on user-agent strings, or a bunch of strings like this? Ideally, I'...

What's the correct way to stop a background process on Mac OS X?

I have an application with 2 components: a desktop application that users interact with, and a background process that can be enabled from the desktop application. Once the background process is enabled, it will run as a user launch agent independently of the desktop app. However, what I'm wondering is what to do when the user disables...

Change user agent string

Hi I want to change a USER AGENT string in Internet Explorer whilst it is running (or after launching). So I can't change through a registry key. Is there any other way to do this? ...

HTTP: guidelines for common User-Agent: headers?

I'm sure there's no official standard, but are there some guidelines for identifying and classifying browsers based on the User-Agent string they send? ...

Is there a good tutorial for figuring out what a website is doing so your program can do the same thing?

Is there a good guide or tutorial for people who need to programmatically interact with dynamic websites? There's been a rash of Perl questions about that lately, and I haven't found a good resource to point people toward. I'm asking not because I need one but because I don't want to waste my time writing it if it already exists. Althoug...

How to detect user agent in WCF web service

How can I detect the user agent in a web service? My web service is implemented using a WCF webservice with basicHTTPBinding. It will be a post from some SOAP clients. I wish to know the user-agent from the clients. I shall like to see some sample code for this. I am using a WCF based web service and in the svc.cs, I tried to catch thi...

Best practices for custom http user-agent strings?

I'm developing an application that communicates with an internal web service using HTTP. Are there any "best practices" for custom user-agent strings so that I can put a nice one in my app? It's a Python library and the lower transport is Python's own httplib. Should the user-agent string say that or something else? ...

Is it possible to hide the dock icon programmatically

Is it possible to hide dock icon programmatically on demand. I know one way by which defining property "Application is agent (UIElement)" in plist we make the cocoa app as user agent. But this result in hiding the dock icon permanently. I am looking for a way where i can control visibility of dock icon. Any idea ? ...

Detect mobile user agent from classic ASP and redirect on session start

I'd like to detect a mobile user agent and redirect them when the session starts in a classic ASP app. Does anyone know a good way to pull this off? ...

What is the best and simplest http user agent in .NET?

What is the best and simplest http user agent in .NET? I simply want to put in the url have it return the page as a string. ...

OAuth 2.0: Can a user-agent (client) avoid forwarding fragments?

In the OAuth 2.0 draft specification, user-agent clients receive authorization in the form of a bearer token via redirection (from an authentication server) to a URL such as HTTP/1.1 302 Found Location: http://example.com/rd#access_token=FJQbwq9&expires_in=3600 According to Section 3.5.2 it is then the user-agent's job to GET the ...

Writing a script to bypass college login page

My college has a silly login page that requires you to download a whole bunch of garbage that a lot of us don't need (Norton Anti-virus, Antispyware software, etc.). We have to have them running to get on the internet on campus. Though, if you are on Linux, or at least set your user-agent to linux, the requirements are gone. We could ...

How to detect "Google Chrome" as the user-agent using PHP?

I'm interested to know whether the user-agent is "Chrome" at the server end using PHP. Is there a reliable regular expression for parsing out the user-agent string from the request header? ...