Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a way to set a site-specific user-agent for Safari? A website for school says it needs Firefox 3.x, but I have found that Safari 5 works fine. The problem is that every time I tried to log in, it warned me that my browser may not work. I set the default user agent to Firefox 3.6, and it worked fine. Now, big sites like Google and Pandora won't allow me to use certain services. (In Gmail, it just goes back to HTML. In Pandora, it blocks the whole site.) I don't want to use a different browser just for one website, and use another for everything else. I also don't want to manually change the user-agent every time I try to go to another page. Is there a way to do it automatically?

share|improve this question
up vote 4 down vote accepted

Here’s a two-year-old topic on Quora asking the same question. No answer yet.

This leads me to believe there is a way to do what you want. Always changing the UA string using the menu is annoying, but at least it works.

The Opera web browser has a feature that does what you want. But of course, if you have to install a separate browser anyway, you may just as well install Firefox 3.6 and use that to access the site you’re talking about.

share|improve this answer
Thanks! I installed Opera and it is working quite nicely. – CoffeeRain Mar 26 '12 at 18:25

It might be easier to just download Firefox 3.6 and use that for the school site and use Safari for everything else. You may also want to bother your school's IT so they remove the useless warning for compatible browsers.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.