Jay Garcia wrote:
> George Wright wrote:
>
>
>>hi all
>>
>>some while ago [2000/11/09!] there was a post by Eric Krock explaining
>>how to fool sites (made by fools?) that restrict access to specific
>>browsers.
>>
>>he said:
>>
>><snip>
>> if you want to have Moz/Netscape 6 send a different user agent string
>>to servers, you can manually edit prefs.js and add a line to set a
>>special pref called general.useragent.override.
>>
>>For example, to have N6 spoof Nav4.x, add this to your prefs file:
>>
>>user_pref("general.useragent.override","Mozilla/4.75 [en] (Win95; U)");
>>
>>If you do this, N6 claims to be N4.75.
>>
>></snip>
>>
>>full message available here
>>
>>http://groups.google.com/groups?q=mozilla+user+agent+spoof&hl=en&safe=off&rnum=2&ic=1&selm=3A0AEC3F.6050002%40netscape.com
>>
>>which seems clear enough.
>>
>>I located the prefs.js in my home directory, and one also in /root/.mozilla/
>>
>>I tried the following in both locations (wasn't sure which was default)
>>
>> when I edit, add the line given above, save it and start moz, it
>>hasn't worked. checking the file, it seems the addition has been
>>overwritten - does mozilla overwrite this on startup?
>>
>>I have tried this as root as as user and am stumped.
>>
>>any help would be much appreciated - some sites that I *need* to look at
>>are foolish enough to code for, say Netscape 4.
>>
>>using build: Mozilla/5.0 (X11; U; Linux 2.4.0-4GB i686; en-US;
>>rv:0.9.1) Gecko/20010607
>>
>>
>>
>>cheers
>>
>>george wright
>>
>>http://fiddlesticks.com
>>
>>pop music and nonsense
>>
>>
>>
>>
>>
>>
>>
>>
>
> Create the file user.js in the same directory as prefs.js and add the
> override string. Every time you start Mozilla the user.js file will
> update prefs.js
>
>
>
Also, see http://www.mozilla.org/unix/customizing.html for more on
customizing Mozilla prefs, etc.
--
Jay Garcia - Netscape Champion
Novell MCNE-5/CNI
UFAQ - http://www.UFAQ.org
Post To Group ONLY, No Email Please!!