Hi!

Due to the discussion about to detect Opera 5 properly, i remember 
that there is also a problem to detect all Netscape's properly:

The original code in browser.js

> var b=navigator.appName;
> if (b=="Netscape") this.b="ns";

isn't able to detect the NS 4.7 shipped with the german T-Online 3.0
software (perhaps 500.000 or 1 Million users).
This special NS identifies itself as "Netscape von T-Online" (or 
something else).

To fix this problem, i added one line to browser.js (not the best 
solution, but it works):

> var b=navigator.appName;
  if (b.match(/Netscape/)) b="Netscape"   //added.
> if (b=="Netscape") this.b="ns";

Greetings,   Thomas.
_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/mailman/listinfo/dynapi-dev

Reply via email to