GetBrowserProperty: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 25: Line 25:
==See also==
==See also==
{{CEF_functions}}
{{CEF_functions}}
[[hu:getBrowserPropert]]

Revision as of 12:37, 30 July 2018

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