Esben Mose Hansen wrote:
Vadim V. Kouevda wrote:

In Netscape-4 it used to be an X-defaults file in following directory: /usr/X11R6/lib/X11/app-defaults. You could change every system font for browser: menu, lists etc. Is there any way to change system fonts for Netscape-7 the same way like for Netscape-4?

Example from /usr/X11R6/lib/X11/app-defaults/Netscape:

*XmTextField.fontList: -*-courier-medium-r-*-*-14-*-*-*-*-*-koi8-r

Obviously, this file wasn't picked up after my upgrade 4->7. So, I assume Netscape file doesn't work anymore for Netscape-7?
You can do this using css in a userChrome.css placed in in the .mozilla/*/chrome folder under your home dir (or systemwide in the appropriate folder.) Try looking for userChrome in these newsgroup; and maybe my name. Also, try looking at the menu under Tools->Web Development->Dom inspector. In these thing, the DOM inspector is your friend.

(As you probably know, Mozilla User Interface is really a css-styled XML-document + a copy of other elements, collectively known as XUL.)
I finally hacked Netscape-7 and it's system fonts, using strace, running Netscape under strace, reviewing all opened files, etc. And, man, I need to state that my love to Netscape, which lasted several years, perhaps coming to the end (together with any remaining good opinions about Gnome).

Especially when I learned (again through hacking), that Mozilla allows suppress opening unwanted pop-ups, but AOL creating Netscape-7 removed this feature from Netscape (AOL is known for pop-ups, that's why they crippled Netscape - what a shame!). But there is more. They completely remove block of code dealing with pop-ups in Win version of Netscape, but... In UNIX version this block of code is compiled into the binary, you just do not have an option in Preferences to enable it! It took me less than a minute to figure out the name of necessary option and disable pop-ups in Netscape-7. But the whole story did not improve my opinion about Netscape...

--
Vadim V. Kouevda


Reply via email to