> I thought an XPI might do it, but I've never written one, and I don't > even know if it can do what I've suggested above.
I have a feeling XPIs can't set prefs; I remember I wanted to do this once, and couldn't. There may be a bug on this - have a look. Gerv
