[Laszlo-dev] Browser detection out of an OL app

P T Withington ptw at pobox.com
Thu Aug 27 06:20:08 PDT 2009


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