SetBrowserProperty: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 21: | Line 21: | ||
==Example== | ==Example== | ||
{{Example}} | |||
==See also== | ==See also== | ||
{{CEF_functions}} | {{CEF_functions}} |
Revision as of 22:16, 18 September 2015
This function sets a given property of a specified browser.
Syntax
bool setBrowserProperty ( browser theBrowser, string key, string value )
OOP Syntax Help! I don't understand this!
- Method: browser:setProperty(...)
- Counterpart: getBrowserProperty
Required arguments
- theBrowser: The browser element you want to set a property of
- key: The browser property key. It can be:
- mobile: Surfing the web as mobile
- value: A value indicating whether to enable ("1") the property or not ("0")
Returns
Returns true if the property was successfully set, false otherwise.
Example
Script Example Missing Function SetBrowserProperty needs a script example, help out by writing one. | |
Before submitting check out Editing Guidelines Script Examples. |
-- 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