I don't think there is. In fact I hope there isn't, because detection based on 
user agent strings is not a very good idea in general (I don't know what you're 
trying to do). Detection for support for particular features via JavaScript is 
a much more robust approach. Check out http://diveintohtml5.org/detect.html and 
http://www.modernizr.com/ for instance.

Nils.

________________________________________
Van: [email protected] [[email protected]] namens 
Gerald Madlmayr [[email protected]]
Verzonden: zondag 23 mei 2010 12:35
Aan: Magnolia User-List
Onderwerp: [magnolia-user]  Detecting User-Agent for CSS Switch

Hi,

what is actually the best way in Magnolia to detect the user agent of
the browser in order to include the appropriate CSS/JS Files? Is there
already an out-of-the box solution?

Best, Gerald

De informatie vervat in deze  e-mail en meegezonden bijlagen is uitsluitend 
bedoeld voor gebruik door de geadresseerde en kan vertrouwelijke informatie 
bevatten. Openbaarmaking, vermenigvuldiging, verspreiding en/of verstrekking 
van deze informatie aan derden is voorbehouden aan geadresseerde. De VPRO staat 
niet in voor de juiste en volledige overbrenging van de inhoud van een 
verzonden e-mail, noch voor tijdige ontvangst daarvan.

----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to