From: Pascal <pb...@oi...> - 2001-03-07 10:46:49
|
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) 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 -----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=="Opera") || (navigator.userAgent.indexOf("Opera")>0)) this.b = "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 |
From: Pascal <pb...@oi...> - 2001-03-07 11:18:55
|
that redirection would be done after everything (dynapi code) has already loaded.. better idea would be to use a real browser sniffer on your start page, that could then redirect. I'm not saying I WILL rip it out, but it's of no use to the DynAPI code, seeing that Opera can't be supported (atleast not upto this point.. which means that once it's able to do real DHTML we have to check for is.opera and is.v>5 .. great stuff this browser world) The browser object is not a real complete browsersniffer and therefor is not full featured.. There are more browsers that aren't detected, for the simple fact that they are not (/yet) supported. But I'll leave the opera code in (I can already feel the flames) Pascal Bestebroer (pb...@oi...) Software ontwikkelaar Oberon Informatiesystemen b.v. http://www.oibv.com -----Oorspronkelijk bericht----- Van: dyn...@li... [mailto:dyn...@li...]Namens Richard Bennett Verzonden: woensdag 7 maart 2001 11:57 Aan: dyn...@li... Onderwerp: Re: [Dynapi-Dev] Opera recognition in browser.js Isn't it handy to be able to detect Opera, and redirect to another version? ----- Original Message ----- From: Pascal To: dyn...@li... 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) 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 -----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=="Opera") || (navigator.userAgent.indexOf("Opera")>0)) this.b = "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 |
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 |