Showing posts with label Safari. Show all posts
Showing posts with label Safari. Show all posts

Sunday, September 6, 2009

14 Tips for Safari 4 Beta

Apple released a new beta version of Safari yesterday, bringing a whole load of new features, as well as a couple of problems. Here are a few tips to help you get the most out of the new version and solve any teething problems you might have.


1. Download Safari 4 beta

As this is just a beta version, Apple doesn't include it in the automatic Software Update. To get the new version, head over to the Safari 4 beta page on the Apple web site. Bear in mind this will get rid of Safari 3, but there is an uninstaller included if you ever want to revert back.

2. Update your plugins
While most plugins for Safari should be fine with the new version, InputManagers are likely to need updating. 1Password has released an update, but you have to go to the 1Password app in your Applications folder to access it. Go to the Preferences and in the updates section, check the box that says Include Beta versions. Now when you check for updates it should download a version that works with Safari 4. Updates for Glims and Saft are already available from their respective sites, but as far as I know PithHelmet and SafariStand haven't been updated yet.

3. Safari breaks Xcode
This one is mainly for developers. If you are using the 3.0 version of Xcode, you will find that it crashes on launch once you have downloaded the Safari 4 beta. Just head over to the Apple Developer Connection to download version 3.1.2 of Xcode that works fine.

4. New keyboard shortcuts
Now Control-Tab will allow you to cycle through your tabs (as opposed to Command-Tab that cycles through applications). Don't worry if you were used to the old shortcut though, Command-Shift-Arrows still work.

5. Add the zoom button
The new zoom feature works just like Safari on the iPhone. Instead of just increasing the font size, it increases the size of images and other media too. You can access this from the View menu or with the Command-+ and Command-- shortcuts. Alternatively, choose Customize Toolbar from the View menu to add the zoom button to the toolbar.

Zoom Button

6. Restore the old style tabs
One of the biggest changes visually is the new tabs, located along the top of the window. If you aren't a fan of this, a simple Terminal command will move them back to the old position. Just open up Terminal (in Applications/Utilities) and paste in the following line:

defaults write com.apple.Safari DebugSafari4TabBarIsOnTop -bool FALSE

To bring back the new tabs on top, just repeat the command with TRUE at the end. You will need to restart Safari for changes to take effect.

7. Disable search suggestions
Now the Google search box gives suggestions for your search as well as recent searches. To disable this, just use the following Terminal command in the same way as above:

defaults write com.apple.Safari DebugSafari4IncludeGoogleSuggest -bool FALSE

As before, repeat with TRUE at the end to bring back suggestions.

Search Suggestions


8. Bring back the old progress bar
Unfortunately, the new spinning progress indicator doesn't give you a good idea of how far the page has loaded. To bring back the old style, you have to use both of the following commands.

defaults write com.apple.Safari DebugSafari4IncludeToolbarRedesign -bool FALSE

This changes the progress indicator to a blue pie chart. To get the blue bar, now use the following command:

defaults write com.apple.Safari DebugSafari4LoadProgressStyle -bool FALSE

Repeat both commands with TRUE at the end to go back to the new style.

9. Disable bookmarks Cover Flow
If Cover Flow isn't your thing, you can get rid of it in the Bookmarks window by using the following Terminal command:

defaults write com.apple.Safari DebugSafari4IncludeFlowViewInBookmarksView -bool FALSE

Repeat with TRUE at the end to bring back Cover Flow.

10. Disable dimming in Top Sites zoom

When you choose a page in Top Sites, it zooms in to take up the whole page with a neat animation effect. To stop the page dimming during this, use the following Terminal command:

defaults write com.apple.Safari DebugSafari4TopSitesZoomToPageAnimationDimsSnapshot -bool FALSE

Repeat with TRUE at the end to revert back to the original behaviour.

11. Disable Top Sites

If, for some reason, you want to completely disable the Top Sites feature, use the following command:

defaults write com.apple.Safari DebugSafari4IncludeTopSites -bool FALSE

Repeating with TRUE at the end will enable Top Sites again.

12. Disable "fancy" URL suggestions

This is actually one of my favourite new features in Safari 4. When you are typing in a web address, suggestions are separated into Bookmarks, History and a Top Hit. If you prefer the old window, use the following command:

defaults write com.apple.Safari DebugSafari4IncludeFancyURLCompletionList -bool FALSE

Repeat the command with TRUE at the end to enable the fancy completion list again.

13. Add web sites to Top Sites
If you click the Edit button in Top Sites, it is easy to use the pins to force sites to stay in Top Sites. To manually add a site that isn't already there, open it up in a separate window, then drag the favicon (next to the address) over to one of the positions in Top Sites. You can also drag sites from your bookmarks to Top Sites.

