SetBrowserProperty

From Multi Theft Auto: Wiki
Revision as of 16:40, 23 July 2015 by Jusonex (talk | contribs)
Jump to navigation Jump to search

This function set a property to the web browser.

Syntax

bool setBrowserProperty ( browser thebrowser, string key, string value )

OOP Syntax Help! I don't understand this!

Method: browser:setProperty(...)
Counterpart: setBrowserProperty


Required arguments

  • theBrowser: The browser element you want to set a property on
  • key: The browser property key. It can be:
    • mobile: Surfing the web as mobile
  • value: A value indicate wheter enable("1") or not ("0") the property

Returns

Returns true if the property was successfully applied, false otherwise.

Example

Todo

See also