- Documentation
- Client functions
- setBrowserProperty
Function
setBrowserProperty
Sets a browser property. "mobile" is supported: "1" turns on the phone view.
Syntax
bool setBrowserProperty(browser webBrowser, string key, string value)Arguments
webBrowserbrowser- The browser.
keystring- Property name.
valuestring- The value.
Returns
true on success.
Example
setBrowserProperty(phoneBrowser, "mobile", "1")