HU/getBrowserSettings: Difference between revisions
Jump to navigation
Jump to search
(→Példa) |
No edit summary |
||
Line 2: | Line 2: | ||
{{Client function hu}} | {{Client function hu}} | ||
{{New feature/item|3.0150|1.5|| | {{New feature/item|3.0150|1.5|| | ||
Ez a funkció visszaad egy táblát, amely tartalmazza a böngésző beállításait. | |||
}} | }} | ||
Revision as of 17:30, 5 August 2018
Ez a funkció visszaad egy táblát, amely tartalmazza a böngésző beállításait.
Szintaxis
table getBrowserSettings ()
OOP Syntax Help! I don't understand this!
- Method: Browser.getSettings(...)
Visszaadott érték
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.
Példa
Ez a példa nem lett tesztelve
local window = guiCreateWindow(200, 200, 1024, 768, "Webbrowser", false) local browser = guiCreateBrowser(0, 0, 800, 600, false, false, false, window) for k,v in pairs(getBrowserSettings(browser)) do outputChatBox("['"..tostring(k).."'] = '"..tostring(v)) end
Lásd még
- 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