How to modify the User Agent

Jump to First Reply
Posted:
in Mac Software 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!

Comments

  • Reply 1 of 13
    defiantdefiant Posts: 4,876member
    what are u talking about ? <img src="confused.gif" border="0">
     0Likes 0Dislikes 0Informatives
  • Reply 2 of 13
    trevormtrevorm Posts: 841member
    you've really got me!



    <img src="graemlins/surprised.gif" border="0" alt="[Surprised]" />
     0Likes 0Dislikes 0Informatives
  • Reply 3 of 13
    catalystcatalyst Posts: 226member
    omniweb has that feature. you can change it to anything you like, apart from being able to select from a list of known browsers.
     0Likes 0Dislikes 0Informatives
  • Reply 4 of 13
    defiantdefiant Posts: 4,876member
    if you tell us what u are talking about and where we find that we might be able to help u.
     0Likes 0Dislikes 0Informatives
  • Reply 5 of 13
    catalystcatalyst Posts: 226member
    I'm very sure he's talking about browser identification. And I replied saying that OmniWeb has that feature.
     0Likes 0Dislikes 0Informatives
  • Reply 6 of 13
    chuckerchucker Posts: 5,089member
     0Likes 0Dislikes 0Informatives
  • Reply 7 of 13
    defiantdefiant Posts: 4,876member
    ah... <img src="graemlins/embarrassed.gif" border="0" alt="[Embarrassed]" />
     0Likes 0Dislikes 0Informatives
  • Reply 8 of 13
    catalystcatalyst Posts: 226member
    [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.
     0Likes 0Dislikes 0Informatives
  • Reply 9 of 13
    123123 Posts: 278member
    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).
     0Likes 0Dislikes 0Informatives
  • Reply 10 of 13
    Thank you Chucker, but not good enough for me, what preference file, where?

    I cannot find a prefs.js in Mozilla. (Mozilla&gt; Show Contents&gt; 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
     0Likes 0Dislikes 0Informatives
  • Reply 11 of 13
    Found it!

    HD:Users:a_user:Library:Mozilla rofiles efault:co90740r.slt refs.js



    Thank you all!

     0Likes 0Dislikes 0Informatives
  • Reply 12 of 13
    nvm... you've found it.



    [ 10-03-2002: Message edited by: catalyst ]</p>
     0Likes 0Dislikes 0Informatives
  • Reply 13 of 13
    defiantdefiant Posts: 4,876member
    [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 ?
     0Likes 0Dislikes 0Informatives
Sign In or Register to comment.