Starting > Designing > Developing > Testing > Running
Home | News | Blogs | About

User-Agent Switcher for Safari 4

atrasatti's picture

The User Agent Switcher plug-in for Firefox has been a GREAT add-on and we all love it. 1 year and 27 weeks ago Ronan wrote a really simple, but useful configuration file for it that is available here on mobiForge (if you use Firefox it's a MUST: User Agent Switcher config file).

Since Safari 3 it is possible to switch the User-Agent string the browser sends to the server. Initially it was to emulate other browsers, then they wisely added the iPhone and the iPod Touch so that designers could test their new iPhone-specific sites. Unfortunately it was not possible to personalise that list.

With the release of Safari 4 and thanks to a nice hint on Mac OS X Hints, I've built my own list of mobile devices. See how it looks like now (forgive the Italian at the bottom):
Preview of UA Switcher

Of course the file is also available for download as an attachment to this article. Install instructions are quite easy:

The file is just text, so if you want to add or change the list of devices it should be easy enough, it took me longer to select the User-Agents than editing. ;)

AttachmentSize
UserAgents.txt13.04 KB

Posted by atrasatti 1 year ago

Switcher iconSwitch to our desktop site | mobiThinking