Chapter 20. Safari

The Internet has come a long way since its early days in the 1960s, when it was a communications network for universities and the military. Today, that little network has morphed into an international information hub, an entertainment provider, and the world’s biggest mall. For that, we can thank the development of the World Wide Web—the visual, point-and-click face of the Internet.

Apple is obviously intrigued by the possibilities of the Internet. With each new release of Mac OS X, more clever tendrils reach out from the Mac to the world’s biggest network: Dashboard, the Wikipedia link in the Dictionary program, Web clippings, Back to My Mac, and so on.

But Apple’s most obvious Internet-friendly creation is Safari, a smartly designed window to the Web (available for Mac OS X and, believe it or not, Windows). This chapter is all about Safari; its compass icon in the Dock points the way to your Internet adventure.

If you want something done right, you have to do it yourself.

That must be what Apple was thinking when it wrote its own Web browser a few years ago, which so annoyed Microsoft that it promptly ceased all further work on the Mac version of its own Internet Explorer.

Safari is beautiful, fast, and filled with delicious features. In Snow Leopard, it’s faster than before, and badly behaving plug-ins no longer crash the whole browser; instead, the faulty plug-in just closes itself. You see an empty space on the page where that plug-in’s video or animation would have appeared, and you can reload the page if you want to try again.

Safari is not, however, Internet Explorer, and so some Web sites—a few banking sites, for example—refuse to acknowledge its existence. For these situations, you might try the Mac version of Firefox, a free browser available at www.getfirefox.com.

You probably know the drill when it comes to Web browsers. When you click an underlined link (hyperlink) or a picture button, you’re transported from one Web page to another. One page might be the home page of General Motors; another might contain critical information about a bill in Congress; another might have baby pictures posted by a parent in Omaha.

Some of the other Safari tips may not be obvious:

Many of Safari’s most useful controls come parked on toolbars and buttons that you can summon or hide by choosing their names from the View menu. Here’s what they do:

When you type a new Web page address (URL) into this strip and press Return, the corresponding Web site appears.

Because typing out Internet addresses is so central to the Internet experience and such a typo-prone hassle, the address bar is rich with features that minimize keystrokes. For example:

You can summon or dismiss a number of individual buttons on the address bar, in effect customizing it (Figure 20-2). It’s worth putting some thought into this tailoring, because some of these buttons’ functions are really handy. So here’s a catalog of your options:

The Bookmarks menu is one way to maintain a list of Web sites you visit frequently. But opening a Web page from that menu requires two mouse clicks—an exorbitant expenditure of energy. The Bookmarks bar (View→Bookmarks Bar), on the other hand, lets you summon a few very favorite Web pages with only one click.

Figure 20-4 illustrates how to add buttons to, and remove them from, this toolbar.

Tip

As shown in Figure 20-4, you can drag a link from a Web page onto your Bookmarks bar. But you can also drag a link directly to the desktop, where it turns into an Internet location file. Thereafter, to launch your browser and visit the associated Web page whenever you like, just double-click this icon.

Better yet, stash a few of these icons in your Dock or Sidebar for even easier access.

Safari is filled with shortcuts and tricks for better speed and more pleasant surfing. For example:

Sooner or later, you’ll run into a Web site that doesn’t work in Safari. Why? When you arrive at a Web site, your browser identifies itself. That’s because many commercial Web sites display a different version of the page depending on the browser you’re using, thanks to differences in the way various browsers interpret Web layouts.

But because you’re one of the minority oddballs using Safari, your otherwise beloved Web site tells you: “Sorry, browser not supported.” (Will this problem change now that Apple has released a Windows version of Safari? We can only hope.)

In such times of trouble, you can make Safari impersonate any other browser, which is often good enough to fool the picky Web site into letting you in.

The key to this trick is Safari’s Develop menu, which is generally hidden. You can make it appear by choosing Safari→Preferences→Advanced tab. Turn on “Show Develop menu in menu bar.”

