From: Jordi 'I. M. <jmi...@or...> - 2000-12-15 13:55:51
|
Wow, this stuff never ceases to surprise me. I'll add this via CVS now Thomas Hering wrote: > 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 > Dyn...@li... > http://lists.sourceforge.net/mailman/listinfo/dynapi-dev |