[NTLUG:Discuss] Faking another Browser.

Steve Baker sjbaker1 at airmail.net
Fri Aug 30 22:46:59 CDT 2002


lee wrote:

> is the override to the user-agent string that you put in your prefs.js 
> file.  your prefs.js is usually found on your system here: 
> ~/.mozilla/[profile-name]/[crypto-stuff]/prefs.js

Yeah!  That's the thing!

Many thanks!

> you'll have to figger out how to exactly manipulate the string to mimic 
> another browser...

Ah...so my next question is - What 'user-agent' string does IE spit out?

Brief research suggests this might work:

user_pref("general.useragent.override", "Microsoft Internet Explorer/4.40.426 (Windows 95)");

----------------------------- Steve Baker -------------------------------
Mail : <sjbaker1 at airmail.net>   WorkMail: <sjbaker at link.com>
URLs : http://www.sjbaker.org
        http://plib.sf.net http://tuxaqfh.sf.net http://tuxkart.sf.net
        http://prettypoly.sf.net http://freeglut.sf.net
        http://toobular.sf.net   http://lodestone.sf.net






More information about the Discuss mailing list