[NTLUG:Discuss] Faking another Browser.

Chris Cox cjcox at acm.org
Fri Aug 30 23:02:50 CDT 2002


Steve Baker wrote:
> 
> My wife has been trying to access a web site that seems to be testing
> to see which browser we are using - and it complains if you are using
> anything *other* then Internet Explorer.  <grrrrr>
> 
> I vaguely recollect that you can tell Mozilla (or maybe it was one of
> the other Linux browsers) to lie to the HTTP server and pretend to be
> some other browser (eg Internet Explorer).
> 
> I've looked all over to try to figure out what to do - but I can't see
> that option anywhere.
> 
> Does anyone have a clue how to do that?

In either your prefs.js or (create) user.js:

// Override the default user-agent string:
user_pref("general.useragent.override", "Mozilla/5.0 (X11; U; Linux i686; en-US; 
rv:1.0.0; hi, Mom) Gecko/20020604");

More of these tidbits at:

http://www.mozilla.org/unix/customizing.html





More information about the Discuss mailing list