Wednesday, August 25, 2010

Common User-Agent Strings

Today's post is more of a note-to-self than anything else. I'm always trying to remember how the various browsers identify themselves to servers. The attendant user-agent strings are impossible to carry around in one's head, so I'm setting them down here for future reference.

To get the user-agent strings for five popular browsers (plus Acrobat), I created a script (an EcmaScript server page) in my Sling repository that contains the line:

<%= sling.getRequest().getHeader("User-agent") %>

This line simply spits back the user-agent string for the requesting browser (obviously). The results for the browsers I happen to have on my local machine are as follows:

Firefox 3.6:
Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6

Chrome 5.0.375:
Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.38 Safari/533.4

IE7.0.6:
Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.0.04506)

Safari 5.0.1:
Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/533.17.8 (KHTML, like Gecko) Version/5.0.1 Safari/533.17.8

Opera 10.61:
Opera/9.80 (Windows NT 6.0; U; en) Presto/2.6.30 Version/10.61

Acrobat 9.0.0 Pro Extended:
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/523.15 (KHTML, like Gecko) Version/3.0 Safari/523.15

Interestingly, Acrobat seems to spoof a Safari signature.

If you want to perform this test yourself right now, using your present browser, simply aim your browser at http://whatsmyuseragent.com/, and you'll get a complete report on the full header sent by your browser to the server.

