Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Edit Safari's list of User Agents in the Develop menu Web Browsers
Do you find yourself constantly using the 'Other...' item in Safari's Develop » User Agent menu to simulate User Agents that aren't shown in the list? If so, it's easy to permanently add your own favorites by editing the UserAgents.plist file in the Resources directory of the bundle.

I recommend making a copy of Safari.app, then Control-click your copy and select Show Package Contents from the pop-up menu. Navigate into Resources and edit the file UserAgents.plist in any decent text editor to include your faves.

Simple, yet effective.
    •    
  • Currently 2.55 / 5
  You rated: 1 / 5 (11 votes cast)
 
[7,114 views]  

Edit Safari's list of User Agents in the Develop menu | 3 comments | Create New Account
Click here to return to the 'Edit Safari's list of User Agents in the Develop menu' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Edit Safari's list of User Agents in the Develop menu
Authored by: chimerical on Jun 25, '09 10:58:18AM

Minor detail, but wouldn't it be sufficient to just back up UserAgents.plist?



[ Reply to This | # ]
Edit Safari's list of User Agents in the Develop menu
Authored by: mkoistinen on Jun 25, '09 03:16:50PM

I would recommend this if you'd like to save your edits. However, in my case, I added entries that Apple have never included, like Googlebot, msnlive and Yahoo's search spiders, etc.

Great for seeing sites exactly as the search engines do.



[ Reply to This | # ]
Edit Safari's list of User Agents in the Develop menu
Authored by: David Allen on Jun 30, '09 09:51:25PM
I think that you missed his point. Instead of copying the who;e Safari.app, he is suggesting just a backup of the UserAgents.plist file. Dah•veed

---
David Austin Allen
Monterrey, NL, MX

[ Reply to This | # ]