OnClientBrowserLoadingFailed: Difference between revisions
Jump to navigation
Jump to search
(→Source) |
No edit summary |
||
Line 14: | Line 14: | ||
==Source== | ==Source== | ||
todo | |||
==Example== | |||
[lua] | |||
<syntaxhighlight lang="lua">addEventHandler("onClientBrowserLoadingFailed", root, | <syntaxhighlight lang="lua">addEventHandler("onClientBrowserLoadingFailed", root, | ||
function(url, errorCode, errorDescription) | function(url, errorCode, errorDescription) | ||
outputChatBox("This webpage is not available" .. url .. "Unknown" .. errorCode .. "Unknown" .. errorDescription) | outputChatBox("This webpage is not available" .. url .. "Unknown" .. errorCode .. "Unknown" .. errorDescription) | ||
end | end | ||
) | ) | ||
</syntaxhighlight> | </syntaxhighlight> | ||
==See Also== | ==See Also== | ||
{{CEF_events}} | {{CEF_events}} |
Revision as of 16:27, 26 May 2015
The event is triggered when the browser can not load the page.
Parameters
string url, int errorCode, string errorDescription
- url:
- errorCode:
- errorDescription:
Source
todo
Example
[lua]
addEventHandler("onClientBrowserLoadingFailed", root, function(url, errorCode, errorDescription) outputChatBox("This webpage is not available" .. url .. "Unknown" .. errorCode .. "Unknown" .. errorDescription) end )
See Also
- onClientBrowserCreated
- onClientBrowserCursorChange
- onClientBrowserDocumentReady
- onClientBrowserInputFocusChanged
- onClientBrowserLoadingFailed
- onClientBrowserLoadingStart
- onClientBrowserNavigate
- onClientBrowserPopup
- onClientBrowserResourceBlocked
- onClientBrowserTooltip
- onClientBrowserWhitelistChange