How to modify the User Agent
October 2, 2002 8:56PM
edited January 2014
in Mozilla 1.1 and IE 5.2.2 in OS X?
Do you know?
I've tried even Resedit but no luck, I can't find the User Agent string!
Reply 1 of 13
October 3, 2002 12:59AM
what are u talking about ? <img src="confused.gif" border="0">
Reply 2 of 13
October 3, 2002 3:32AM
you've really got me!
<img src="graemlins/surprised.gif" border="0" alt="[Surprised]" />
Reply 3 of 13
October 3, 2002 3:54AM
omniweb has that feature. you can change it to anything you like, apart from being able to select from a list of known browsers.
Reply 4 of 13
October 3, 2002 3:58AM
if you tell us
what u are talking about and where we find that
might be able to help u.
Reply 5 of 13
October 3, 2002 4:28AM
I'm very sure he's talking about browser identification. And I replied saying that OmniWeb has that feature.
Reply 6 of 13
October 3, 2002 4:31AM
Too lazy to Google for it, eh?
Reply 7 of 13
October 3, 2002 5:51AM
ah... <img src="graemlins/embarrassed.gif" border="0" alt="[Embarrassed]" />
Reply 8 of 13
October 3, 2002 5:59AM
[quote]Originally posted by Defiant:
<strong>ah... <img src="graemlins/embarrassed.gif" border="0" alt="[Embarrassed]" /> </strong><hr></blockquote>
nvm.. we all know how tempting post count ++ is.
Reply 9 of 13
October 3, 2002 8:26AM
If you know a little c, you can also write a small program to replace the user agent on a lower layer. If you're not familiar with sockets, get the "throttled" source, remove the bandwidth timing stuff and insert some code to replace "User-Agent: (.*?)\
" with whatever you like in all packets. Then divert outgoing port 80 traffic to your program (ipfw). This works for every browser. Of course, you can make this as flexible as you like (eg. exclude certain browsers in the c code).
Reply 10 of 13
October 3, 2002 10:35AM
Thank you Chucker, but not good enough for me, what preference file, where?
I cannot find a prefs.js in Mozilla. (Mozilla> Show Contents> Lots of stuff, no prefs.js)
I have opened every "openable" file inside Mozilla Contents (including Resedit) and nothing.
Maybe I'm stupid or something, but it has to be somewhere.
I just want to add a distinctive string to identify myself in my web server logs and not count my own hits to my web site.
Catalyst, yeah, Omniweb is great! I've already done that, but I need to use Mozilla as well and I'd like to do the same thing.
123, that sound interesting, however I the only thing I know about C is that it is the third letter from the alphabet
User Agent or how Mozilla identifies to web sites (and maybe other servers): Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US; rv:1.1) Gecko/20020826
Reply 11 of 13
October 3, 2002 10:45AM
Thank you all!
Reply 12 of 13
October 3, 2002 10:57AM
nvm... you've found it.
[ 10-03-2002: Message edited by: catalyst ]</p>
Reply 13 of 13
October 3, 2002 1:52PM
[quote]Originally posted by catalyst:
<strong>nvm... you've found it.
[ 10-03-2002: Message edited by: catalyst ]</strong><hr></blockquote>
what was that about post count ?