Default Safari User Agent - ehMac.ca
Facebook
Twitter
YouTube
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read


Reply
 
LinkBack Thread Tools Display Modes
Old Mar 8th, 2005, 11:07 AM   #1
Full Citizen
 
interact's Avatar
 
Join Date: Mar 2004
Location: Calgary, AB
Posts: 921
Default Safari User Agent

What's the default setting for the user agent in Safari (in the Debug menu?)

Thanks
interact is offline   Reply With Quote
Sponsored Links
Advertisement
 
Old Mar 8th, 2005, 12:57 PM   #2
Honourable Citizen
 
gordguide's Avatar
 
Join Date: Jan 2001
Location: Saskatoon
Posts: 5,244
Something like:
Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-us) AppleWebKit/85.7 (KHTML, like Gecko) safari/85.5
(will vary depending on your version of Safari).

You send this string when you select "Automatically Chosen" from the Debug menu, which is the default (ie what is used if the debug menu isn't enabled).

Mozilla/5.0 = Netscape, but that doesn't tell you much because almost all browsers, including Microsoft ones, are based on Netscape. The major exception would be text-only browsers, like Lynx.

Gecko and KHTML are the more important ones; basically telling the site that you're not using Internet Explorer. Safari is essentially the same as FireFox, Netscape, Opera, Konquerer, etc.

Most user agents report the architecture and/or OS you're using.

U, en-us is your language and text encoding preference.

Examples of User Agent strings:
(Mozilla 4):
IE6 on Windows NT
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
IE5 on MacOS
Mozilla/4.0 (compatible; MSIE 5.23; Mac_PowerPC)
IE 5.5 on Windows98
Mozilla/4.0 (compatible; MSIE 5.5; Windows 98; Win 9x 4.90)

(Mozilla 5)
Thunderbird on Windows NT
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041206 Thunderbird/1.0
FireFox on Windows NT
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050225 Firefox/1.0.1

(Search Engine Bots; note: modified so they won't show up as links):
Googlebot/2.1 (+....google.com/bot.html/)
msnbot/1.0 (+....msn.com/msnbot.htm/)

Last edited by gordguide; Mar 8th, 2005 at 01:19 PM.
gordguide is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Safari "quits unexpectedly" for one user Sandy McMurray Mac, iPhone, iPad and iPod Help & Troubleshooting 7 Mar 14th, 2006 07:01 PM
Safari and setting a default homepage BobbyFett Anything Mac 1 Apr 6th, 2005 10:07 AM
Safari default home page? Finch Anything Mac 3 Nov 14th, 2003 10:07 PM
How to move a User to a new Mac? Sandy McMurray Mac, iPhone, iPad and iPod Help & Troubleshooting 0 Oct 24th, 2003 11:39 AM
Dumb question -- default standard font for Safari? mfreeman72 Anything Mac 2 Jan 8th, 2003 09:18 PM


All times are GMT -4. The time now is 02:04 AM.



Copyright 1999 - 2012, ehMac.ca All rights reserved. ehMac is not affiliated with Apple Inc. Mac, iPod, iTunes, iPhone, Apple TV are trademarks of Apple Inc. Content Relevant URLs by vBSEO 3.6.0 RC 2

Tribe.ca: Urban living in Toronto!