OnClientBrowserNavigate: Difference between revisions
Jump to navigation
Jump to search
m (fix typo) |
m (update for new feature) |
||
Line 7: | Line 7: | ||
==Parameters== | ==Parameters== | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
string targetURL, bool isBlocked | string targetURL, bool isBlocked, bool isMainFrame | ||
</syntaxhighlight> | </syntaxhighlight> | ||
*'''targetURL:''' The page the browser loaded | *'''targetURL:''' The page the browser loaded | ||
*'''isBlocked:''' If the browser was created with '''isLocal''' set to '''true''', and the browser tried to load a remote page, this would be set to '''true''' (and vice-versa) | *'''isBlocked:''' If the browser was created with '''isLocal''' set to '''true''', and the browser tried to load a remote page, this would be set to '''true''' (and vice-versa) | ||
* {{New feature/item|3.0160|1.6|7888|'''isMainFrame:''' Whether the entire page (main frame) was loaded or an ''<iframe>'' inside the page was loaded}} | |||
==Source== | ==Source== | ||
Line 17: | Line 18: | ||
==Example== | ==Example== | ||
{{Example}} | {{Example}} | ||
== Issues == | |||
{{Issues| | |||
{{Issue|9173|onClientBrowserNavigate is triggered for <iframe> elements}} | |||
}} | |||
==See Also== | ==See Also== | ||
{{CEF_events}} | {{CEF_events}} |
Revision as of 14:21, 5 March 2016
The event is executed when the browser loads a new page.
Parameters
string targetURL, bool isBlocked, bool isMainFrame
- targetURL: The page the browser loaded
- isBlocked: If the browser was created with isLocal set to true, and the browser tried to load a remote page, this would be set to true (and vice-versa)
- isMainFrame: Whether the entire page (main frame) was loaded or an <iframe> inside the page was loaded
Source
The browser element
Example
Script Example Missing Event OnClientBrowserNavigate needs a script example, help out by writing one. | |
Before submitting check out Editing Guidelines Script Examples. |
-- TODO
Issues
Issue ID | Description |
---|---|
#9173 | onClientBrowserNavigate is triggered for <iframe> elements |
See Also
- onClientBrowserCreated
- onClientBrowserCursorChange
- onClientBrowserDocumentReady
- onClientBrowserInputFocusChanged
- onClientBrowserLoadingFailed
- onClientBrowserLoadingStart
- onClientBrowserNavigate
- onClientBrowserPopup
- onClientBrowserResourceBlocked
- onClientBrowserTooltip
- onClientBrowserWhitelistChange