Chapter 10
In This Chapter
Introducing the Safari window and controls
Visiting websites with Safari
Moving between sites
Creating and using bookmarks
Receiving files with Safari
Surfing with your tabs showing
Saving web pages to disk
Protecting your privacy on the web
Blocking those irritating pop-ups
I proudly surf the web via a lean, mean — and fast — browser application. That’s Safari, of course, and it just keeps getting better with each new version of OS X. Safari delivers the web the right way, without the wait. You’ll find that new features have been added to Safari that no other browser offers, such as the Reading List (which allows you to easily select articles and pages for later perusal).
If you need a guide to Safari, this is your chapter. Sure, you can start using Safari immediately, but wouldn’t you rather read a few pages so that you can surf like a power user?
Within these pages, I show you how to use those other controls and toolbar buttons in Safari — you know, the ones in addition to the Forward and Back buttons — and you discover how to keep track of where you’ve been and where you’d like to go.
Figure 10-1 illustrates the Safari window. You can launch Safari directly from the Dock, or you can click the Safari icon from Launchpad.
Major sections of the Safari window are
The Content pane often contains underlined (or colored) text and graphics that transport you to other pages when you click them. These underlined words and icons are links, and they zip you right from one area of a site to another or to a different site. You can tell when your cursor is resting on a link because the cursor changes to that reassuring pointing-finger hand. Handy!
Here’s the stuff that virtually everyone over the age of five knows how to do … but I get paid by the word, and some folks might just not be aware of the many ways to visit a site. You can load a web page from any of the following methods:
The Safari Address box also acts as a smart address field, displaying a new pop-up menu of sites that match the text you entered. Safari does this by using sites taken from your History file and your bookmarks, as well as sites returned from Google, Yahoo!, or Bing. If the site you want to visit appears in the list, click it to jump there immediately.
Because each thumbnail is updated with the most current content, the Top Sites wall makes a great timesaver. Quickly make a visual check of all your favorite haunts from one screen!
Click in the Address box, type the contents that you want to find, and then press Return. Safari presents you with the search results page on Google for the text that you entered.
This trick works only on the side of the Dock to the right of the vertical line. More on that all-important divider in a bit.
If you minimize Safari to the Dock, you’ll see a thumbnail of the page with the Safari logo superimposed on it. Click this thumbnail on the Dock to restore the page to its full glory.
A typical web surfing session is a linear experience. You bop from one page to the next, absorbing the information that you want and discarding the rest. However, after you visit a few sites, you might find that you need to return to where you’ve been or head to the familiar ground of your home page. Safari offers these navigational controls on the toolbar:
Safari supports a number of trackpad gestures. For example, you can swipe in either direction with two fingers to move backward and forward, just as you would move with the Forward and Back buttons. To zoom in and out on the Content pane, you can either double-tap the trackpad or pinch with two fingers — yes, just like an iPhone. (Ever get the notion that someday we’ll just have a single box called “The Device” that does it all?)
Not all these buttons and controls must appear on your toolbar. You may never see many of these toolbar controls unless you add them yourself. To display or hide toolbar controls, choose View⇒Customize Toolbar. The sheet that appears works just like the Customize Toolbar sheet in a Finder window: Drag the control you want from the sheet to your Safari toolbar or drag a control that you don’t want from the toolbar to the sheet.
To be honest, I’m not a big fan of releasing any of my personal information to any website, so I don’t use AutoFill often. If you do decide to use this feature, make sure that the connection is secure (look for the padlock icon in the Address box) and read the site’s Privacy Agreement page first to see how your identity data will be treated.
When you’re downloading a file, a tiny progress bar appears in the Downloads button on the toolbar to show you how much you’ve received. Now that, good reader, is progress! (Let’s see whether my editor allows such a horrible pun to remain.)
Choosing a home page is one of the easiest methods of speeding up your web surfing, especially if you’re using a dial-up modem connection. However, a large percentage of the Mac owners whom I’ve talked with have never set their own home page; instead, they simply use the default home page provided by their browser. Declare your independence! With Safari running, take a moment to follow these steps to declare your own freedom to choose your own home page:
I recommend selecting a page with few graphics, or a fast-loading popular site.
You see the settings shown in Figure 10-3.
Alternatively, open the New Windows Open With pop-up menu and choose Empty Page if you want Safari to open a new window with a blank page. This choice is the fastest one for a home page.
No doubt about it: Bookmarks make the web a friendly place. As you collect bookmarks in Safari, you’re able to immediately jump from one site to another with a single click of the Bookmarks menu or the buttons on the Favorites bar.
To add a bookmark, first navigate to the desired page and then do any of the following:
Safari displays a sheet where you can enter the name for the bookmark and also select where it appears (on the Favorites bar, Top Sites display, Bookmarks folder, or Bookmarks menu).
This trick also works with other applications besides Safari, including in a Mail message or Messages conversation. Drag the icon from the Safari Address field to the other application window, and the web page link is added to your document.
To jump to a bookmark
If you’ve added a large number of items to the Favorites bar, click the More icon on the edge of the Favorites bar to display the rest of the buttons.
The more bookmarks you add, the more unwieldy the Bookmarks menu and the sidebar can become. To keep things organized, choose Bookmarks⇒Add Bookmark Folder and then type a name for the new folder. With folders, you can organize your bookmarks into collections, which appear in the column at the left of the sidebar, as folders in the Bookmark list, and as menus on the Bookmarks bar. (Collections also appear as separate submenus in the Bookmarks menu on the Safari menu bar.) You can drag bookmarks into the new folder to help reduce the clutter.
To delete a bookmark or a folder from any of these locations, right-click it and then choose Delete.
Here are two other methods of loading, saving, and retrieving specific pages in Safari — and they’re both hiding in the now-familiar confines of the Safari sidebar! These two sidebar celebrities are the reading list and your shared links.
The sidebar’s Reading List pane allows you to save entire pages for later perusal — unlike a bookmark (which displays only the current contents of a page), a page saved to your Reading List is retained (with its original content) until you can read it. From the keyboard, press +Shift+L to display the sidebar, and then click the Reading List button. Choose Bookmarks⇒Add to Reading List or press +Shift+D to add the current page to the list; you can quickly add a snapshot of that page to the list by holding down the Shift key and clicking the link. (Oh, and don’t forget that you can click the Sharing icon in the toolbar and choose Add to Reading List to achieve the same victory.)
If you’re a fan of the Twitter or LinkedIn social media sites, listen up: Mavericks introduces shared links to Safari! After you add your Twitter and LinkedIn account information in the Internet Accounts pane in System Preferences, Safari automatically adds links posted by your friends on both services on the sidebar’s Shared Links pane.
To visit a shared link, just click it. To search for a specific shared link, click in the Search Links box at the top of the Shared Link list and type a portion of the link (or just type the person’s name to see all the links he or she has posted).
A huge chunk of the fun that you’ll find on the web is the capability to download images and files. If you’ve visited a site that offers files for downloading, typically you just click the Download button or the download file link, and Safari takes care of the rest. While the file is downloading, feel free to continue browsing or even download additional files; the Downloads status list helps you keep track of what’s going on and when everything will be finished transferring. To display the Download status list from the keyboard, press +Option+L. You can also click the Download button at the upper-right corner of the window to display the Download list.
By default, Safari saves any downloaded files to the Downloads folder on your Dock, which I like and use. To specify the location where downloaded files are stored — for example, if you’d like to scan them automatically with an antivirus program — follow these steps:
To download a specific image that appears on a web page, move your cursor over the image, right-click, and then choose Save Image As from the menu that appears. Safari prompts you for the location where you want to store the file.
You can choose to automatically open files that Safari considers safe — things like movies, text files, and PDF files that are very unlikely to store a virus or a damaging macro. By default, the Open “Safe” Files after Downloading check box is selected on the General pane. However, if you’re interested in preventing anything you download from running until you’ve manually checked it with your antivirus application, you can deselect the check box and breathe easy.
To keep track of where you’ve been, you can display the History list by clicking the History menu. To return to a page in the list, just choose it from the History menu. Note that Safari also arranges older history items by the date you visited the site so you can easily jump back a couple of days to that page you forgot to bookmark!
Safari also searches the History list automatically, when it fills in an address that you’re typing. That’s the feature I mention in the earlier section, “Visiting Websites.”
To view your Top Sites thumbnail screen, press +Option+1 or choose Show Top Sites from the History menu. You can also click the Top Sites button on the toolbar.
If you’re worried about security and would rather not keep track of where you’ve been online, find out how to clear the contents of the History file in the upcoming section, “Handling ancient history.”
Safari also offers tabbed browsing, which many folks use to display (and organize) multiple web pages at one time. For example, if you’re doing a bit of comparison shopping for a new piece of hardware among different online stores, tabs are ideal. (Heck, tabbed browsing is so popular, Apple added tabs to Finder windows with the release of OS X Mavericks!)
When you hold down the key and click a link or bookmark using tabs, a tab representing the new page appears at the top of the Safari window. Just click the tab to switch to that page. By holding down Shift+, the tab is both created and opened. (If you don’t hold down , things revert to business as usual, and Safari replaces the contents of the window with the new page.)
You can also open a new tab by clicking the plus sign that appears at the upper-right corner of the Safari window, or by pressing +T.
To display your tabs in Tab view without a trackpad, click the Show All Tabs button that appears at the right side of the Safari window (next to the Open a New Tab button). From Tab view, you can click the white dots that appear below the thumbnails to view your tabs, and click any tab thumbnail to switch immediately to that tab. To close a tab in Tab view, click the Close button at the top of the thumbnail.
To fine-tune your tabbed browsing experience, choose Safari⇒Preferences to display the Preferences dialog; then click Tabs. From here, you can specify whether a new tab or window automatically becomes the active window in Safari.
If you’ve encountered a page that you’d like to print, follow these steps:
After the Save file has been created, double-click it to load it in Safari.
No chapter on Safari would be complete without a discussion of security, against both outside intrusion from the Internet and prying eyes around your iMac. Hence this last section, which covers protecting your privacy.
First, a definition of this ridiculous term: A cookie, a small file that a website automatically saves on your hard drive, contains information that the site will use on your future visits. For example, a site might save a cookie to preserve your site preferences for the next time or — like shopping at Amazon.com — to identify you automatically and help customize the offerings that you see.
In and of themselves, cookies aren’t bad things. Unlike a virus, a cookie file isn’t going to replicate itself or wreak havoc on your system, and only the original site can read the cookie that it creates. However, many folks don’t appreciate acting as a gracious host for a slew of little snippets of personal information. (Not to mention that some cookies have highly suggestive names, which can lead to all sorts of conclusions. End of story.)
You can choose to accept some or all cookies, or you can opt to disable cookies altogether. You can also set Safari to accept cookies only from the sites you choose to visit. To change your Cookie Acceptance Plan (or CAP, for those who absolutely crave acronyms), follow these steps:
Safari displays the preference settings shown in Figure 10-6.
If a site’s cookies are blocked, you might have to take care of things manually, such as by providing a password on the site that used to be read automatically from the cookie.
The Privacy pane also includes the Ask Websites Not to Track Me check box, which works … sometimes. Unfortunately, it’s up to a particular website whether to honor Safari’s request for privacy. (Also, some sites — such as Amazon.com — use tracking legitimately, to keep track of your likes and purchases each time you return.) If you’re especially worried about leaving a trail of breadcrumbs behind you on the web, however, I recommend selecting this check box.
Safari speeds up the loading of websites by storing often-used images and multimedia files in a temporary storage, or cache, folder. The files in your cache folder can be displayed (hint), which can lead to assumptions (hint, hint) about the sites you’ve been visiting (hint, hint, hint). (Tactful, ain’t I?)
Luckily, Safari makes it easy to dump the contents of your cache file. Just choose Safari⇒Reset Safari, deselect all but the Clear History check box, and then click Reset to confirm that you want to clean up your cache.
Time for a confession: I am the world’s biggest critic of keychains, which Mavericks uses to automatically provide all sorts of login information throughout the system. In Safari, for example, the password information is automatically entered for you whenever a website you’ve approved requires you to log in.
To be more specific, I’m sure many readers will adopt the new iCloud Keychain, which stores password and credit card information for Safari and wirelessly distributes that information automatically to other Macs and iOS devices using the same Apple ID. (Apple even says the passwords generated by iCloud Keychain are more complex and harder to crack, which sounds more secure, right?)
I’d rather keep a pet piranha in a cereal bowl than use this feature! Why? Whenever you’re logged in, anyone using your iMac gets control of your online persona (in the form of your passwords to secure websites). Safari, like an obedient puppy, will automatically provide access to sites with stored keychain passwords, no matter who is sitting in front of your iMac. Nervous yet?
Now that I’ve warned you thoroughly, I feel better about mentioning the Passwords tab in Safari Preferences for those who do decide to use iCloud Keychain. From the Passwords tab, you can view the iCloud Keychain information that Safari uses, and either remove a specific password (or all passwords) from your iCloud Keychain.
As you might imagine, your History file leaves a very clear set of footprints indicating where you’ve been on the web. To delete the contents of the History menu, choose History⇒Clear History (at the very bottom of the History menu).
Safari also allows you to specify an amount of time to retain entries in your History file. Open the Safari Preferences dialog, click the General tab (refer to Figure 10-3), and then open the Remove History Items pop-up menu to specify the desired amount of time. Items can be rolled off daily, weekly, biweekly, monthly, or yearly.
In Mavericks, Safari can allow websites you’ve approved to send you messages using Notification Center — you can control which sites have been given this functionality from the Notifications tab in Safari’s Preferences dialog. To prevent a website from sending notifications, click the site in the list and click the Remove button.
I hate pop-up ads, and I’m sure you do, too. To block many of those pop-up windows with advertisements for everything from low-rate mortgages to “sure-thing” Internet casinos, open the Safari Preferences dialog, click the Security tab, and verify that Block Pop-Up Windows is selected.