14. Fix GrowlMail
Unfortunately GrowlMail will now cause Mail to crash. There is a quick workaround that involves putting GrowlMail into summary mode. Do this by using the following Terminal command:

defaults write com.apple.mail GMSummaryMode -int 2

Drag and drop onto "Choose File" buttons in Safari

When a website prompts you to upload a file to the internet, it will probably use a "choose file" or "browse" button. For example when choosing an attachment in Gmail, or when uploading a photo to Facebook. In Safari, you can speed things up by simply dragging and dropping files onto this button, instead of first clicking on it and then looking around your hard drive for the file you want.

Simply drag your file from the Finder, hold it over the button and then let go.

Drag and Drop to Safari

Enable Single Window Mode in Safari

In the latest version of Safari, Apple have added a new hidden preference. Using a Terminal command, you can now enable one-window browsing.

If you use Safari regularly, you may notice that certain links refuse to open in the same window. If a link is set to open in a new window, normally holding down Command while clicking it will make it open in a tab instead. However, in certain places (like Gmail messages) links open in a new window no matter what you do.

Terminal
This command changes the behaviour such that links that would ordinarily open in a new window now open in a new tab instead. Start by opening up Terminal (located in Applications/Utilities), and paste in the following line:

defaults write com.apple.Safari TargetedClicksCreateTabs -bool true

Press return, and quit and reopen Safari. Now all links targeted for a new window will open in tabs instead. To change back to the normal settings, use the same command but with false at the end instead:

defaults write com.apple.Safari TargetedClicksCreateTabs -bool false

Don't forget there are loads of other tricks for Safari 3, such as enabling the web inspector and bookmarking all open tabs.

[via TUAW]

Tips for Safari 3

The Safari 3 public beta has been out for a while now, and will be included with Leopard when it comes out. If you haven't tried it out yet, you can download it for free from the Apple site. The following tips include things that will be useful to the average user as well as some more interesting tricks for more experienced users.

Merge Windows
Safari 3 now allows you to drag and drop tabs. You can drag a tab off the bar to create a new window or drag it onto an existing window to add it. You can also use this to rearrange the order of your tabs. If you have lots of open windows each with different numbers of tabs, there is an easier way to get them all into one instead of dragging and dropping. In the Window menu you will find the "Merge All Windows" command. This will instantly combine all your open windows into one tabbed window.

Enable Web Inspector
The Web Inspector allows you to easily see how the source code creates the web page. You can inspect various elements of the web page and view their style, metrics and properties. If you select an element in the inspector window, it will briefly be outlined in red on the web page.

Web Inspector

To enable the Web Inspector, open up Terminal (located in Applications/Utilities), type the following line and press return:

defaults write com.apple.Safari WebKitDeveloperExtras -bool true

Now quit and re-open Safari. Open a web page and right-click (Control-click) anywhere. You should see a new "Inspect Element" item in the list.

Pie Chart Loader
Normally Safari indicates how far a page has loaded using the address bar as a progress bar. The box gradually fills with colour from left to right. If you want, you can easily change this to the pie chart type indicator that is used in Mail. Again, open up Terminal (in Applications/Utilities), type the following command and press return:

defaults write com.apple.Safari DebugUsePieProgressIndicator -bool true

To switch back to the old progress bar, simply repeat the above command with false instead of true.

Bookmark all tabs
This new feature obsoletes the tip I wrote last month about bookmarking all tabs in Safari 2. Doing this is now much simpler - you just need togo to the Bookmarks menu. Here you should find an item that says something like "Add bookmark for these 4 tabs...". The default settings creates a bookmark called "Saved Tabs" in the bookmarks bar. This is actually a folder of your tabs, but it has been set to automatically open all the pages in tabs when clicked.
Bookmark All Tabs

Others
There are loads of other new features in Safari 3 that are well known or don't really require any explanation. For example, the find command now dims the page and highlights the words you searched for, web history now indexes the text content of the page for easier searching, you can reopen the last closed window or the windows from your last session and all text fields are resizable.

5 Tricks for the Activity and Downloads Windows in Safari

Both the Downloads and Activity windows are accessible from the Window menu in Safari. Most people are familiar with the Downloads window as it pops up whenever you click a link to download a file. On the other hand, the Activity window is not as well known even though it is just as useful. Both can be easily accessed using keyboard shortcuts: Command-Option-L for downloads and Command-Option-A for activity.

When you first open the Activity window, it will show a list containing the titles of every Safari window you have open. Clicking the disclosure triangle next to one of the names will expand it to list every item on the page. As well as the HTML files and scripts, this includes media such as images and movies that are on the page.

