Is it possible to change the user_agent string that Camino returns (so I can fool a website into thinking Camino is IE so it doesn't give me an annoying "wrong browser" page) without recompiling the whole application? Is it stored in one of the plist or js files?
I would recommend that you don't. Doing so may well result in those sites that invisibly detect your browser correctly and adapt what they deliver to cope will become broken as a result. (My site, for instance, detects IE and delivers HTML as text/html instead of the XHTML as application/xml+html that everyone else gets, as well as altered CSS that MS's crippled browser can handle.) The best strategy is to nag the webmasters of such the sites into correcting the fault on their sites that this constitutes. Point out that denying access to content on the basis of the browser in use is in direct contravention of web accessibility guidelines. Tell them you'll boycott their site until they repair it. Fix what is really broken, rather than break something that already works correctly, as a work-around.
</rant> :)
If you ARE going to tamper with your user agent ID, I recommend that you leave the Camino identifier in as well:
Mozilla/4.0 (compatible; MSIE 5.23; Mac_PowerPC) Gecko/2004xxxx Camino/0.7+
for instance, contains enough IE identifier to have a site that looks for IE preferentially think it has IE, while a Gecko-aware site ought to still know that you're using Camino really. (And if a site is looking for Netscape and is unhappy with this string, its webmaster needs to be told that "Gecko" is the identifier they should be looking for, not "Netscape"!)
-Steve
_______________________________________________ Camino mailing list [EMAIL PROTECTED] http://mozdev.org/mailman/listinfo/camino
