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: IDispatchThe IWebBrowser2 object that triggered the event.
StartURL [in]
Type: VARIANTA VARIANT of type VT_BSTR that specifies the original target URL.
RedirectURL [in]
Type: VARIANTA VARIANT of type VT_BSTR that specifies the redirected URL.
Frame [in]
Type: VARIANTA VARIANT of type VT_BSTR that specifies the target frame name.
StatusCode [in]
Type: VARIANTAn 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).