Welcome to MSDN Blogs Sign in | Join | Help

Apple releases Safari for Windows

Huh, interesting.  Seems like I heard some rumors about this, but I didn't see that one coming.  Honestly, this is the best news I've heard all week (okay, fine, it's noon on Monday).  We've got a couple of Macs here on site over a VPC type setup but using them is still a bit of a pain - you have to prop to IIS, log into the machine, etc.  Being able to do some level of smoke testing right from the desktop will make this a lot easier.  That is, of course, as long as the Mac and Windows Safari continue to act the same.

Like iTunes, Safari is styles like a Mac window, so it's a little odd to see it running on the desktop with all the Vista-themed stuff.

safariwindows

But right a way you can pick out the distinctive way that it does it's font rendering.  Yup, looks like Safari.  So I tried to configure it so I could launch it directly from VS to debug web pages.

 setupsafari

Hit OK, then Browse and.....

Hmmm...appearently "Safari.exe [url]" doesn't launch that URL.  If someone out there knows the command line switch for this, let me know.  I tried "safari.exe -?" and all that, no luck. 

UPDATE: Sounds like "safari -url [url]" does the trick.  I've updated this picture. See above, choose "No" when it warns you about "c:\Pro...\Safari.exe -url" not being valid.

I also notice I can't resize from the sides or bottom.  Weird.

I also notice there's no JavaScript console...is there some plugin I'd need for that?

UPDATE: here's how to enable the console.

  1. Command prompt 
  2. cd %APPDATA%\Apple Computer\Safari
  3. notepad preferences.plist
  4. At the end, before </dict> paste in: <key>IncludeDebugMenu</key> <true/>
  5. Save, restart Safari.

Anyway, I will say that Safari hasn't been the, uh, easiest browser to work with.  I think the big upside of this release is that more people will test their websites on Safari, and hopefully it will also drive more quality into the platform which will make it less work to have your apps work as expected on Mac.

Published Monday, June 11, 2007 7:48 PM by sburke

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# Windows 版 Safari 登場!だけど日本語環境では利用出来ず

Shawn Burke's Blog からです。 Apple releases Safari for Windows Windows 上で Safariが利用できると非常に喜ばしいニュースです。ただし、重要なのは

Monday, June 11, 2007 9:06 PM by ナオキにASP.NET(仮)

# [PL] Safari na Windows

Na Gdańskim ISV Roadshow gdy Bartek Zass opowiadał o AJAX i Silverlight wspominał o supportowanych przeglądarkach

Tuesday, June 12, 2007 8:10 AM by Only Human | Devoted to technology v.2.0

# using Safari for debugging Web Pages in VS

Shawn Burke has a post with info about setting Safari as a browser to debug your pages with in Visual

Tuesday, June 12, 2007 2:25 PM by Tiernans Comms Closet

# re: Apple releases Safari for Windows

Thanks for this post ! I was thrilled at first as well, but upon first launch, I had a rather disappointing experience. The UI for me doesn't at all fit into the Windows Environment. Worse, the browser crashed after each launch, after about 2-3 minutes. And almost every website i visited was poorly rendered, making CNN.com completely unreadable, amongst other popular sites.

Granted, it's a beta. But as I blogged myself, every beta1 from MS or others is more stable - and at least core functionalities should work. But it should definitely be interesting to watch this move on ;-)

Tuesday, June 12, 2007 5:37 PM by aebe

# re: Apple releases Safari for Windows

Thanks for the JavaScript console trick. That worked. But what an awful way to do xml... <key>IncludeDebugMenu</key> <true/>? Where does that come from??

Wednesday, June 13, 2007 8:54 PM by bleroy

# re: Apple releases Safari for Windows

I know, it's totally wierd.  It's a serialized dictionary of some kind, but, yeah, I'd expect some kind of reasonable schema.  Who knows.

Thursday, June 14, 2007 1:19 AM by sburke

Leave a Comment

(required) 
required 
(required) 
 
Page view tracker