useragent

Engine Compatibility

This library has not yet been ported to the New Pico Engine

The User Agent Library

The User Agent library provides access to information about the user agent string. The following functions are available:

The language Function

The useragent:language returns the natural language version of language.

The following is an example of useragent:language.

pre{
  naturalLanguage = useragent:language();
}

Copyright Picolabs | Licensed under Creative Commons.