OnClientBrowserLoadingFailed: Difference between revisions
Jump to navigation
Jump to search
(→Source) |
|||
Line 17: | Line 17: | ||
==Example== | ==Example== | ||
<syntaxhighlight lang="lua">addEventHandler("onClientBrowserLoadingFailed", root, | <syntaxhighlight lang="lua">addEventHandler("onClientBrowserLoadingFailed", root, | ||
function(url, errorCode, errorDescription) | function(url, errorCode, errorDescription) |
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
The browser element
Example
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