Skip to content

Firefox’s impotent user.js

Acording to this

… but here’s a tip: prefs or other JavaScript that you don’t want overwritten (e.g. comments) can be put in a file called user.js …

Mozilla has what I’d call a user init script, aka a .rc file. But Firefox’s doc doesn’t say that (see here) and my experiments suggest that the only thing can put in a firefox user.js file is calls on user_pref. Everything else is ignored? Bummer.

One Comment

  1. I’m not sure what you’re trying to accomplish … the easiest way to run some JS per window is to make a minimal extension, as far as I know. If you want to do things with sites, Greasemonkey is your friend http://greasemonkey.mozdev.org/

    Sunday, October 9, 2005 at 8:18 am | Permalink

Post a Comment

Your email is never published nor shared. Required fields are marked *
*
*