GetBrowserSettings: Difference between revisions
Jump to navigation
Jump to search
(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...") |
mNo edit summary |
||
Line 9: | Line 9: | ||
table getBrowserSettings () | table getBrowserSettings () | ||
</syntaxhighlight> | </syntaxhighlight> | ||
{{OOP||[[Element/Browser| | {{OOP||[[Element/Browser|Browser]].getSettings||getBrowserSettings}} | ||
==Returns== | ==Returns== |
Revision as of 13:45, 18 August 2015
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
- canBrowserNavigateBack
- canBrowserNavigateForward
- createBrowser
- executeBrowserJavascript
- focusBrowser
- getBrowserProperty
- getBrowserSettings
- getBrowserSource
- getBrowserTitle
- getBrowserURL
- injectBrowserMouseDown
- injectBrowserMouseMove
- injectBrowserMouseUp
- injectBrowserMouseWheel
- isBrowserDomainBlocked
- isBrowserFocused
- isBrowserLoading
- isBrowserRenderingPaused
- loadBrowserURL
- navigateBrowserBack
- navigateBrowserForward
- reloadBrowserPage
- requestBrowserDomains
- resizeBrowser
- setBrowserAjaxHandler
- setBrowserProperty
- setBrowserRenderingPaused
- setBrowserVolume
- toggleBrowserDevTools