What you need to know about Safari 4 Beta

What You Must Know About the New Safari 4 Beta

Apple released Safari 4 Beta last Tuesday, for both Mac and Windows users. The updated browser received a UI update, many major improvements under the hood, and plenty of new features to play with. The new browser passes the ACID2 and ACID3 tests with a score of 100, and contains a few next-generation technologies that web developers will love, once we can take advantage of them. Let’s take a look at what’s new.

Top Sites

Perhaps the most noticeable new feature is “Top Sites,” a screen that comes up when you first launch the browser. The 3D view shows your most-used web sites, keeping them within easy reach when you start your day of browsing, as well as when you open a new tab. A blue star in the corner of a thumbnail denotes that the site has been updated.

Safari automatically decides what sites to put in the grid, but you have some control. You can remove sites from the screen, rearrange them, and pin them to the page so they won’t be removed if your browsing habits would cause them to do so. You can make the thumbnails bigger or smaller, changing the number of displayed sites when you do so.

This feature, reminiscent of Google Chrome and Opera, can be configured to be displayed to your liking. If you prefer to have a specific homepage instead of the Top Sites page, you can set one. It is also possible to stop it from displaying whenever you open a new, blank tab.

Tabs

Like Chrome, Safari 4′s tabs are located at the top of the window, and have a similar window-docking feature. You can pop a tab out and convert it to a standalone window, or do the inverse, docking an existing window into the tab bar. It takes a little while to acclimate to the new tab UI, but it seems to work well once you get the hang of it.

One little inconvenience is the difficulty of re-ordering tabs. You have to drag them from the little handles in their upper-right corners, rather than just grabbing the main part of the tab. If you try to move the tabs around “the old way,” you will drag the entire window, as the tab bodies act as the window top. Personally, I tend to sort my tabs often, so this would definitely hinder my productivity, for awhile at least.

Coverflow

Apple sure loves their Coverflow… Safari 4 applies the spiffy effect all over the place. Your browsing history is displayed in a two-paned Coverflow view, and the Bookmarks screen is too.

This navigation method works surprisingly well, especially with the full-text search tool that allows you to narrow things down. It’s easy to pick out what you’re looking for, and it certainly looks pretty.

Search

There are several search-related improvements in the latest Safari beta. The aforementioned full-text search of history and bookmarks can find you the page you seek quickly and with very good precision. It searches the actual page content, from an internal cache one would assume, in addition to the standard title and URL information.

The Google search box to the right of the URL bar has been refined. It displays search term suggestions as you type, including recent queries. An option to use Yahoo results is also included, for Windows users. The useful SnapBack feature remains, providing an easy way to jump back to your results after perusing one of the recommended pages.

Speed

The updated rendering engine is snappy, and JavaScript execution is good too. They seem to be comparable to Google Chrome, possibly faster, though it’s impossible to tell without more formal speed tests.

Web apps like GMail and Bloglines worked well, and didn’t seem to lag for any reason other than network or server problems. I didn’t notice any glaring CSS or JavaScript bugs during the time I used the browser.

Apple claims that Safari 4 Beta tops Chrome and Firefox 3 for speed in both HTML rendering and JavaScript execution, leaving Microsoft’s Internet Explorer in the dust. Bold claims, though we will have to wait to see 3rd-party testing results, which will surely be available soon.

Page loading times are improved with speculative loading. Safari loads files ahead of time so they won’t have to be downloaded later, when you want the page.

Development Features

Safari 4 packs plenty of useful features for web developers. A new Develop menu, which can be activated in the Preferences, houses many of them.

One of the new developer tools is a handy submenu for changing the User Agent string. Safari can masquerade as any browser you may require. You can set one of the numerous versions of Internet Explorer, Firefox, Safari, Opera, Mobile Safari, or a custom value.

One of the more prominent entries in the Develop menu is the Web Inspector. The little window is similar to Firefox’s popular Firebug extension. You can read and modify CSS information, analyze size and loading times, and debug scripts. If you do much in the way of front-end development, this is the killer feature right here.

A “Snippet” window can be called-up to quickly test bits of HTML out. As you enter markup a preview is displayed underneath.

