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.]
How does it work? Well, when you click on a link or request a page in Safari, the Safari status bar will always display the text Contacting... and subsequently Loading.... However, it seems not everyone knows how to access that text within AppleScript. So, here's how I did it:
--check if page has loaded
tell application "System Events" to ¬
tell application process "Safari"
if (name of static text 1 of group 1 of window 1 as text) ¬
begins with "Contacting" or (name of static text 1 of group 1 ¬
of window 1 as text) begins with "Loading" then
That code will basically run until the page is done loading in Safari -- hooray for infinite loops! You can make it into a subroutine, if you'd like. I'm sure there are other ways to use the status bar information, too.
Haven't seen this anywhere, so in case you haven't noticed: Safari 3 Public Beta has a quick way to purge those pesky website icons or "favicons" that show up in the address bar. Just select Reset Safari. . . and a nice dialog box pops up with check boxes giving you the ability to not only clear your favicons, but your cache, Google searches, cookies, and more.
In other words, you can now choose to only reset certain elements of Safari, not the entire thing. This enables you to quickly clear only your cookies and cache, for instance, but not loose your bookmarks and saved passwords. The also is a much faster way to clear you favicons than the old method of navigating to your Library » Safari » Icons folder and deleting the icons.db.
[robg adds: I hadn't even thought to look at Reset in the beta; this is a much nicer option than the current 2.x version's "reset everything" approach.]
I have experienced this problem several times in the past few years, both on a G4 PowerBook and Intel iMac. For no reason, Safari will stop updating my RSS feed counts in the Bookmarks bar. RSS still functions and will update whenever a particular feed is selected, but the parenthetical numbers for each feed or folder do not change.
The fix is simple and doesn't hurt any of your RSS subscriptions. Just quit Safari, remove the Database3 file located in ~/Library » Syndication, and then launch Safari again. I move mine to the Desktop and trash it only after I've successfully restarted Safari and confirmed the problem is fixed. Safari will create a new file in its place.
Easy enough, but I've never seen it anywhere else online, and have forgotten it myself a few times.
If you type the name of a website in Firefox, i.e. apple.com, then hit Option-Return instead of Return, it will open up apple.com in a brand new tab. You must have tabs activated for this to work.
[robg adds: I thought we had mentioned this before, but I can only find this hint regarding Safari. You can also do this in Camino via Command-Return (the same shortcut as Safari). In Safari and Camino, the new tabs open in the background, leaving you on the current tab. In Firefox, regardless of the settings on the Tabs page of its preferences, new tabs created in this manner jump to the foreground (using Firefox 22.214.171.124 on my machine).]
I don't know how many people are suffering this, but whenever I add an RSS bookmark to my Safari 3.0 bookmark bar, it never updates with the number of new RSS articles against the name. Yet if I look at the bookmark in the bookmark manager, it happily shows the number of new articles, as seen in this screenshot.
I found that if you create a folder in your bookmark bar, then add your RSS feeds to that folder, it actually works as expected. The number of new articles appear as you would expect next to the site name within the folder, as seen in this image.
[robg adds: I think this is probably expected behavior, as adding the article count to bookmarks directly in the URL bar would cause the entries to change position as the message counts changed for each bookmarked RSS feed.]
I've seen other ways to go about this, but here's a nice and clean way to switch from Safari to Firefox on a misbehaving page. First, make sure you have the Safari debug menu enabled.
On the Debug menu in Safari, the Open Page With menu item will list your installed browsers; assuming you have Firefox installed, you'll see an entry for Open Page With » Firefox.app. Now quit Safari, and go to the Keyboard & Mouse System Preferences panel, click on the Keyboard Shortcuts tab, and create a new keyboard shortcut. Choose Safari as the application and enter Firefox.app as the menu title. I chose Command-Option-R as my shortcut, but feel free to choose whatever you think logical. Relaunch Safari and try your new shortcut. Note the same trick works with any browser in the Open Page With sub-menu.
[robg adds: On my machine, Firefox was listed without the .app extension, so that's what I used for the new keyboard shortcut. Just match what you see in the menu on the shortcut panel and it should work fine. Note that if you have Saft installed, you'll have to remove it to add new shortcuts -- at least I had to. With Saft installed and active, newly assigned shortcuts didn't show in the Debug menu. They did appear when I launched Safari after removing Saft, though.]
One maddening feature of iPhoto '08 and Web Galleries is that (please correct me if I'm wrong) if you subscribe to a gallery using the button at the top of the gallery, and you are in Safari and have iPhoto installed, the subscription assumes that you want to subscribe to the feed as a photocast in iPhoto -- it doesn't bring it up as a regular Safari RSS feed.
I keep my friend's Flickr photostreams as RSS feeds that are bookmarked, and Safari is great for viewing and seeing if there are new entries. It seems that the only method I have found for achieving a "plain old RSS" feed from the new web galleries in Safari is to open the gallery in Firefox and subscribe there. When Firefox asks for what reader to use for the RSS, select Safari in the pull down (or select Choose Application and navigate to Safari) and voila -- the feed will show up in Safai. From there, you can bookmark it however you like.
Maddening ... does anyone know how to stop Safari and iPhoto from working this way and just let me have the RSS in Safari instead of iPhoto?
[robg adds: In looking at the URL for a gallery, and the URL for the RSS feed that you see in Camino or Firefox, it looks like a pretty simple substitution to get the RSS URL. For instance, here's a fake gallery URL:
Within Safari, you could just edit the URL for the gallery to match the above, and then load that page. Safari will then display it in its built-in RSS reader (assuming that's what you've set as your RSS reader in its preferences). I'm not sure what URL they're using for the Subscribe button, but it's definitely not the RSS URL.]
Since installing Safari 3.0, I've found the confirmation boxes for unsubmitted forms to be quite annoying. Now that Web 2.0 is so popular and so many sites send content via AJAX, having unsubmitted forms is not uncommon, and these confirmations are just a pain. The fix? After digging around with...