Drag and drop onto "Choose File" buttons in Safari
Simply drag your file from the Finder, hold it over the button and then let go.

Enable Single Window Mode in Safari
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.

defaults write com.apple.Safari TargetedClicksCreateTabs -bool truePress 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 falseDon't forget there are loads of other tricks for Safari 3, such as enabling the web inspector and bookmarking all open tabs.
[via TUAW]
Disable Tooltips in Safari and Firefox
Most of the time you can solve this by hitting return or enter. The tooltip should disappear. If you want to completely disable them, it is a little bit trickier. Annoyingly, tooltips are applications specific, so you have to enable/disable them in every application. Some applications have a preference to do this. Frustratingly, many do not.

defaults write com.apple.Safari WebKitShowsURLsInToolTips 0Then press enter. You will need to quit and reload Safari for changes to take effect. Repeat with a 1 at the end instead of a 0 to reverse this. Note that tooltips are disabled by default in Safari 3. You can use this to enable them.
If you want to disable tooltips in Firefox, start by typing
about:config into the address bar. In the list that appears, find browser.chrome.toolbar_tips. An easy way to find it is to start typing browser.chro into the filter box. Once you have found the item, double-click on it to change it from true to false. Now when you are browsing, tooltips should be disabled. Simply double-click again to change things back.Tips for Safari 3

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.

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 trueNow 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 trueTo 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.

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
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".

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.

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!
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.
As a bonus tip, hit Command-Option-F to quickly jump to the Google search box in the top right.
Address Book Tips
Add Contacts to your Safari Bookmarks

Chat to your Contacts
Address Book integrates quite well into iChat, the Mac OS X instant messenger. If a person in your Address Book is online and using iChat, a little green dot will appear next to their picture. Clicking on the dot will open up iChat, where you can start a new conversation with the person.
Put your Contacts in the Spotlight
In Address Book, select which contact you want to search, and from the Action Menu (looks like a cog, located in the top left) choose "Spotlight [name]". The spotlight window will pop up, and show documents, photos, iCal events, mail messages and iChats related to this person. This is one of my favourite features of Spotlight - it allows you to use it as a personal organiser and links together Address Book, iCal, Mail and iChat.

If you don't have Address Book open, you don't need to bother opening it up to Spotlight search someone. Simply type their name into Spotlight for the same results.
Moreover, Spotlight remembers files that people have sent you. When searching for one of your contacts, Spotlight will list any files they sent as attachments to you, providing you received them in Mail.
Highlight Groups
If you hold down the Option key while you are viewing a contact, all the groups that they are in are highlighted in a lovely yellow.
Get Directions
You can easily get a map of a person's address using Address Book. Just click on their address and choose "Map Of" from the menu that appears. This will load up Safari (or your default browser) with a MapQuest map which allows you to get directions to and from the address. If you prefer to use Google Maps or Google Earth to view a map (or satellite image) of a person's address, there is a Google Maps Plugin available.
Merge two contacts
If somehow you end up with two entries in your address book for the same person, you can easily merge the two. Select the two entries by clicking on one in the list and then Command-clicking on the other. Now click on the Card menu and choose "Merge Selected Cards". If you have a huge contact list and you suspect some duplicate entries, you can also choose "Look for Duplicate entries" from the Card menu.

Large Type
If you want to read a person's phone number off the screen while dialling it across the room, you can make it display in large numbers across the screen. To do this, click on the number and choose "Large Type" from the pop-up menu.
Address Book Sharing
If you want to share your address book (for example with your family or secretary) you can do so providing you have a .Mac account. Open up Address Book and go to the Preferences (in the Address Book Menu). Click on the Sharing tab and check the box titled "Share your Address Book". Now click the plus icon to add people from your address book who have a .Mac account. People will only be allowed to view your address book, but if you select the "Allow Editing" option they will be able to make changes too.
Using vCards
In reality, most people don't have .Mac, so the standard way to share contacts is using vCards. A vCard is a file containing a contact's information that you can attach to an email and send to whoever you want. Luckily, vCards work really well with Address Book.
To create a vCard for a specific contact, select them from the list and right-click (Control-click) on their name. From the pop-up menu choose "Export vCard...".
To create a vCard that contains the information for all the people in a certain group, select the group you want from the list, right-click on it and choose "Export Group vCard...".
If you receive a vCard from someone else as an email attachment, you can add it to your address book in a couple of ways. If you received it in Mac OS X's Mail application, simply drag it from the email message across to Address Book. If not, save it to your Hard Drive and then choose Import vCards (Command-O) from the File Menu in Address Book.
Make Your Own Card

