David E. Ross wrote:
On 5/10/10 6:23 PM, Rufus wrote:
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...


The original poster in this thread has Safari.  Will your User Agent
Switcher work with Safari?


He said nothing about "having Safari"...just listed some string examples. I got the impression that he wanted to spoof Safari (which I do from time to time) using SM...why would a Safari user post to a Seamonkey NG, or want Safari to spoof SM?

...but if that's what he really wants to do, it can be done directly and simply - the capability to change/use an alternate User Agent String is actually built into Safari 4 - if one opens Safari Help and searches on "user agent string", one finds a thing called the Develop Menu. Open Safari Preferences->Advanced and check the "Show Develop Menu in Menu Bar" option.

The default Safari Develop Menu contains a library of common User Agent strings built into it...or you can choose the "Other" option...and then jus' do/use whatcha like.

--
     - Rufus
_______________________________________________
support-seamonkey mailing list
[email protected]
https://lists.mozilla.org/listinfo/support-seamonkey

Reply via email to