How many users on Windows use Safari

How to change Safari's user agent on OS X.

You have likely annoyed yourself or the other while visiting a website that requires a particular browser. Fortunately, you can trick a website into thinking you're using a different browser, and you can do it with most, including Safari.

User agent "spoofing" is not a new thing. It was necessary sometimes when there was something called a browser war. Website designers often design pages to render and serve different content depending on the user's browser. Often times, the solution to this problem has been to send an incorrect "user agent string" which will trick the web server into serving you the preferred content.

Nowadays, users are less likely to have a problem because websites and browsers can better comply with web standards. That doesn't mean you won't come across one over and over again.

If you're using Apple OS X's Safari, here's how you can modify the user agent and even create a custom one.

What is a user agent anyway?

When Safari visits a website, it sends a text string like the following:

Mozilla / 5.0 (Macintosh; Intel Mac OS X 10_10_2) AppleWebKit / 600.3.18 (KHTML, like Gecko) version / 8.0.3 Safari / 600.3.18

This tells the web server that this user is running Safari 8 on a Mac with OS X 10.10.2.

It will obviously be different depending on your operating system and web browser. A computer with Windows 7 and Internet Explorer 10 would look like this:

Mozilla / 5.0 (compatible; MSIE 10.0; Windows NT 6.1; Trident / 6.0)

The list of user agent strings is extensive because there are so many browsers on different operating systems. By the way, you can see what information your browser is showing about you, including screen resolution, IP address and more.

Change your user agent on Safari

We discussed the ways you can change the User Agent in Google Chrome, Internet Explorer, and Firefox. Now let's go over how to change it in Apple OS X Safari.

First open the Safari settings via the "Safari" menu or with "Command +".

With settings open, click the Advanced tab. At the very bottom you want to check the box next to "Show development menu in menu bar" and then exit the settings.

Now Safari will have a new menu devoted entirely to development tools.

The “User Agent” menu is at the top. A few options are already available, including previous versions of Safari on OS X and iOS, Chrome on Mac and Windows, and the "Other ..." option.

You can use the "Other ..." option to specify a user agent other than the one listed. For example, if you're interested in how Google Chrome will render on an iPad running iOS 8.2, use the appropriate string.

When you open the Other ... option from the User Agent menu, all you need to do is copy the User Agent string for the browser you want to test.

The new user agent is then displayed in the User Agent menu. Note, however, that you can only have one “other” user agent at a time.

As we alluded to in the introduction, if you have to change your user agent, since most browsers are pretty good at standards at the moment, and most websites are browser agnostic (although some browsers work better on some websites than others).

CONNECTED:How to change the user agent of your browser without installing extensions

If you are curious about how your browser behaves in relation to web standards, you can always try the acid tests developed by the Web standards project.

Still, we hope you found this article useful. If you want to add something, e.g. B. a question or a comment, give your feedback in our discussion forum.