OnClientBrowserResourceBlocked

From Multi Theft Auto: Wiki
Revision as of 19:06, 21 July 2016 by ThePiotrek (talk | contribs)
Jump to navigation Jump to search

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

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.

See Also