How do I set User Agent for a particular sites?

I see this has been asked in other Communities and for other OSes...I am using the latest version of Catalina.


In Safari I need to set a specific User Agent of a particular site. I use this page often and since I am a Mac only user, I need to set the User Agent to a Chrome Windows browser every time I have to use this particular site.


There has to be a way to make a certain user agent automatically active when accessing a particular site.*


How can this be done in Catalina (or Big Sur)?


And if this cannot be done, I would like to understand why, as this seems like something that can very easily be done..and should be available


*The site I am using is a federal government site, so I seriously doubt they are going to update their website due to browser issues.

Posted on Jun 23, 2021 7:52 AM

Reply
4 replies

Jun 24, 2021 9:37 AM in response to randynchicago

Hey there, and welcome to Apple Support Communities, randynchicago!


We see that you're needing to set a specific User Agent in Safari. We'll be happy to see how we can help.


To get started, you'll want to follow Use the developer tools in the Develop menu in Safari on Mac to get the Develop menu enabled in Safari.


Once that is enabled, make sure Safari is your active application and click on the Develop menu. You should see User Agent as an option there. Once you move your cursor over it, you should have the option to change the User Agent to whatever you need.


We hope this helps.


Cheers.

Jun 24, 2021 11:15 AM in response to Jeff_W.

Wow. I find that hard to believe. If I was a developer I would be very upset.


Anyone know of a workaround for this request? (That does NOT include setting up a Windows VM.)


I’ll leave Feedback, as suggested, but Apple seems to be like the federal government and not interested in obvious improvements for their users’ experience. Did they not think of developers that actually use this tool all the time?


Makes no sense to me, why a user agent cannot be set for particular sites.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How do I set User Agent for a particular sites?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.