GetBrowserSettings

From Multi Theft Auto: Wiki
Revision as of 13:44, 18 August 2015 by Jusonex (talk | contribs) (Created page with "__NOTOC__ {{Client function}} {{New feature/item|3.0150|1.5|| This function returns a table containing the browser settings. }} ==Syntax== <syntaxhighlight lang="lua"> table getBrowserSetti...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This function returns a table containing the browser settings.

Syntax

table getBrowserSettings ()

OOP Syntax Help! I don't understand this!

Method: browser.getSettings(...)
Counterpart: getBrowserSettings


Returns

A table having the following keys:

  • RemoteEnabled: true if remote websites are enabled, false otherwise
  • RemoteJavascript: true if Javascript is enabled on remote websites, false otherwise
  • PluginsEnabled: true if plugins such as Flash, Silverlight (but not Java) are enabled, false otherwise. This setting is false by default.

Example

--todo

See Also