OnClientBrowserLoadingFailed: Difference between revisions
Jump to navigation
Jump to search
(Created page with "__NOTOC__ {{Client event}} {{New feature/item|3.0150|1.5|| The event is triggered when the browser can not load the page. }} ==Parameters== <syntaxhighlight lang="lua"> string url, int err...") |
(→Source) |
||
Line 14: | Line 14: | ||
==Source== | ==Source== | ||
....... | <syntaxhighlight lang="lua">addEventHandler("onClientBrowserLoadingFailed", root, | ||
function(url, errorCode, errorDescription) | |||
outputChatBox("This webpage is not available" .. url .. "Unknown" .. errorCode .. "Unknown" .. errorDescription) | |||
end | |||
)</syntaxhighlight> | |||
==Example== | ==Example== |
Revision as of 16:26, 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
addEventHandler("onClientBrowserLoadingFailed", root, function(url, errorCode, errorDescription) outputChatBox("This webpage is not available" .. url .. "Unknown" .. errorCode .. "Unknown" .. errorDescription) end )
Example
TODO
See Also
- onClientBrowserCreated
- onClientBrowserCursorChange
- onClientBrowserDocumentReady
- onClientBrowserInputFocusChanged
- onClientBrowserLoadingFailed
- onClientBrowserLoadingStart
- onClientBrowserNavigate
- onClientBrowserPopup
- onClientBrowserResourceBlocked
- onClientBrowserTooltip
- onClientBrowserWhitelistChange