- Documentation
- Client functions
- getBrowserProperty
Function
getBrowserProperty
Returns a browser property. "mobile" (phone view) is supported.
Syntax
string getBrowserProperty(browser webBrowser, string key)Arguments
webBrowserbrowser- The browser.
keystring- Property name.
Returns
"1" or "0" for "mobile", false for other names.
Example
if getBrowserProperty(browser, "mobile") == "1" then
outputChatBox("Widok telefonu")
end