1. Investigate problems
One of the best uses of the Activity window is to check the cause of a problem. If you are browsing a page and it fails to load, or it is taking ages to open, try taking a look in the Activity window. Down the right hand side you will see the size of each item. If an item is still loading this will show you how much has loaded, and if there is a problem you will see "not found" or "timed out".

Activity Window Problem


2. View movies in their own window
Some services (such as YouTube) provide a full screen button, but often you may find yourself having to watch a tiny video embedded in a web page. To get the movie in its own window, use the Activity window. Click the disclosure triangle on the left of the page with your embedded movie in to expand the list of every element in the page.

If you are watching a Quicktime movie, the item you want is probably the biggest one in the list. It may also continue loading after the rest of the page has finished. Look for a file extension of .mov or .mpg. Once you find it, simply double-click on it to open it up in its own window.

If you are watching a flash video that doesn't have a full screen button, you will need to find the .swf file. This is not necessarily the largest file.

3. Download embedded media
When a movie or music file is embedded in a page, it is not always easy to download it. If there was a link to the file, you could just hold the Option key and click it, but what do you do if there isn't?

For Quicktime movies and MP3 files, this is easy. Open up the Activity Window and locate the file. it should be a relatively large file with something like a .mov, .mpg or .mp3 file extension. Once you have found it, simply hold Option and double-click on it. Alternatively, pressing Option-Return will download whatever item is selected in the list.

For flash videos, you will want the .flv file. It's not always obvious which file this is. It should be the largest file on the page, and may still be loading. For YouTube videos, it is called get_video and doesn't have the .flv extension. Double-clicking this file will start it downloading. If the file doesn't have the .flv extension, you will have to add it on after the download has finished. To watch these movies you will need either the Perian Quicktime plugin or a player such as VLC.

Youtibe Video File


4. Paste and drag into Downloads Window
A little known feature of the downloads window is that you can copy and paste an address into it. Say you want to download a movie that you have listed in the Activity window. Simply select it, choose copy (Command-C) and then click on the Downloads window. Now just choose paste (Command-V) and the movie will start downloading. This works with any kind of link or address. One of the best uses for this is if you have a long list of addresses. Simply select them all together and then copy and paste them into the Downloads window. All of the downloads will begin at the same time.

If copying and pasting isn't for you, you can either use the Option-click method, or you can simply drag things into the Downloads window. Drag links, selections, and even pictures onto the Downloads window to download them.

5. Bookmark all tabs
This is a nice trick to bookmark every page you have open at the same time. This is useful if you want to preserve all your open windows when you quit Safari so you can easily open them all up again next time you open Safari.

Start by opening up the Activity window. Collapse all the disclosure triangles so all you see is the titles of each page. Select all (Command-A) and copy the selection to the clipboard (Command-C). Now open up the Bookmarks window (Command-Option-B). Find where you want to keep these bookmarks and then paste (Command-V).

A good place to put them is in a folder on the Bookmarks Bar. Now, next time you open up Safari you can click on the folder in the bar and select "Open in Tabs" from the bottom of the menu. Alternatively, you can use the Auto-Tab method.

This trick is also great for reordering your tabs. Paste them into your bookmarks and them open them up again in the order that you want them.

Quickly Jump to Address Bar in Safari

Hey... Is there anyway to keep the URL address highlighted when I start Safari? It would be so much easier rather than having to always keep clicking the address bar when I want to switch sites as soon as I run Safari... Thank you so much!


When you start Safari or open a new Safari window, normally the address bar is highlighted. This means that you can start typing an address straight away. However, if you have Safari set to automatically display your home page when opening a new window, the address bar is not highlighted.

For example, if you have Google as your home page, when you load up Safari or open a new window the Google home page will load and the search box will be highlighted instead of the address bar. If you type an address and press enter, it will Google search the address rather than just going to it.

So how do you solve this? Well the obvious answer is to stop Safari loading up your home page in new windows. You can do this from the Preferences located in the Safari menu. Under the General tab, set the "New windows open with:" menu to Empty Page.



But what do you do if you want to keep the automatic loading of your home page, or if you want to quickly jump to the address bar when you are already viewing a web page? The answer lies with keyboard shortcuts. As you only use the keyboard when typing in a web address, you don't want to have to move your hands to the mouse and click on the address bar before typing. Instead of doing this, simply hit Command-L before typing the address. You will notice that the address bar automatically highlights, ready for you to type away. The command is actually located in the File menu, as "Open Location..." and conveniently the same keyboard shortcut works in Firefox.

If you don't have any Safari windows open, Command-L will open up an empty window and highlight the address bar. This is similar to the function of Command-N for a new window, but Command-L has the added benefit of opening an empty window, even if you have Safari set to automatically open your home page.

