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


RedirectXDomainBlocked event

Fired when a cross-domain redirect request is blocked.

 

Syntax

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

 

Event information

Synchronous No
Bubbles No
Cancelable No

 

Event handler parameters

  • pDisp [in]
    Type: IDispatch

    The IWebBrowser2 object that triggered the event.

  • StartURL [in]
    Type: VARIANT

    A VARIANT of type VT_BSTR that specifies the original target URL.

  • RedirectURL [in]
    Type: VARIANT

    A VARIANT of type VT_BSTR that specifies the redirected URL.

  • Frame [in]
    Type: VARIANT

    A VARIANT of type VT_BSTR that specifies the target frame name.

  • StatusCode [in]
    Type: VARIANT

    An VARIANT of type VT_I4 that specifies the reason for the redirect (HTTP status code).

Remarks

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