Did you make the same mistake I did, and update to Safari 4 when it was offered as a Software Update, then found some things didn't work any more, or you just plain don't like Safari 4? If so, here's how to revert back to Safari 3.2.3 on Mac OS X Leopard.
- Remove your existing Safari installation. Drag
/Applications/Safari.app to the Trash, and rename the
~/Library/Safari folder (where ~ is your home folder, e.g. /Users/your-username) to something else (you're essentially making a backup here). It is important that you empty the Trash after doing this, as I found my 'new' Safari copied itself to my Trash folder.
~/Library/Preferences/com.apple.Safari.RSS.plist (if you have it - I didn't, but then I wasn't subscribed to any feeds) to something else (backups again - these files contain your bookmarks and RSS feeds so if you don't want to lose them, don't skip this step)
/System/Library/Frameworks/WebKit.framework/Resources/Info.plist and replace all instances of the number 5530 with 5525. Please note: you may need to modify the file's permissions in order to be able to edit it. This can be done by right-clicking it, selecting Get Info, and modifying the permissions at the bottom - you need to give your username read and write access.
- Download Safari 3.2.3 and install it (you will be asked to reboot afterwards)
- Hey presto, you have Safari 3 again! Replace the files from step 2 (you may need to remove the new files created by Safari 3). Some people have said this doesn't seem to work for them, and if it doesn't for you or screws up your Safari, you might need to open the files and add your bookmarks back in manually... It seems there might be an inconsistency in the XML but I haven't looked into it in too much detail.
There you go, just thought I would share :P
Instructions for Tiger (Mac OS X 10.4)
Edit: I have been asked for instructions for Mac OS X 10.4 (Tiger) - unfortunately, I don't have access to that version, but I'm told the instructions do work, except that the following modifications are to be made:
- In step 3, you will need to replace the number 4530 with 4525.
- In step 4, download Safari 3 for Tiger instead of the Leopard version linked.
- Please note that file locations (steps 1, 2 and 3) may be slightly different in Tiger.
I get asked quite a lot why my links don't open in new windows, and could I please add
target="new" - which is incorrect) to them? The answer to that is no. I have never used
target="_blank" on my site, except when I used popup windows (ewww, I know). And even then I wasn't happy about doing it. Especially now, when I validate to doctypes that don't support the
Ok, I do have my Firefox settings set to ignore
target="_blank", but why should I have to change my settings because of your site? I don't like being told how I'm going to go to a link. I want to choose for myself whether I am going to open a new window, a new tab, a new browser, or reuse the same page. I want links to follow what I've told my browser I want to happen. Usually, I reuse the same page. However, I never ever have more than one browser window open, and that is how I want it to stay, thank you very much. I can't stand cluttered desktops/taskbars where I don't know which window contains what. At least with tabs I can rename them and order them and whatever else (Firefox extensions FTW!1!).
This behaviour stems from the times of IE6 and other non-tabbed browsers, however is still being used today - people don't want visitors leaving their sites, so they force another browser window to open. On my old computer this was a nightmare - it couldn't cope with more than one instance of IE and opening another (by choice or otherwise) resulted in the whole thing crashing. Likewise, my current computer is getting slower and more dodgy every day, and opening an instance of Firefox/IE/anything takes it quite a while (yes, I have defragmented/taken off spyware/viruses/etc. It's just getting old). That's another reason I only have one FF window open, actually, heh. To those people (who don't want visitors leaving their sites) I say this: if your site is worth visiting, people will go back to it. You don't have to force them to stay on your site. In most cases, they will end up closing your site's window anyway.
So my point (I do have one, honest): please don't use
target="_blank". It's not only inaccessible, but it's a nuisance to those of us such as myself (and it's not just me) who dislike our default settings being overridden. Let the user choose how to open links. Like I said, if your site is really worth staying on, people will stay on it. There is no need to force them to do so.