Seven Simple Safari Shortcuts

We all want to go faster. Especially when it comes to web browsing. If only there was this one feature or shortcut that could make our lives so much easier, make us work so much faster. Well, sadly there is no one simple way to do it, even with Safari. However, here's a list of lesser known features, the hidden shortcuts and the secret workarounds that will help you surf smarter and more efficiently, and get things done much more quickly.

1. Use Tabs

This feature is arguably one of Safari's most useful, but, surprisingly, it isn't turned on by default. Tabbed browsing allows you to cut clutter by opening multiple web pages in one window. A tabs bar appears below your bookmarks bar, allowing you to switch between different web pages in the same window. To enable this, Go to Safari --> Preferences, and click on Tabs. Then choose "Enable Tabbed Browsing." Now Safari has a whole world of new abilities. Command-Clicking a link or bookmark will open it in a new tab. You can use your keyboard to quickly cycle between tabs. Even dragging links onto a tab or the tab bar will open it in a different tab. Command-W will just close the tab you are on, and Command-Option-W will close all tabs but the one you are on.

2. Visit www.pimpmysafari.com/

This site has all the great plug-ins, bookmarklets and applescripts that allow you to enhance Safari. It promotes three plug-ins as the essentials: Saft, Pithhelmet and SafariStand, saying "If you only install three, make it these". Note that although much of the stuff on Pimp my Safari is free, some is shareware, which means you will have to pay to access all the features.

3. Use Snapback

The Snapback button is not very well known, but is extremely powerful. Imagine you are at a page you really like, but then you stumble off, browsing the web. Snapback allows you to instantly jump back to your original page. It works in three ways:
Firstly, when doing a google search, the results page is set as the snapback page. You can click a link in the results, navigate though a few more pages, and then hit the Snapback button to return to the search results. The snapback button for google searches is located in the google search field in the top right of each window.
Secondly, when you type a URL into the address bar, choose a bookmark or click an item in your history, it will be set as the snapback page. The snapback button to jump to this page is located at the far right of the address bar.
Finally, you can override the automatic snapback setting, and press Command-Option-K to set a page for snapback. This can also be accessed through the History menu, choosing "Mark Page for SnapBack."
Note that Snapback is a temporary thing. The page assigned for trackback will only last until you do one of the above things.

4. Autofill Passwords

Safari's autofill feature can do anything from remembering passwords to automatically filling your your name and address from your Address Book Entry. To make Safari automatically remember a password for you, enter it yourself, and click "yes" when safari offers to remember it for you. If you have already selected "Never for this Web Site" in the past, check out this tip for if you have changed your mind. You can manage all of your passwords in Keychain Access (Applications/Utilities). The way keychain access works is that all of your passwords are accessible by using just one password, by default, your login password. As a result, most web site passwords will just appear automatically on a web page, as the "login" keychain is unlocked when you log into Mac OS X. Use the search field to find the web site you want the password for, and double click its entry. Under Attributes, click show password, when you will be prompted for your login password.

5. Combine RSS feeds

I never really understood the point of RSS feeds in Safari until I watched this video on the Apple site. It's a great introduction for how to set up and use the RSS features of safari, and shows you why you would want to do so. The main thing I learnt was technique of making a folder of RSS feeds from related news sites (for example, all the mac tips sites I visit regularly) and setting it to Auto-tab. Then, when you click on the folder, Safari will combine all the RSS feeds and give you a list of the latest news from all the sites in the folder. Also check out this link for tips on making an RSS screen saver.

6. Make web Receipts

The PDF Services button in the Print dialog can be used throughout Mac OS X, but it is especially useful in Safari. This is because of the shortcut to the web receipts folder. You know those important pages, like your bank statement and the receipt from buying something online, that recommend you to print the page. Well Web receipts is an easier alternative. Press Command-P as if you were going to print the page, but then click on PDF and select "Save to Web Receipts Folder..." This will create a PDF of the page in Documents/Web Receipts, a handy place to store all your important information should you need it. Also, Branin Johnson sent in this tip regarding Web Receipts with the same name getting overwritten.

7. Use pop-up blocker

A really obvious one, and a popular one. With the pop-up blocker enabled (Go to the Safari menu, and select "Block Pop-up windows") you can almost forget that pop-ups exist. However be wary that although most pop-ups are annoying adverts, some contain useful information. If you come across a web site that doesn't seem to be working properly, or you think you might be missing some information, temporarily turn of the pop-up blocker and check to see there isn't a useful pop-up window.

And there you have it, an entire article written for the sake of an alliterative title. Hope it is of some help. Feel free to post any of your own tips.