Hi Nigel, On Mittwoch, 10. November 2010, Nigel Barker wrote: > So I would like to change everyone's user agent string > > general.useragent.extra.firefox > > to be Firefox/3.0.6 instead of Iceweasel/3.0.6 > > I have discovered that the file prefs.js in the firefox profile folder > will do the trick. So I thought I could copy mine to everyone. > > I have two questions: > > 1. Is it OK to copy that file to everyone, or will it break something > for them? I tested it on a user and got an empty add-ons pop-up on > re-launch, but nothing else seemed amiss. > 2. Can someone hack the script (below) for me so that it will put the > file inside the firefox profile folder? it's probably easiest if you copy it to /etc/iceweasel/pref/nigel.js (or whatever other filename which doesnt exist) instead. And then you can either use "pref" or "lockPref", the latter cannot be overwritten. See the other files in /etc/iceweasel :) cheers, Holger
Description: This is a digitally signed message part.