OnClientBrowserResourceBlocked

From Multi Theft Auto: Wiki
Revision as of 22:23, 2 April 2018 by Myonlake (talk | contribs)
Jump to navigation Jump to search

Accessories-text-editor.png Script Example Missing Event OnClientBrowserResourceBlocked needs a script example, help out by writing one.

Before submitting check out Editing Guidelines Script Examples.

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

TODO

See Also