Safari has a great built-in and "almost hidden" feature: At the first launch, it imports your Internet Explorer favorites into its own Favorites library. Unfortunately, other browsers like OmniWeb or Chimera are not (yet) supported. But with this little trick, you can use this feature to import bookmarks from other browsers too.
Export your bookmarks from Chimera. It outputs an HTML file, which is fine. For OmniWeb, no export is necessery since the bookmarks are already stored as an HTML file.
Launch Explorer, select "Organise Favorites" in the Favorites menu, then select "Import Favorites..." in the File menu.
Select your HTML bookmark file (OmniWeb bookmarks are stored in Library -> Application Support -> OmniWeb -> Bookmarks.html).
All bookmarks have been added to Explorer's favorites in a new folder.
If Safari has already been launched on your machine, it won't import your favorites again. If so, then:
Open the Preferences file for Safari in a text editor (it is located at Library -> Preferences -> com.apple.Safari.plist).
Find the key labeled "IEFavoritesWereImported" and change the value from TRUE to FALSE.
Your bookmarks have been transfered in the "Imported IE Favorites" collection of Safari's bookmark library!
Safari contains a number of new-and-existing keyboard commands. To see the entire list, click the Safari icon and choose "Show Package Contents." In the new window that opens, navigate to Contents -> Resources -> English.lproj -> Shortcuts.html. Nothing earth shattering. Enjoy!
[Editor's note: Wow, I wish all apps were required to have this file in their bundle! It would save everyone a fair bit of searching. Also, make sure you check out the Safari Help pages if you haven't done so already; they're quite complete, although there are fewer shortcuts listed in the Help than there are in this HTML document.]
So Apple released the first beta of their Safari browser today. Unfortunately, like all their other recent iApps, it uses the "brushed metal" look introduced with QuickTime Player 4. This use of the metal appearance actually violates Apple's own Jaguar Human Interface Guidelines:
Avoid using the textured window appearance in applications or utilities that are unrelated to digital peripherals or to the data associated with these devices.
Well, it turns out that Safari looks a LOT better without the silly brushed metal look! Here's how to turn off the heavy metal in the browser. Make a backup of your Safari before trying this!
Control-click on Safari to bring up the "Show Package Contents" contextual menu.
Navigate into Safari -> Contents -> Resources -> English.lproj
Open Browser.nib; You will need the most recent MacOS X Developer Tools package to do this!
In the window marked 'Broswer.nib,' select 'Window' and hit Shift-Command-I to bring up the Inspector. The last item in the Inspector is a checkbox labeled "Textured Window." Uncheck that, save, and quit.
Now start up your modified Safari. Now it looks like it should!
[Editor's note: I haven't tested this yet, as I don't have the December Developer Tools on the iBook. However, it's consistent with other hints regarding disabling the brushed metal look. I trimmed the quoted Human Interface Guidelines blurb down to just the last key line; you can read the full text of the comment on textured windows on this page of the online Human Interface Guidelines.]
This tip I credit to Dr. Dave Garaffa (Thanks Dave!). To finally drop Internet Explorer permanently in favor of Chimera, I needed to gain access to my Citibank site which requires 128 bit encryption (which Chimera has), but the site refused to recognize the browser. Citibank has claimed for the past 6 months that they are working on it, but hey life is finite.
To change the user agent in Chimera, which effectively allows you to masquerade as an "accepted" browser, you need to add a line to the prefs.js file located in your user's Library -> Application Support -> Chimera -> Profiles -> default -> XXXXX.slt folder, where the X can be anything. First quit Chimera if open and then open the prefs.js file in your favorite text editor and add the line
user_pref("general.useragent.override", "Mozilla/4.0[space] (compatible; MSIE 5.2; Mac_PowerPC) - Internet Explorer 5.2, Mac");
This should be all one line, spaces as written here (convert the "[space]" insert to an actual space character when you remove the line break). Save the file, open Chimera and you can now gain access to the Citibank site (and presumably others that demand a known (yet inferior!) browser.
[Editor's note: As other hints have explained, you should probably place this command in a user.js file in the same location. There's a chance that your modifications to prefs.js may be overwritten by the program, but the user.js file should remain untouched.]
Both Mozilla and Chimera keep their master settings in a file called prefs.js. It's well known that one can insert certain settings from Mozilla's prefs.js into Chimera's prefs.js, and have it actually work. As far as I can tell, the cache location setting is one of those certain settings.
Here's what my setting looks like when I change my cache location to a folder called Downloads in my home directory from within Mozilla (all one line, no spaces after the ","):
Don't just use the above string, though! Launch Mozilla, change your cache location, and then copy the actual user_pref line from your Mozilla prefs.js to your Chimera prefs.js. Chimera's prefs.js can be found in ~/Library -> Application Support -> Chimera -> Profiles -> default -> random, and Mozilla's prefs.js is in ~/Library -> Mozilla -> Profiles -> default -> random, where random is something like "fesm4ts2.slt".
[Editor's note: Instead of editing prefs.js directly, which risks having your custom code overwritten, create a new file (pure text) called user.js in the same location, and paste the line in that file instead. This file will never be overwritten by Chimera, and it should work just the same as though you edited prefs.js directly.]
If you use bluefish to edit your Apache web sites, here's how to customize bluefish so that it displays a currently edited page in Chimera.
Open bluefish, go to menu Options, Preferences, choose the External tab, and change the browser command with this line:
open -a 'Navigator' `echo %s | sed 's; ^Library/WebServer/Documents/\(.*\)$; http://www.yourdomain.com/\1;'`
(This is shown on three lines; enter it as one line without any spaces between the lines). The above assumes that your pages are located in /Library -> WebServer -> Documents, your web site is accessible via http://www.yourdomain.com, and you want to display the page with Chimera.
You can easily change the browser with open -a 'NameOftheBrowser', the location to suit your needs, and use a fixed IP in place of a domain name.
[Editor's note: I have no experience with bluefish, and I haven't tested this hint myself.]
I really liked the grouping feature of the toolbar links in Chimera but accidentally deleted them. I couldn't modify the bookmarks file using Chimera's pref panes, so instead I went into the bookmarks.xml file in ~/Library -> Application Support -> Chimera -> Profiles -> Default -> whatever.slt -> bookmarks.xml to modify it.
After comparing this to the default XML bookmarks file in the app, I found that adding the following to each XML attribute within the 'folder=' created a clickable group of links:
Just add this to any folder to create a clickable group again. For example, to create a folder of news sites that you have named "News" into a clickable group, make the folder entry look like this:
<folder name="News" group="true">
[Editor's note: Although it's been discussed here before, as a quick reminder, you can create groups in Chimera by first opening new tabs with each site you want as a member of the group, then (on any tab) selecting Bookmarks -> Add Page to Bookmarks, and checking the "Bookmark all tabs" box.]