Once you start using Leopard's data detectors in Apple Mail to add events to iCal and contacts to Address Book, it's natural to start craving data detectors in other apps.
Until Apple adds them to Safari, an easy workaround is to use Safari's Mail Contents of This Page (Command-I) menu item to send a web page to Mail. The data detectors don't work in an editing window, so just save and close the new message window. Select the message in your Drafts folder, and then start hovering over the contents in the lower pane of the Message Viewer.
A lot of people haved reported a problem with Firefox on Leopard, where Firefox was no longer displaying Cyrillic characters on buttons, in form input fields, tabs, and page titles. Instead, question marks appeared everywhere.
Here is a temporary fix ... quit Firefox, go to you Applications folder (or wherever you keep Firefox), Control-Click on the Firefox icon and choose Show Package Contents from the pop-up menu. Go into Contents » Resources, and rename en.lproj to ru.lproj. Start Firefox, and everything should work like it did before Leopard.
Note: There is, however, one small side effect: Your main Firefox menu will appear in Russian, instead of English. All other menus and preference panes will still appear in English.
This fix will probably have to be re-applied after each Firefox update, if they don't fix this problem upstream.
It seems that OS X 10.5 has some really smart copy/paste going on between Safari and Mail. Today I copied the track listing from an album page in Amazon which had a ton of code around it to download the tracks, play previews etc...
When I pasted it in to mail, I expected to just get the text, which I would need to strip stuff out to look readable. Much to my surprise, the whole table from the web page pasted in with full functionality in Mail, and even gave me a Dashboard-like X in a circle in the upper left corner of the paste area to make it easy for me to delete.
When my brother received my message, he was able to preview the tracks in the preview pane of the message. He also informed me that some "
I don't know if you could do this in previous versions of Mac OS X, but it certainly works in Leopard (10.5) with Safari 3. If you're on a site that has a File Upload or Choose File button -- one that opens up a file browser to select a file -- you can simply drag a file from the Finder to the side of the button, and it will automatically be used as if you had navigated to it with the file browser and selected it.
This can save quite a lot of time if you have your files on your Desktop or the Finder window open in front of you.
[robg adds: This works in Safari 3 in 10.4, too. Note that this is not the old 'drag to open nav window' trick; just drag to the general area of the button, basically.]
A Vista-esque feature of OS X 10.5 is that it tags web downloads (not just those from Safari) as such, and then warns you about running downloaded apps. Archived (e.g. zipped) files inherit the tags from their tagged container. This is an annoyance to power users, but, being a power user, I can do something about it. ;)
Save the following script (original source) in ~/Library/Scripts/Folder Action Scripts. You'll probably need to create the Scripts directory and its subdirectory, e.g. with mkdir -p ~/Library/Scripts/Folder Action Scripts:
"Unquarantine" by Henrik Nyh <http://henrik.nyh.se/2007/10/lift-the-leopard-download-quarantine>
This Folder Action handler is triggered whenever items are added to the attached folder.
It gets rid of Leopard's annoying "this application was downloaded from the Internet" warnings by stripping the "quarantine" property.
on adding folder items to thisFolder after receiving addedItems
repeat with anItem in addedItems
set anItem's contents to (quoted form of POSIX path of (anItem as alias))
set AppleScript's text item delimiters to " "
do shell script "xattr -d com.apple.quarantine " & (addedItems as text)
end adding folder items to
Now navigate to ~/Downloads, or wherever your downloads go. Control-click on the folder in question, then select More » Configure Folder Actions. Check Enable Folder Actions, then Attach the Unquarantine script you saved earlier0 to the folder. And that should be it.
Note that, quite obviously, the folder action only applies to that folder. If you download a file to a directory without this folder action attached, Leopard is free to nag again. (You can read the original version of this post on my blog.)
In Safari in 10.5, I created a "web clip" for the YouTube "videos being watched right now" area -- just press the Web Clip toolbar button, move the highlight area over this section of the screen, and press Add.
What's really neat about this particular web clip is that if I you click on a video in the Dashboard widget, it plays directly in the web clip itself! Basically, you can view a YouTube video without leaving the Dashboard. Normally, these links open in a regular Safari window (or your default browser). I created a short YouTube demonstration of this feature in action.
Do you dislike the confirmation dialog that appears whenever you select Private Browsing from Safari's main menu? Here's how to get rid of it, and enable/disable private browsing via a keyboard shortcut:
In the Keyboard Shortcuts section of the Keyboard and Mouse panel of System Preferences, press the + button to add a new keyboard shortcut.
For the application, choose Safari, and for the menu shortcut, type Private Browsing -- notice you are not typing this with the ellipsis (...) as it appears in Safari's menu.
Choose the shortcut you would like to use to activate private browsing. Press Add.
Quit and relaunch Safari if it's running.
Now when you use this shortcut, it will activate private browsing without the annoying pop-up confirmation. Also, there will now be two Private Browsing entries in the Safari menu: the one without the "..." at the end (and which shows your keyboard shortcut) won't trigger the popup. Enjoy!
[robg adds:This does not work in the 10.4 version of Safari 3. I'm not sure if it's a bug or a feature, but it's pretty useful. Ignore this; error in testing!]
The web inspector that came with the Safari 3 Beta in Tiger has been given a total overhaul in Leopard. The inspector now does so much more:
The currently selected element in the Inspector is highlighted continuously on the web page unlike the simple red outline that would appear for a few seconds in the Beta inspector.
All images, scripts and external resources used by the page are grouped and listed on the left.
Implicit and explicit CSS styles, metrics and JS properties are provided on the right of the inspector.
The console is included in the bottom left of the window and shows JS errors etc. Before, the console was only accessible through the hidden Debug menu.
The Network functionality, just below Console, will prove to be very useful! This section provides detailed loading times and and resource sizes to help you streamline your web application!
And the inspector can nestle nicely in the bottom of your current browser window -- just click the small icon that's second from the left at the bottom of the inspector window to toggle this mode.
Now I can use Safari for all my development rather than pining for Firebug in Firefox!
[robg adds: I believe the only way to use the inspector is to first enable the Debug menu. Once you've done that, you can then use Debug » Show Web Inspector to view the inspector. You'll also get a new Inspect Element contextual menu entry, which is another way to activate the inspector.]
In Safari 3, you can now Command-click on a bookmark inside a folder on the bookmarks bar to open it in a new tab. In the old version, you could only do this for bookmarks at the top level of the bookmarks bar, not inside folders. If you Command-click on the folder at the top level in the bookmarks bar, it performs an Open in Tabs operation.
After checking further, it now works for any bookmarks, even in the main bookmarks menu. I'm not sure if you get this behaviour in the Safari 3 beta or just in Leopard.
[robg adds: I tested this in 10.4, and I believe it works there as well as in 10.5.]
If you're a Firefox user, you probably know about its Downloads window (press Command-J to open it). But did you know that if you select one of your downloads in the window and press command-I, you can see where the file was downloaded from and where on your system it was downloaded to?
Pretty simple, but useful.
[robg adds: I had no idea this functionality was there, and there aren't any visible Command-I keyboard shortcuts in Firefox's menus with the Downloads window frontmost.]