Restrict Private Information
If you don't want to share all of your contact information with everyone you send your vCard to, you can choose to keep certain parts private. Go to the Address Book Preferences and check "Enable Private Me Card". Now when you edit your own card, you can use the check boxes to choose which information is exported as your vCard.
Printing Envelopes
You can print an envelope addressed to a contact by choosing Print from the File menu with the chosen person selected. In the print dialog choose Envelopes from the Style pop-up menu. As an interesting quirk, Address Book will address the envelope to everyone in the household if you have specified a spouse or child in the person's entry. For more information, check in this Mac OS X Hints page.
Drag Chunks of Text onto Dock Icons
Doing this with different applications will produce different results. If the application will accept the text, it will darken when you hold the selection over it. Note that some applications will only accept the text if it is in a certain format (a web address for example). Here are the results with a few common applications. If you know of any more, add them in the comments.
1. Safari - If you drop a web address (i.e. something that starts with http://) on Safari, it will load up that address. If you drag any other bit of text, it will perform a Google Search on it. This is mainly useful if the text is from a non-cocoa app that doesn't have the "Search in Google" item in the right-click context menu.
2. Firefox - If dropped text is a web address, Firefox will load it. This is helpful if you want to view a site in a browser other than your default browser.
3. Mail - A new message will load up with the dropped text as the main message body. Annoyingly the text is placed in the body even if it is an email address.
4. TextEdit - As expected, this loads a new document containing the dropped text.
5. Skype - If the dropped text is a phone number, Skype will call it. This will also work with nicknames in your contact list.
6. Script Editor - A new script window will open up containing the dropped text. Script Editor will then attempt to compile it.
7. iTunes - If you drop a podcast address onto iTunes, it will subscribe to it. If the address isn't a podcast, iTunes will attempt to do it anyway (and fail).
8. Acquisition - Starts a new search with the dropped text.
9. Newsfire - Adds a new feed with the text as the address. (Why not try it out with http://feeds.feedburner.com/macosxtipsfeed )
10. Stickies - This will make a new Stickies note containing the text open up.
11. Dictionary - This will show you the definition of the dropped word. If you drop a selection of words, Dictionary will display the definition of the first. (In cocoa apps, it's probably quicker to use this keyboard shortcut).
Most of these also work if you drag the text to the desktop to create a text clipping first, and then drag it to the Dock icon.
Top 15 Terminal Commands for Hidden Mac OS X Settings
You'll find the Terminal in the Utilities folder within the Applications folder. To carry out any of the following commands you will need to copy/paste or type in the line of text then hit enter. For the most part, applications will need restarting before changes take place. For most applications you can just quit and open them again, and for the Finder you can use the Force Quit dialog, just log out and log in again or type "killall Finder" into the terminal after the command.
Feel free to add any of your favourites in the comments.
1.
defaults write com.apple.Dock showhidden -bool YESMakes hidden applications' dock icons translucent. NO to reverse.
![]()
2. defaults write com.apple.iTunes invertStoreLinks -bool YES
Normally the arrows next to artists and albums in your iTunes library search the iTunes store when you click them. This command changes them so that clicking will search your iTunes library instead. Put NO at the end to reverse.
3.
defaults write com.apple.dashboard devmode YESThis allows you to drag widgets out of Dashboard onto the desktop. Requires the dock to be relaunched to take effect, so type "killall Dock" and press enter. Now, if you click and hold onto a widget in the dashboard and press F12 to return to the desktop, the widget won't disappear with the rest. Put NO at the end to reverse.

4. defaults write com.apple.mail PreferPlainText -bool TRUE
Forces all mail to be displayed as plain text. Replace TRUE with FALSE to reverse.
5. defaults write -g NSNavPanelExpandedStateForSaveMode -bool TRUE
Sets expanded save dialogs as default (showing column/list view of folders rather than a drop down menu). Replace TRUE with FALSE to reverse.
6. /System/Library/Frameworks/ScreenSaver.framework/Resources/ ScreenSaverEngine.app/Contents/MacOS/ScreenSaverEngine -background
Displays the currently chosen screen saver to be shown as the desktop background. Press Control-C or Command-. to stop. More details here.
7. defaults write /Library/Preferences/com.apple.loginwindow AdminHostInfo SystemVersion
Displays useful system stats in the login window. More details here. Replace "SystemVersion" with one of the following for different stats:SystemBuild SerialNumber IPAddress DSStatus TimeHostName
8. sudo defaults write /Library/Preferences/com.apple.loginwindow HiddenUsersList -array-add shortname1 shortname2 shortname3
To remove accounts from the login window type this command with the short name of each account you wish to remove. More details here.
9. com.apple.frameworks.diskimages skip-verify TRUE
Skip disk image verification. Potentially risky, use with disk images from trusted sources. Replace TRUE with FALSE to reverse.
10. defaults write "Apple Global Domain" AppleScrollBarVariant DoubleBothPuts double scroll arrows at both ends of scroll bar. Use Appearance pane in system preferences to reset.
![]()
11. defaults write com.apple.CrashReporter DialogType none
Disables the unexpectedly quit dialog that normally appears when an application crashes. Replace "none" with "prompt" to enable again.
12.
defaults write com.apple.Safari WebKitHistoryItemLimit 2000 and/ordefaults write com.apple.Safari WebKitHistoryAgeInDaysLimit 30Sets the history limit in Safari to a certain number of items and and/or a certain age.
13.
defaults write com.apple.finder AppleShowAllFiles TRUEShows hidden files in the finder. Replace TRUE with FALSE to hide hidden files again
14.
defaults write com.apple.safari IncludeDebugMenu 1Enables the debug menu in Safari. Type again but with 0 instead of 1 at the end to disable.
15.
defaults write com.apple.dashboard mcx-disabled -boolean YESDeactivates Dashboard. Requires the dock to be relaunched to take effect, so type "killall Dock" and press enter. Replace YES with NO to enable again.
Seven Simple Safari Shortcuts
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.
Tags: mac, tips, mac os x, hints, mac tips, safari, snapback, tabs, bookmarks
Browsing a Site with the Title Bar
You could always click the back button over and over again, but this is a fairly laborious method. Clicking and holding the back button will give you a list of all thepages you have been too, but only by title.
If you Command-Click on the title of the page in the title bar of the Safari window, a list will pop up with all the pages above your current location in the file hierarchy. If, for example, you are on http://www.apple.com/macosx/tips/spotlight.html, Command-Clicking on the title bar will display:
http://www.apple.com/macosx/tips/spotlight.html
http://www.apple.com/macosx/tips/
http://www.apple.com/macosx/
http://www.apple.com/
This gives you a quick way to navigate back to a main page of a site.
RSS Feeds in Safari
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.
There is also additional help on highlighting new articles and sorting articles.
Drag and Drop Bookmarks
This is a much quicker way to fill your bookmark folders than using the Bookmarks menu, and also has a few other useful features. For example you can drag a URL into an unused place in the tab bar, it will open it in a new tab. If you drag a URL onto an already open tab, it will load the page in that tab.
URLs can be dragged from your files, links in web pages and from the location bar at the top of every safari window.
If you want to file your bookmarks away somewhere that isn't in the bookmarks bar, a quick way to do it is to click the bookmarks icon at the far left of the bookmarks bar (or press Command-Option-B) while you are viewing the page you wish to save. Then, when the bookmarks page is open, the URL will stay in the location bar at the top. You are now able to drag and drop that into any folder you wish.
Undo Preventing Safari Autofill
Once it has been clicked, Safari refuses to remember any passwords for that website, which can get to be a lot of hassle, especially if you visit the site daily. Luckily there is an easy fix for this, which lies in Keychain Access.
Firstly, open up Keychain Access (Applications/Utilities) and look for the site address in the "login" keychain. In the list you will see an entry that looks something like this:
www.examplesite.com (Passwords not saved)
Just delete that item from the login keychain, and then restart Safari. The next time you enter your unsername and password on that site, Safari will prompt you to save it.
Cycle Between Tabs
In Safari and Firefox this is a piece of cake. Pressing Command-Shift-Left Arrow (or Right Arrow) in Safari will cycle through all your open tabs.
In Firefox its Command-1 through to Command-9, for the first nine tabs at least. Confusingly these are the same shortcuts Safari uses for the first nine bookmarks. If you have more than nine tabs open, Control-Page Up and Control-Page Down Will let you scroll through them.
Email Bookmarklet
A bookmarklet is a small piece of Javascript that you can save as a bookmark and reuse. For the email page bookmarklet, enter the following into the address bar in Safari:
Now drag the globe icon at the start of the URL to the bookmarks bar, and name the bookmarklet "Mail this page" or something similar. When you click it, your email client will open with a new message containing the web address and the title of the web page. Now all you need to do is choose who to send it to.javascript:location.href='mailto:?SUBJECT='+document.title+'&BODY='+escape(location.href)
Auto-Tab Bookmarks
Launch Safari and make sure tabbed browsing is enabled. (In the Tabs section of Safari preferences make sure Enable Tabbed browsing in clicked)
Click on the bookmarks button and create a new folder, giving it a descriptive name. Copy/Move all your favourite bookmarks into it, and drag it to the bookmarks bar.
Then enable the "Auto-Click" option next to the folder. Now a small square will appear next to your bookmark folder instead of a downward arrow, and when you click it, each site will open in a separate tab.



