SetBrowserProperty: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Added setBrowserProperty - https://github.com/multitheftauto/mtasa-blue/commit/4a89394d70cbb8dcf446c5be9d56608225c04b02)
 
mNo edit summary
Line 20: Line 20:


==Example==
==Example==
Todo
==See Also==
Todo
Todo


==See also==
==See also==
{{CEF_functions}}
{{CEF_functions}}

Revision as of 06:42, 7 July 2015

This function set a property to the web browser.

Syntax

bool setBrowserProperty ( string key, string value )

OOP Syntax Help! I don't understand this!

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


Required arguments

  • 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