The new Develop menu appears right next to Bookmarks. Most of its commands are designed to appeal to programmers, but the submenu you want—User Agent—is useful to everyone. It lets Safari masquerade as a different browser. Choose User Agent→Internet Explorer 7.0, for example, to assume the identity of a popular Windows browser.

What’s the first thing you see when you open Safari? Is it the Apple news Web site? Is it the Top Sites display (Figure 20-3)?

Actually, that’s up to you.

Choose Safari→Preferences→General tab. Here, the “New windows open with” popup menu offers choices like these:

Beloved by hardcore surfers the world over, tabbed browsing is a way to keep a bunch of Web pages open simultaneously—in a single, neat window. Figure 20-9 illustrates.

Turning on tabbed browsing unlocks a whole raft of Safari shortcuts and tricks, which are just the sort of thing power surfers gulp down like Gatorade:

In the beginning, the Internet was an informational Garden of Eden. There were no banner ads, pop-ups, flashy animations, or spam messages. Back then, people thought the Internet was the greatest idea ever.

Those days, unfortunately, are long gone. Web browsing now entails a constant battle against intrusive advertising and annoying animations. And with the proliferation of Web sites of every kind—from news sites to personal Web logs (blogs)—just reading your favorite sites can become a full-time job.

Enter RSS, a technology that lets you subscribe to feeds—summary blurbs provided by thousands of sources around the world, from Reuters to Apple to your nerdy next-door neighbor. You can use a program like Safari to “subscribe” to updates from such feeds and then read any new articles or postings at your leisure (Figure 20-10).

The result: You spare yourself the tedium of checking for updates manually, plus you get to read short summaries of new articles without ads and blinking animations. And if you want to read a full article, you can click its link in the RSS feed to jump straight to the main Web site.

So how do you sign up for these free, automatic RSS “broadcasts”? Watch your address bar as you’re surfing the Web. When you see a blue RSS button appear (identified back in Figure 20-1), Safari is telling you, “This site has an RSS feed available.”

To see what the fuss is all about, click that button. Safari switches into RSS-viewing mode. At this point, you have two choices:

RSS is a tremendously flexible and powerful technology, especially in Safari. The fun never ends, as these tricks illustrate.

If you create a new bookmark folder and fill it with RSS feeds, you can see the total number of new articles right next to the folder’s name (Figure 20-11, bottom). You might create a folder of Mac news feeds, for instance, so you know whenever there’s a important event in the Mac world.

From then on, by clicking the folder’s name (and opening its pop-up menu), you can see which feeds have new articles; they’re the ones with numbers next to their names. If you ⌘-click a bookmark folder’s name—in either the Bookmarks bar or the Bookmarks menu—Safari shows you all the feeds, neatly collated into one big, easily digestible list for your perusing pleasure. (If you’re billing by the hour, you can also choose View All RSS Articles from the folder’s pop-up menu to achieve the same effect.)

It’s easy enough to set up any favorite Web site as your start page. But you can also make an RSS feed—or a list of feeds—your home page. Open the feeds you want, choose Safari→Preferences→General tab, click Set to Current Page, and choose “Home Page” from the “New windows open with” pop-up menu.

In other words, suppose you start by opening a list of local, national, international, business, and sports news feeds. In that case, you’ve just made yourself a fantastic imitation of newspaper headlines, but tailored to your interests with spectacular precision: The Francis J. McQuaid Times (or whatever your name is).

Articles in this arrangement are timelier than anything you could read in print—and they’re free. If you miss a day of reading the headlines, no problem; they stick around for days and disappear only once you’ve read them. Finally, when you’re done reading, you don’t have to worry about recycling your “newspaper.” No trees were harmed in the making of this publication. Welcome to the future of news: customized, free, up-to-date, and paperless.

Tip

To find more RSS feeds, visit a site like www.syndic8.com, or just watch for the appearance of the blue RSS button in the address bar. And if you want more power in an RSS reader, try out a program like NetNewsWire (http://ranchero.com/netnewswire/), which offers many more power-user features.