Back to FilterProxy home page

Web annoyance fixes:

Netscape

Place:

  *documentFonts.sizeIncrement:   20
in your .Xdefaults file to tell netscape to use a smaller font increment. 20 means 20%, and is the default. I find 10 to be much more pleasing for idiots that insist on using <font size=1>.

There are two documented ways to get Netscape to ignore the blink tag, neither of wich work. Nonetheless, here they are. Place:

  Netscape.blinkingEnabled: False
in your .Xdefaults file. The other is to edit netscape's prefs.js file and add the line:
  user_pref("browser.blink_allowed", false);
If anyone gets either of these methods to work, please let me know, I was unsuccessful. Netscape's got more bugs than a two week-old corpse.

Mozilla

Here are some useful references on customizing mozilla:

Customizing Mozilla
Hidden Mozilla Prefs
Fixing small fonts on linux

Mozilla has a plethora of preferences and things that can be set via javascript.

To set a minimum size for fonts:

user_pref("font.minimum-size.x-western", 14);

To disable javascript popup windows (geocities, tripod, porn sites) put this in your .mozilla/default/prefs.js.

pref("capability.policy.default.window.open", "noAccess");
pref("capability.policy.strict.sites","http://www.evil-site.com http://www.bad-site.com");
pref("capability.policy.window.open", "noAccess");
user_pref("capability.policy.default.window.open", "noAccess");
user_pref("capability.policy.strict.sites","http://www.evil-site.com http://www.bad-site.com");
user_pref("capability.policy.window.open", "noAccess");
See Mozilla bug #29346 for more discussion of this. Also, as of Mozilla 0.9.4, Mozilla has the capability to disallow javascript popup windows during page load. Put this in your prefs.js file:
user_pref("dom.disable_open_during_load", true);
And of course, here's a filterproxy rule that will strip popup windows:
JSPOPUPS: rewrite regex /window\\.open\\(/ inside tagblock <script> as eval("null //" +