How to let Safari pretend it’s IE

Have you ever tried to visit a site that does not support Safari? Sometimes it's because the site uses ancient ActiveX controls, other times it's because they produced a site that simply doesn't render well on anything but a few browsers. They see you come in and immediately show you the door with a message like:

 
"Sorry! This site requires Internet Explorer 5.5 or higher!"
 
First, a little background
When a web browser connects to a web site it passes in a "signature", referred to as the User Agent string. It normally contains information like the operating system your computer is using and the web browser type and version. Web servers and HTML pages can use that signature to conditionally present web pages to you based on the capabilities of your browser.
 
If a web site developer has limited resources they may only ensure that their site works with the most popular browser on the web, which is Internet Explorer. If it is an older site that has not been updated in a long time they may have assumed that only IE can render the site properly and, not wanting to have to deal with other browsers, simply prevented them from coming in.
 
Whatever the reason, there is a way to work around this and get into the sites that require a specific browser while you are using Safari. The first step is to enable the Develop menu in the menu bar. Go into the Safari Preferences and select the Advanced tab:
 
Select the option at the bottom to show the Develop menu and you will see a new top level menu option named Develop right next to the Bookmarks menu. From here you have access to a couple of cool things, though what we need is the User Agent selection.
 
Just select Develop / User Agent from the menu and select a browser signature that matches up with what the web site indicates the browser is limited to. Reload the site and chances are you will be able to get in.
 
 
Beware! Using this technique is not wise for anything really critical - there is a possibility that data entry forms may not work properly or that controls on the forms may actually give incorrect data. There is even the possibility that the browser will have some serious problems on the site. I would only use this technique if you really want to see something that a site is telling you they don't want you to see and you don't have access to a browser that works.
 
This option does not make Safari emulate IE or any other browser. It simply tells the web server you visit that it is something other than Safari. You will also want to reset this to Default after you are done because many sites perform conditional rendering based on the type of browser you have.
 
Those warnings aside, if you've ever felt a little left out because someone decides that you should not be able to see a site because you are running a Macintosh, at least this way you can get in and see what all the fuss is about.

Comments

Feel free to leave a comment...
and oh, if you want a pic to show with your comment, go get a gravatar!

You must be logged in to post a comment.

About David Alison

digitalapplejuice.com | How to let Safari pretend it’s IE by David Alison

I bought my first Mac almost 24 years ago when DOS ruled the world. I didn't keep it too long though. I was just kicking off my career as a software engineer and needed to go with PCs. I bought my 2nd Mac in February of 2008. I didn't expect that I would find myself using the machine as much as I have. It's not that I hate Windows (well, I pretty much hate Vista but XP is a fine OS), it's just that I find myself constantly playing with this machine. I'll share with you here my experiences of making the move from Windows to Macintosh. I still have a foot in both worlds, hence the name of my section.

Read more from David Alison

Visit the author's website to learn more about this author.