GetBrowserSettings: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
__NOTOC__
__NOTOC__
{{Client function}}
{{Client function}}
{{Needs Example}}
{{New feature/item|3.0150|1.5||
{{New feature/item|3.0150|1.5||
This function returns a table containing the browser settings.
This function returns a table containing the browser settings.

Revision as of 15:45, 18 August 2015

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

Before submitting check out Editing Guidelines Script Examples.

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