Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Starting here on the assumption that this is a browser function.
Firefox 3.5.3 on ArchLinux
I just tried downloading a free trial of Acrobat 9 to see if I can get it going on CrossOver. The Adobe site will not download because it sees I am not using Windows.
I searched in the detailed about:config file and found nothing that looked relevant.
So: How does FF (or any broswer) tell a site what OS is being used?
I'm confused. And, back on topic: I thought that this was where all that user-agent junk came into play.. For stuff like this? And, FF has the same spoofing options as other browsers, doesn't it?
As far as I know, the various browser-builds for the various OS types simply specify the OS-identification string that they are to present to anyone who asks.
The source-code of a major piece of software (such as a web browser) is designed in such a way that various parts of the source-code will or will not be included, depending on various build-time options that have been selected (including "the type of OS that this is being built for"). Through mechanisms such as these, the appropriate OS-identifier is constructed at compile time.
A site such as Adobe's can look at the browser identification string (which is presented as part of the HTTP header) to base its decision.
There's a twist, of course: many browsers (such as Konqueror or Opera) allow you to specify the string that will be sent to the host. You can, for example, "pretend to be Internet Explorer running on a Windows box." The host has no way to know that you are lying.
Last edited by sundialsvcs; 01-15-2010 at 09:18 PM.
So: How does FF (or any broswer) tell a site what OS is being used?
The browser has a string called the 'User Agent'. This can be read by javascript, or by code on the server.
It's generally possible to configure the User Agent string - you can make the browser 'lie' about its identity. For Firefox, you will want an extension, "User Agent Switcher" to do this.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.