From: Richard B. <ma...@ri...> - 2001-03-07 10:55:21
|
Isn't it handy to be able to detect Opera, and redirect to another = version? ----- Original Message -----=20 From: Pascal=20 To: dyn...@li...=20 Sent: Wednesday, March 07, 2001 11:48 AM Subject: RE: [Dynapi-Dev] Opera recognition in browser.js if I remember I'll fix it tonight, but this is VERY LOW on any = priority list (not that there is a real list though)=20 I might actually take out opera code, because it's not being used = (browser object is not a real browser sniffer) Pascal Bestebroer (pb...@oi...) Software ontwikkelaar Oberon Informatiesystemen b.v. http://www.oibv.com=20 -----Oorspronkelijk bericht----- Van: dyn...@li... = [mailto:dyn...@li...]Namens Daniel Holmen Verzonden: woensdag 7 maart 2001 11:08 Aan: dyn...@li... Onderwerp: [Dynapi-Dev] Opera recognition in browser.js As I've said before, DynAPI does't recognize Opera if Opera = identifies as anything other than IE. This bug is REALLY simple to fix; = just replace line 10 in browser.js with this one: if ((b=3D=3D"Opera") || (navigator.userAgent.indexOf("Opera")>0)) = this.b =3D "opera"; Voila, it recognizes Opera. (Even though Opera is not supported I = still think it's a stupid bug.) Would someone please fix this? ---Daniel Holmen -ecsoft norway |