Saving a web page as a PDF in Safari is a pain. Unless the page is really small, you're going to end up with multi-page PDFs, and they're even going to be scaled down to match the width of your paper size. Without getting into the why, here is how to take a single-page PDF snapshot of a web page:
Set up a really freaking big custom paper size:
Hit Cmd-Shift-P to bring up the Page Setup panel.
Select Custom Paper Size from the Settings drop-down menu.
Create a new paper size with obscenely large dimensions (something on the scale of 99"x99").
Select Page Attributes from the Settings drop-down menu.
Select your new paper size from the Paper Size drop-down menu.
Save your web page as a PDF:
Hit Cmd-P to bring up the Print panel.
Click the Save as PDF... button.
Specify a n/s/l for the file and click Save.
Crop the image:
Open the resulting PDF in Preview.
Click the Select Tool icon in the toolbar (or the Crop Tool icon if it is there and save yourself some keystrokes).
Select only the part of the PDF that you want to save.
Hit Cmd-K to Crop the image.
Hit Cmd-S to Save the image.
And you're done!
[robg adds: A couple other things to consider. One, if you do a lot of this stuff, get SnapWeb. It's $15.00 (or $30.00 for commercial use), but it uses Safari's rendering engine and makes it simple to save a web snapshot without any page breaks. Second, when I was testing this, I had troubles if I increased the page width -- sites that have infinite-width tables would render on the printed output as super wide. Instead, I just changed the page length and left the width alone.]
There are times that Mozilla can be slow. This is especially true when you have many windows open and a certain number of them have animated GIFs. At times like this, you can look at the CPU Mozilla is using to find it at 50 to 60%. To reduce CPU usage, you can either have animated GIFs animate once, or not at all.
To do this, open the Preferences window and then go to Privacy & Security -> Images, then in the bottom section, there is a place to configure how many times a GIF should loop. Choose either 'once' or 'none.' Looking at Mozilla's CPU usage afterwards, you should see it drop back down to something a little more acceptable.
New with Panther (or possibly a Safari update) is the ability to drag images from the browser right into an email to be sent. No temporary file on the Desktop. Of course you can drag images straight into other apps (Word, etc.), but Mail is where it really adds to my user experience.
Previously you had to drag to the desktop, then to the email, then remember to delete the temporary image file after the mail had been sent.
Safari 1.1 v100 (the one that comes with Panther) now allows one to add a bookmark directly to the bookmarks menu, instead of always asking where to put it. One can perform this instant addition by either holding shift while selecting the "Add Bookmark..." menu item, or by using the keyboard shortcut Command-Shift-D.
I never liked that you can't set Safari to always ask you where to save downloads. With Folder Actions, there is a short fix though. I just attach this script to the folder where Safari downloads. Once the download finishes, I get prompted to move it where I want it.
(* Promts where to move a file just added to a folder
Note: Only moves the first file if more than
one file if more than one file has been added.*)
on adding folder items to this_folder after receiving these_items
(* Assume it's only working with one item right now. *)
set the_file_info to info for item 1 of these_items
set the_folder to choose folder with prompt ¬
("Move " & name of the_file_info & " to:")
tell application "Finder"
(* Move the files *)
move file (item 1 of these_items) to folder the_folder
end adding folder items to
[robg adds: I think this should work in 10.2 as well as 10.3, but I have not tested it yet.]
Often, it's nice to get some genuine shortcuts in the Mac OS -- the kind that save you time (Option key usually duplicates, etc.). The keyboard modifiers the OS designers implemented indeed work well with Safari. As some power users know, Command-clicking on a link opens that link in a new tab, behind the current tabbed window, if tabbed browsing is enabled. There are also equivalent shortcuts for:
opening in a new window (Option-Command-click) behind the current window
opening the window front (Option-Command-Shift-click)
downloading an item (Option-click)
But did you know you can also implement these shortcuts in the address bar (Command-L to get there quickly)? Enter your URL and hold down those very same key combinations and press Return -- and they'll work as described above. Amazing!
These are just a few subtle gems Apple engineers have come with to help us with our day-to-day tasks, and why the Mac OS is always ain elegant pleasure to work with. Enjoy!
In Mozilla and variants, and many other browsers, you can set Cookies to expire at the end of the session. This means that Cookies will be kept for your use, until you close your browser and they are then wiped out. I like that so that I have the benefits of Cookies but not the "long term tracking ability" that Cookies provide some less than above-board sites -- call me paranoid.
Well Safari has no preference to delete Cookies at any specified interval or when closing the browser. It IS easy enough in the preferences to delete them, but you still have to do it manually. However, Safari in its default configuration will store Cookies in the Cookies.plist file, which should be in the ~/Library -> Cookies folder. First remove all your cookies in Safari via the preferences, then do a Get Info on the Cookies.plist file and set it to Locked.
If you have successfully locked the file, in Panther at least, there will be a small locked padlock on the file icon. BINGO! Now Cookies will not be persisted to disk, only stored in memory during Safari's lifetime. You close Safari, Cookies go away!
Make sure that BEFORE you do this you go into Safari's preferences and remove all the cookies.