Поделиться через


ThirdPartyUrlBlocked event

Fired when a third-party URL is blocked.

 

Syntax

HTML Attribute <element ThirdPartyUrlBlocked = "handler(event)">
attachEvent Method object.attachEvent("ThirdPartyUrlBlocked", handler)

 

Event information

Synchronous No
Bubbles No
Cancelable No

 

Event handler parameters

  • URL [in]
    Type: Variant

    A VARIANT of type VT_BSTR that specifies the entire original URI input string.

  • dwCount [in]
    Type: Long

    Not used. Always zero.

Remarks

Windows Internet Explorer fires this event but does not respond to it. The event is intended for use by Browser Helper Objects (BHOs).

The URL parameter returns the exact URL blocked by the browser. Subtle variations in the URL syntax can make this string difficult to parse. Use CreateUri to canonicalize the URL and use the IUri interface to break it into parts.