OnClientBrowserResourceBlocked: Difference between revisions
Jump to navigation
Jump to search
(Created page with "__NOTOC__ {{Client_event}} {{New feature/item|3.0150|1.5|| This event is executed when a resource (images, sounds etc.) has been blocked. }} ==Parameters== <syntaxhighlight lang="lua"> str...") |
ThePiotrek (talk | contribs) mNo edit summary |
||
Line 21: | Line 21: | ||
==Example== | ==Example== | ||
{{Needs_Example}} | {{Needs_Example}} | ||
[[pl:onClientBrowserResourceBlocked]] | |||
==See Also== | ==See Also== | ||
{{CEF_events}} | {{CEF_events}} |
Revision as of 19:06, 21 July 2016
This event is executed when a resource (images, sounds etc.) has been blocked.
Parameters
string url, string domain, int reason
- url: The blocked URL
- domain: The blocked domain (part of the URL)
- reason: The reason why the resource was blocked. Possibles values:
- 0: not allowed yet
- 1: blacklisted
- 2: blocked protocol scheme
Source
The browser element
Example
Script Example Missing Event OnClientBrowserResourceBlocked needs a script example, help out by writing one. | |
Before submitting check out Editing Guidelines Script Examples. |
See Also
- onClientBrowserCreated
- onClientBrowserCursorChange
- onClientBrowserDocumentReady
- onClientBrowserInputFocusChanged
- onClientBrowserLoadingFailed
- onClientBrowserLoadingStart
- onClientBrowserNavigate
- onClientBrowserPopup
- onClientBrowserResourceBlocked
- onClientBrowserTooltip
- onClientBrowserWhitelistChange