The Develop menu also has several options for disabling browser functions temporarily, including the cache, JavaScript, CSS, images. With the advent of the menu, Safari has become a powerful development tool.

Next-Gen Features

Safari is ready for the future of the internet, including support for technologies that are on the bleeding edge, and aren’t entirely standardized yet. HTML 5 offline support is one of those. Data can be cached in a local SQL database for access when an internet connection isn’t available, a la Google Gears.

CSS 3 “web fonts” are supported as well. Safari has the ability to recognize a properly specified font and download it if it is not already installed, enabling web designers more control typographically.

HTML 5 media elements are also supported. The browser can handle certain audio and video formats natively, without the help from an external media player plugin, just like images are done.

Conclusion

Safari 4 is shaping up to be an excellent browser, a real competitor in the New Browser Wars. Keep in mind that it is still a beta for now, and may have some rough edges. That’s no reason for you not to try it though. It seems stable (on the Mac side at least) and it has a lot going for it.

You can download Safari 4 Beta here. Don’t forget to read the full feature list!

Note: Want to add some source code? Type <pre><code> before it and </code></pre> after it. Find out more
  • http://www.dev.my Www.dev.My

    Never try before but after reading this post, i think i should give it a try.

  • Andrew

    the develop menu isn’t anything new but quite handy! this browser is proving to be one of the, if not the, best you can use on a mac.

  • Andrew

    @adam

    the agents are for processing the information, not necessarily displaying images and css or javascript how another browser would.

  • Taylor Satula

    I dont know what people are talking about web fonts for as a new thing. Safari 3 supported them. And other browsers support more complicated ones to some extent. I still love them though BTW I love the new safari one. But no top sites in Safari 4 for windows XP. Weird.

  • Jem

    I downloaded this for the PC and it works great, page loading is incredibly fast.

    Seems like Apple tried to mash together Google Chrome and Firefox into one… but as usual, and as sad of a statement that it might be, there’s really no reason to even explore other browsers as a web developer. Though its a great browser, just like Google Chrome, they dont have the market share and numbers to really constitute caring about how pages are rendered in them. Not to mention, I always have this weird feeling that using a “mac browser” on a PC isn’t really “genuine” and the results I’m seeing wont necessarily be consistent with how things render on a mac.

    If I’m not developing FOR it, then I’m not browsing IN it. As widely used as IE might be though, I would never consider using Microsoft browsers full time.

  • Suciu Vlad

    this looks like an improved Google Chrome. nice stealing :)

  • http://www.creative32.com Qiming

    Hmm, too bad I’m a windows user, safari is buggy on windows.

  • Doug

    I’m totally loving all the new features! I really like how you can change the browser generator! This will help fix bugs in other browsers much faster now!

  • http://www.safari4beta.com Safari 4 Beta

    A lot of people seem to be having problems with their Mail app. Please view this post to see a temporary fix for this:
    http://www.safari4beta.com/2009/02/safari-4-beta-and-growl-mail.html

  • aliaspanther

    Looks interesting, but when I went to give it a test run myself, I was not presented with those “Oh so glorious” features you all are chattering about. First open does not give me the Top Sites, just takes me to google homepage. Preferences does not have an option for new tab/window to open the Top Sites.

    Also cannot find the Cover Flow sections for History/Bookmarks and such…
    Am I missing something, or are these just not available on XP?

  • Yoyo

    I like it. The one thing that would prevent me from using it as my primary browser is the way it keeps opening a new page in a new browser, even though I have it set to open in a new tab.

  • http://jarrydcrawford.com/ Jarryd

    I love the new Safari, it’s very quick but will still be a secondary browser over Firefox, mainly because their are much better debugging options such as Firebug and the Web Development Toolbar. Don’t know what I’d do without them :)

  • http://www.webmaster-source.com redwall_hp

    To those of you talking about Apple “copying” chrome, note that both Chrome is based off WebKit: http://webkit.org/

    Does the logo look a bit familiar? :)

  • sebastian

    Safari, taking the old stuff and bringing them to a hole-new-level… how far is IE from all that,, like there is more than a decade in between… Safari rules.

  • Carlos

    So I just tried to test a page on my Mac and used the User Agent with the IE6 emulator. I tried it on a site I developed that I know breaks horribly in IE6 on a PC. The result was not the same as IE6 on a PC. The site did not break like I thought.
    So the User Agent is not perfect quite yet. But still one to be reckoned with and to be looked at as a contender. Especially if they perfect the emulator.
    The other emulators are not quite working either. They still break the site even thought it is not supposed to.
    Like I said. Not perfect but still very good.

  • PhilD

    I love most all apple stuff – but Chrome is still my default,
    I don’t think people(me included) enjoy re-learning
    how to do something that has already been
    learned (eg: 1st time using office 2007)
    All other browsers tabs behave the same kinda way
    it’s something I can’t be bothered with -

    didn’t F11 used to make full screen in safari3?

  • http://twitter.com/taylorsatula Taylor Satula

    @aliaspanther you do not have either direct-x 9.0 or 64 video RAM. it auto disables if you dont meet both of those

  • Simon

    @Carlos: It’s juste the user agent, not the rendering engine !
    You’re just pretending to be another browser, but you won’t render it like this other browser ;)

  • Jayb Carey

    Just tried it and…. after ten minutes, I missed my Firefox…. nope, I’m not going to change, Firefox changed the browser market and I’m going to remain loyal to them…. they offer me all my favorite plugins too….

  • Lior D.

    Safari 4 looks great. I still wait for the option to open tabs from last session automatically

  • Mark Bowen

    If you don’t like the tabs being where they are and also a few other items then you can change them with a fantastic add-on (Mac only) by going to :

    http://pointum.com/safari-tweaks.html

    I’ve placed my tabs back where they used to be as I just feel the new way isn’t very Mac like or more importantly not very me like ;-)

    There is also some information on that page for Windows users too though.

    Best wishes,

    Mark

  • http://www.johannesfischer-webdesign.de/ Johannes

    Safari still looks like iTunes – and i dont like the look of it. Skins would be great, however i will never use Safari :D

  • Misael Arroyo

    Here we go again, I’ve been switching from safari to firefox back and forth, am about to install this new safari, lets see what’s up =P

  • Jools

    Some of you people seriously need to learn what a USER-AGENT is!

    When you switch the user-agent all it does is make the browser identify itself as another browser – it DOES NOT change the rendering engine, or try to emulate how another browser would display the site.

    Safari will still display the site the same, using it’s own Webkit rendering engine, but the web-server ‘thinks’ it is a different browser, and may send different data (stylesheets, scripts etc.) to the browser.

    IT IS NOT A BROWSER EMULATOR!!!

    • Tycho

      I Agree with Jools!

      You’d think Web Developers of all people should know these things!

      Here guys, have a handy Link to tell you more about the User Agent

      http://en.wikipedia.org/wiki/User_agent

  • Not another moron

    my comment was removed but thanks for clarifying it Jools, hope some of these guys will read it.

  • http://www.freshclickmedia.com Shane

    @Adam – no, the user-agent isn’t lies. It just changes the user-agent header – so it actually has nothing to do with how a page is rendered. (Yeah – Jools has just mentioned this…) Who cares about HTTP headers when you can write a nice jQuery plugin eh? ;)

    Safari 4′s nice, its ACID2/ACID3 compliancy is exciting, but I’ll stick with firefox. There’s no way that Firebug has any competition for the moment.

  • Jake Cooney

    I really like the new Safari, but there’s a few thing I hate.

    I’m used to the URL bar in Google Chrome. I like to have the location and search in one field.

    Also I don’t like the height of the tabs on Windows XP. It’s like 35px I think.

    But definitely great work!

  • http://janckos.net Janckos

    Muy buen articulo.

  • sean

    *drool* I am really diggin the new features. I can’t wait to try it out for my own :]

  • http://thecreativedrift.com David B

    Love the new Safari! Can’t wait for the final release.

  • Pingback: links for 2009-02-27 | bri-design studios

  • http://www.wadejackman.com Wade Jackman

    still doesn’t beat the extendability of firefox, although it is pretty!

  • Pingback: Janckos Blog » Lo que deberías saber sobre el nuevo Safari 4 Beta

  • http://www.nysteria.com seye kuyinu

    Seeing this article, I JUMPED TO GO DOWNLOAD THE SAFARI on my XP. I however can’t find the developer bar. I have gone to preferences and still can’t find it. AND OF COURSE THAT’S WHAT I NEED!

  • http://www.nysteria.com seye kuyinu

    Sorry! I just found it!

  • http://www.blackjackskanz.com/ BlaKKJaKK

    The ICC Color Profile Support is broken in the Windows version. I don’t understand why given Safari was the first browser to support this feature. It would be nice to have other options other than FF3. Boo to Apple for failing to support this feature under Windows.

  • Carlos

    I wish it was a browser emulator so I don’t have to download parallels, partition my HD, make a virtual computer, or buy PC computer just to test my sites in other browsers like IE not supported by Mac. I just wish all browsers were created the same. Or for Microsoft to just forcefully get rid of IE6. Just send out an update script that auto updates to at least IE7. That would be smart. Just bomb IE6 for all it is worth. Which isn’t much.
    I still will stick with Firefox. I did get a little excited about the developer tool bar user-agent. Unfortunately after being told I am wrong, I now understand. Thank you all for clearing this up for me. I was unaware. I thought maybe someone had actually developed and figured out how to actually cause a browser to render all major browsers for development purposes into one browser. Making our lives much easier in the CSS world. Unfortunately I was wrong. Some day I hope. Some day. Mainly because whoever does will become a king of browsers and make lots of money.

    • http://www.webmaster-source.com redwall_hp

      You could get a copy of Codeweavers’ Crossover Mac software. It’s a variant of WinE, and it can run IE6 and IE7 well enough for testing web pages.

      Crossover isn’t free, but it’s a lot cheaper than a copy of Windows,

  • Juan

    Oh man, thanks God,

    Firefox is just too ugly to be useful…

  • http://www.webmaster-source.com redwall_hp

    @Carlos: “I just wish all browsers were created the same.”

    You can thank Microsoft for things not being that way. We have standards, and most of the browsers follow them, at least close enough to not have major issues. It’s IE that’s really broken. :)

  • http://www.airwolfe.com Alex

    Wow, how incredible. The fact that you can select multiple user agents will save a lot of time and money for me. No more booting up VMWare to test in IE6. What a great job by Apple.

  • Pingback: Safari 4 Hakkında Mutlaka Bilmeniz Gerekenler… | Webmaster Gelişim Blogu - WmTuts

  • http://www.tufantunc.com Tufan Tunç

    … and you must now can’t use your hotmail.

  • Pingback: What You Must Know About the New Safari 4 Beta

  • http://www.jashsayani.com Jash Sayani

    You forgot to mentions some features: Gmail no longer works… And there are issues with Hotmail.

    Personally, I also feel that Apple should add a preference to allow users to put the tabs below the address bar. I don’t like the Chrome inspiration.

    • http://www.webmaster-source.com redwall_hp

      That’s stange… I didn’t have any problems with GMail. I didn’t try Hotmail, but GMail worked flawlessly for me.

  • Paul

    Yeah, but can you disable Anti-Aliasing in the windows version yet?

  • http://www.crispeegrafix.com/ Chris

    i like Safari 4 so far.

    But I fail to see what the snippet editor is possibly good for. Anyone?

  • Pingback: localToGlobal » Blog Archive » news review -> 9th week of 2009

  • Steve Apex

    If you set your homepage to “topsites://” it will launch your topsites on launch. I find that to be really handy because I use it as a springboard to my favorite places.

  • Aaron

    @redwall_hp

    “You can thank Microsoft for things not being that way. We have standards, and most of the browsers follow them, at least close enough to not have major issues. It’s IE that’s really broken.”

    Here here!! So true.

  • http://www.webmaster-source.com redwall_hp

    For you hack-inclined users, there’s a way to get more control of your Top Sites by editing a .plist file. http://www.mactropolis.com/how-tos/how-to-edit-safari-4-beta-top-sites/