On Sunday 04 November 2001 14:27, Ben Rosenberg wrote:
* Bruce Marshall (bmarsh@bmarsh.com) [011019 15:52]: ->Anyone have any idea what to do to set the Mozilla user agent identity... ->(as in MSIE or Netscape} so that some 'brain dead' sites will accept ->Mozilla? -> ->I know about the settings in prefs.js but can't find the right string to ->make things work. -> ->user_pref("general.useragent.override", "Mozilla/5.0 (compatible; MSIE5.5; ->Windows 98;");
I'll give ya the Netscape over string, but not a correct IE ;)
We don't want the world thinking EVERYONE uses IE ;)
Put this in a file called user.js in ~/.mozilla/<username>/<lots of sillyletters>/
--snip--
user_pref("general.useragent.override", "Mozilla/5.0 (X11; U; Linux 2.4.7-4GB i686; en-US; rev:0.9.5 ) Gecko/20010110 Netscape6/6.2");
--snip--
Mine was located at: ~/.mozilla/default/vlackdch.slt/prefs.js and I also noticed this little suprise: user_pref("timebomb.first_launch_time", "1004834527773038"); Nice of them to be so specific. JLK
This will make any site think that Moz is Netscape 6.2 :)
But be forwarned..if a site like Washington Mutual bank lets you in using Mozilla because it identifes itself as Netscape Communicator 5.0..it will no longer do so. This line put into a file called user.js will override it until it's removed from the directory and preferences.js is editted to take the line out as well.
Cheers, -----=====-----=====-----=====-----=====----- Ben Rosenberg mailto:ben@whack.org -----=====-----=====-----=====-----=====----- "Technological progress is like an axe in the hands of a pathological criminal" -AE