Change Displayed Text SizeGrow Displayed Text SizeShrink Displayed Text Size

Monday, November 01, 2004


I spotted this on BeBits, and just had to try it with Camino. FireFox is what I used on Windows, but Camino will always be home on Mac OS X. This [hack] gives you NetPositive haiku error messages in Mozilla browsers. I did manage to get it to work with very little fuss in Camino.

1. Open up Camino and pull out embed.jar
/Applications/Camino (command click and Show Package Contents)
Inside there, Contents/MacOS/chrome
2. The file you want it embed.jar. Drag it out while holding down the option key to make a copy (you will want to work with this in a new folder).
3. Expand it. Use the shell command:
jar -xvf embed.jar
That will expand it, leaving you with 3 folders. Look inside en-US and follow the instructions for FireFox from the HaikuErrors hack. You do need to have the Apple developer tools to do it that way.
4. After you have made your changes, compress the jar file again:
jar -cvf embed1.jar ./
This will put all of the contents of the current directory into that jar file. I told you it would be best to work with it in a new folder! You could end up zipping up your whole desktop in there!
5. Put your new embed.jar back where you found the original - keep a backup of the original if you want to be safe.
6. In ~/Library/Application Support/Camino create the file user.js if you do not have one already. Add this line, just like from the HaikuErrors hack:
user_pref(”browser.xul.error_pages.enabled”, true);
Restart Camino and you’re done! Go to a random, non existant URL and see.

11/01/2004 10:24:00 PM ] [  0 comments  ]
A good quick laugh