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).
Comments
<img src="graemlins/surprised.gif" border="0" alt="[Surprised]" />
<a href="http://www.geocrawler.com/archives/3/141/2000/11/0/4635269/" target="_blank">http://www.geocrawler.com/archives/3/141/2000/11/0/4635269/</a>
<strong>ah... <img src="graemlins/embarrassed.gif" border="0" alt="[Embarrassed]" /> </strong><hr></blockquote>
nvm.. we all know how tempting post count ++ is.
" 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).
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
HD:Users:a_user:Library:Mozilla rofiles efault:co90740r.slt refs.js
Thank you all!
[ 10-03-2002: Message edited by: catalyst ]</p>
<strong>nvm... you've found it.
[ 10-03-2002: Message edited by: catalyst ]</strong><hr></blockquote>
what was that about post count ?