GetBrowserProperty

From Multi Theft Auto: Wiki
Revision as of 12:37, 30 July 2018 by Surge (talk | contribs)
Jump to navigation Jump to search

Accessories-text-editor.png Script Example Missing Function GetBrowserProperty needs a script example, help out by writing one.

Before submitting check out Editing Guidelines Script Examples.

This function gets a given property of a specified browser.

Syntax

bool getBrowserProperty ( browser theBrowser, string key )

OOP Syntax Help! I don't understand this!

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


Required arguments

  • theBrowser: browser element to get the property value of
  • key: The browser property key. It can be:
    • mobile: Surfing the web as mobile

Returns

Returns the value if the property was successfully found, false otherwise.

Example

Todo

See also