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. -- David E. Ross <http://www.rossde.com/> Go to Mozdev at <http://www.mozdev.org/> for quick access to extensions for Firefox, Thunderbird, SeaMonkey, and other Mozilla-related applications. You can access Mozdev much more quickly than you can Mozilla Add-Ons. _______________________________________________ support-seamonkey mailing list [email protected] https://lists.mozilla.org/listinfo/support-seamonkey

