David E. Ross wrote:
On 5/10/10 2:56 PM, Santa Claus wrote:
where in the source code does it say something like "Mozilla/5.0
(Macintosh; U; PPC Mac OS X; en) AppleWebKit/418.8 (KHTML, like Gecko)
Safari/419.3" to the world? i'm using apple's NSStream protocol for my
program and would like to insert my program's identity into that as
identification not "applewebkit"
In Mozilla and Mozilla-based applications, much of the user agent (UA)
string is contained in preference variables external to the executable
code of the applications. It takes the concatenation of several such
variables -- along with some hard-coded substrings -- to create the UA
string.
Try this add-on:
http://chrispederick.com/work/user-agent-switcher/
in conjunction with this reference site:
http://www.useragentstring.com/
...and making up/switching/spoofing User Agent strings becomes easy.
Simple. A snap, even...
--
- Rufus
_______________________________________________
support-seamonkey mailing list
support-seamonkey@lists.mozilla.org
https://lists.mozilla.org/listinfo/support-seamonkey