La Vita è Bella

Tuesday, January 23, 2007

A patch for Gecko based browsers on Mac for buttons

Gecko based browsers, including Mozilla Firefox, Mozilla Camino, Mozilla Seamonkey, optimized 3rd-party builds of Firefox and etc. , didn't display buttons on webpages well on Mac OS X.

For aqua buttons, that shown in Camino and some optimized 3rd-party builds of Firefox, the CJK buttons often be malformed and cause you can't see the text on the button well. For common buttons, they're just ugly.

I've found a hack through the internet, and I'm not so sure what did it actually do (seems to be some dirty tricks), but it works. So I cut off some unnecessary codes and made this patch. To use it, just execute the following command under terminal (Terminal.app or iTerm.app, replace "/Applications/Camino.app" to the path of the app you want to patch):

cd /Applications/Camino.app/Contents/MacOS/res/
patch -i /path/to/moz-forms.patch

And it's done.

Before:
A patch for Gecko browsers on Mac: Aqua buttons, before
A patch for Gecko browsers on Mac: common buttons, before

After:
A patch for Gecko browsers on Mac: Aqua buttons, after
A patch for Gecko browsers on Mac: common buttons, before

I didn't write this patch. I just found it and made it easier to use.



tags: , , , , , , , ,

20:04:14 by fishy - opensource - Permanent Link

Revision: 1.4/1.4, last modified on 2007-10-16 @ 12:08.

Karma: 9 (54.29% out of 105 were positive) [+/-]

You can subscribe to RSS 2.0 feed for comments and trackbacks

Trackbacks:
There are currently no trackbacks for this item.
Use this TrackBack url to ping this item (right-click, copy link target). If your blog does not support Trackbacks you can manually add your trackback by using this form.

No comments yet

Add Comment

 

May the Force be with you. RAmen