You did not include the javascript which set 'ns' or 'ie'. There is a very strong possibility
that they are using a method which is only supported in IE (that is, one which is not
standards compliant). This is possible, although only done by people who are either too
dumb to write good html (java script) or those who are writing to force people to use IE
(dumber yet).
Jim
01/02/02 07:09:28 PM, Alexandr Malusek
Ben Rosenberg
writes: If you so choose to do this then you can vi a file called user.js and put it in in ~/.mozilla/<username>/<weird directory>/
This will over rule the default user agent string for Mozilla. And yes it does work. When MS locked out browsers to MSN I used this to prove to my office mate that people are just plain stupid and nothing is fool proof.
-- user_pref("general.useragent.override", "Mozilla/5.0 (compatible; MSIE 5.5; Windows NT 5.0)"); --
I've done it in both Mozilla and Netscape 6.2.1. It changes the identification but the problem seems to be somewhere else.
I've managed to download the page source code. It contains the following definitions:
<script language="JavaScript">
var ns = (document.layers)? true:false var ie = (document.all)? true:false
The code then uses these variables, e.g.:
function init_page(){
if (ns){
document.antal.top=ypos_antal; document.tabhead.top=ypos_tabhead; document.betalningar.top=ypos_betalningar; document.totalt.top=ypos_totalt; document.slut.top=ypos_slut;
form1_pointer = document.main.document.form1 form2_pointer = document.slut.document.form2 } if (ie){ form1_pointer = main.document.form1 form2_pointer = slut.document.form2 } initForm(); }
All attempts pretending I use MSIE have failed so I've concentrated on going in the "ns" branch. But it seems that neither Opera in Netscape mode nor Netscape 6.2.1 actually set ns=true because I receive messages
Error: form1_pointer is not defined
I've spent 3 hours trying to access my account with no result. I'm giving up. Perhaps, if I had known JavaScript I would have been more successful.
-- Alexandr.Malusek@imv.liu.se
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq and the archives at http://lists.suse.com