[Laszlo-dev] Browser detection out of an OL app
Raju Bitter
rajubitter at me.com
Tue Sep 1 02:22:08 PDT 2009
I'm more looking for something like the browser dection we use in the
sprite class, accessing the lz.embed.browser object. Has that been done?
Thanks,
Raju
On Aug 27, 2009, at 3:20 PM, P T Withington wrote:
> lzx> lz.Browser.getVersion()
> 'Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.2)
> Gecko/20090729 Firefox/3.5.2'
> lzx> lz.Browser.getOS()
> 'MacIntel'
> lzx>
>
> On 2009-08-26, at 18:35EDT, Raju Bitter wrote:
>
>> Wouldn't the LzBrower class be the place to put an API for that?
>>
>> On Aug 27, 2009, at 12:09 AM, Raju Bitter wrote:
>>
>>> How can I detect the browser version from within an OpenLaszlo
>>> app? For the CSS/HTML5 stuff I want to show the user a hint that
>>> an application is not supported in IE and other browsers.
>>
>
More information about the Laszlo-dev
mailing list