32 comments:

  1. Anonymous6:48 AM

    Thanks for that, it helped me. and if you are looking for a good resume, then our resume editor will help you write it in a short time and so that you can get the dream job

    ReplyDelete
  2. I think that really clever users can be sure that this info is useful if you are a student. You can read it before writing your research.

    ReplyDelete
  3. Hello! I just read this information and i can tell you that this article is useful. Thank you for sharing it. Look at this - https://speedypaper.com/rate-my-paper-online.

    ReplyDelete
  4. Thank you for sharing this excellent post with us glad to see this kind of positive info you are so good and amazing with your work nice keep it up. Refer:https://www.topessayservices.com/compare-and-contrast-essay/trees/

    ReplyDelete
  5. All Assignment Help is a web portal where students get help in making assignments for all the subjects, with the help of our experts. You will get 100% plagiarism free assignment. Expertes consultation is also available for students. If they have any query they can contact with our experts anytime.

    ReplyDelete
  6. you can go through AllAssignmentHelp reviews. It will help you to know about the services, and it will help you to know whether that site is reliable or not. This is a way of understanding the opinion of users, and it helps the website to maintain its functionality and reliability.

    ReplyDelete
  7. Assignmenthelp brings to you a comprehensive solution with an assurance of peerless writing style, implemented in every paper.

    ReplyDelete
  8. • Assignments are designed to make the students burn the midnight oil every day. Students experience depression, anxiety problems and undesirable stress due to so much work and so on. So they tend to move towards taking Assignment Help

    ReplyDelete
  9. This information is too difficult for me, I don't understand what you talking about. Better will be if you tell me what should a resume look like. I'll appreciate it.

    ReplyDelete
  10. you can go through AllAssignmentHelp reviews. It will help you to know about the services, and it will help you to know whether that site is reliable or not. This is a way of understanding the opinion of users, and it helps the website to maintain its functionality and reliability.

    ReplyDelete
  11. I found this one pretty fascinating and it should go into my collection. Very good work! I am Impressed. We appreciate that please keep going to write
    more content. We are the assignment helper, we provide services all over the globe. We are best in these services:-

    "Statistics Analysis Help
    "
    "Business Analytics Assignment Help
    "
    "Statistics Experts
    "
    "Statistics assignment help
    "
    "MATLAB Help
    "
    "MATLAB assignment help
    "
    "Statistics Homework Help
    "
    "Statistics Help
    "
    "Statistics Tutors
    "
    "Research Paper Writing Service
    "
    "statistics help for dissertation
    "
    "statistical analysis services for students
    "
    "Assignment Help UK
    "
    "R Assignment Help
    "

    ReplyDelete
  12. Many of the people are depressed about the problems of essay writing. Well, don’t worry about that because we are providing this service at a very reasonable price.
    "Assignment help NZ
    "
    "Assignment help NZ
    "
    "Assignment help UK
    "
    "Assignment help US
    "
    "Assignment help Australia
    "
    "Assignment help Canada
    "
    "Assignment helper
    "
    "Assignment help
    "
    "Writing Assignment Help
    "
    "Help For Assignment
    "
    "Write my assignment help
    "

    ReplyDelete
  13. I loved the article, keep updating interesting articles. I will be a regular reader… I am offering assignment help to students over the globe at a low price.
    "Essay writing
    "
    "Essay Writer
    "
    "Article rewriter
    "
    "Essay writing service
    "
    "Essay writing help
    "
    "Write My Essay
    "
    "Write My Article
    "
    "Essay Helps
    "
    "Write my essay cheap
    "
    "Do my essay cheap
    "

    ReplyDelete
  14. I found this one pretty fascinating and it should go into my collection. Very good work! I am Impressed. We appreciate that please keep going to write
    more content. We are the assignment helper, we provide services all over the globe. We are best in these services:-

    Digital Markrting Blog
    SEO Blog
    Social Media Blog
    Email Marketeting Blog
    Online marketing Blog

    ReplyDelete
  15. Thanks for sharing this information. I have shared this link with others keep posting such information. to provide best in class law assignment help online at very affordable prices.
    "Assignment Help
    "
    "Assignment Helper
    "
    "Essay writing
    "
    "Essay writing service
    "
    "Dissertation help
    "
    "Thesis writing help
    "
    "Write My Essay
    "
    "Computer Science Assignment Help
    "
    "Assignment Help Soth Africa
    "
    "Assignment Writing Service
    "

    ReplyDelete
  16. Many of the people are depressed about the problems of essay writing. Well, don’t worry about that because we are providing this service at a very reasonable price.
    "Assignment Help
    "
    "Assignment Helper
    "
    "Essay writing
    "
    "Essay writing service
    "
    "Dissertation help
    "
    "Thesis writing help
    "
    "Write My Essay
    "
    "Do My Essay
    "
    "Hire Cheap Essay Writer
    "
    "College Essay Help
    "

    ReplyDelete
  17. You should study in a way that you do not compromise with your health. Good health is a prerequisite for you to be able to study efficiently and to maintain motivation to do so. Sometimes, assignments also act as a hindrance in following your timetable. In such situations, you can take Assignment help.

    ReplyDelete
  18. Thanks for this informative content. It’s really good. Actually, I want to share some thoughts and reviews about an assignment help company in Australia and the brand name is SAMPLE ASSIGNMENT. Here, I am working as an Academic Expert. To look at our online academic assistants who provide reference assignment including Accounting, Management, Finance, IT, Economics, Computer Science, Nursing, Marketing; all Academic subjects to University Students all over the Australia or even worldwide, Here is a big online assignment help providers who help students to get HD grades according to assessment guidelines and instructions. Those who are searching for assignment provider in Melbourne, Perth, Brisbane, Adelaide etc. get a touch with Sample Assignment - the No.1 Assignment provider. Any student really wants to buy an assignment at the cheapest price goes to our branded website and has a look and opts our amazing and informative services, you can avail of our convenient online assignment help and samples available on our website for free. You can download it if you want. Are you ready to get 100 out of 100 in your university assessment? We assign the best writer according to the subject for your academic problems and provide support in assignment writing services. Our Customer Care Executives are available 24*7 hours to assist you in the best possible manner. Phone calls and emails are the best methods used by online assignment help providers.

    ReplyDelete
  19. This blog was extremely helpful. I really appreciate your kindness in sharing this with me and everyone else!It was really useful How to Write a Research Report.

    ReplyDelete
  20. thanks for this helpful content,if you need an outline research paper,here is the place

    ReplyDelete
  21. Browse our full selection of made-to-order Silicone Sex Dolls and TPE. We have best selection of real love dolls both in TPE and silicone. So visit our largest online store and book today!!

    ReplyDelete

  22. Lovedollpalace is an online shop to buy Realistic Sex Dolls & Life Size Love Doll for Sex, quality TPE and silicone realistic adult dolls.

    ReplyDelete
  23. Thanks for sharing this information. I have shared this link with other keep posting such information to provide best in class law assignment help online at very affordable prices.
    Assignment help
    Assignment help
    Assignment help
    Python Programming Assignment
    Programming Assignment Experts
    Assignment help tutors
    Assignment help

    ReplyDelete
  24. Allassignmenthelp is a web portal where students get assignment help for all the subjects, with the help of our experts. You will get 100% plagiarism free assignment.
    assignment expert

    ReplyDelete

Add a comment. Registration required because trolls.