[plug] firefox

Dion tenzero at iinet.net.au
Sun Jun 6 01:09:45 WST 2004


You might have luck with this. Go to the folder where firefox is installed.
 From there go to defaults\autoconfig\ in here there are two files 
platform.js and prefcalls.js
Look at the file plateform.js

On a windows machine there should be these lines:

// Windows specific auto configuration preference defaults
platform.value = "windows";

in yours there maybe something calling it linux or not.
Try backing up the file and then using the two lines I just pasted.

Secondly, in the directory "installed firefoxdir"\defaults\pref\
have a look at all.js

again, backup file in case firefox gets upset. Then look for these 
following lines.

pref("general.useragent.locale", 
"chrome://navigator/locale/navigator.properties");
pref("general.useragent.contentlocale", 
"chrome://navigator-region/locale/region.properties");
pref("general.useragent.misc", "rv:1.5");
pref("general.useragent.vendor", "Firebird");
pref("general.useragent.vendorSub", "0.7");

if you need to lie and say its an Ie browser try changing these with 
strings from Ie.
See if that helps get into your bank.

I can't remember the exact specifics but I did this to get into bankwest 
with an earlier version of Moz.

YMMV
D.


Brad Campbell wrote:

> Bernard Blackham wrote:
>
>> On Sat, Jun 05, 2004 at 04:22:06PM +0400, Brad Campbell wrote:
>>
>>> This is a pisser, coz my idiot bank (HSBC UAE) will allow firefox or 
>>> mozilla on windows, but every one of their pages has a javascript 
>>> check to make sure the OS is either MacOS or Windows.
>>
>>
>>
>> Have you tried changing the general.useragent.* keys in about:config
>> in Firefox?
>
>
> Yes
>
>> Not sure if this will change what javascript returns.
>
>
> No
>
>> There doesn't seem to be an option for OS, but maybe just sticking
>> the phrase "Windows" in there somewhere might make it happy?
>
>
> Unfortunately Not.
> Firefox is a lousy liar.
>
> Regards,
> Brad
> _______________________________________________
> PLUG discussion list: plug at plug.linux.org.au
> http://mail.plug.linux.org.au/cgi-bin/mailman/listinfo/plug
> Committee e-mail: committee at plug.linux.org.au
>
>




More information about the plug mailing list