共用方式為


NavigationEventWithReferrer object

Note

The features described in this document are no longer being maintained. For more information on the new WebView2 control, see Introduction to Microsoft Edge WebView2 (Preview).

An object that represents an event fired when navigation is initiated and the navigation contains a referer.

Properties

referer

The Uniform Resource Identifier (URI) of the page in the webview requesting navigation.

This property is read-only.

Property value

Type: DOMString

var referer = NavigationEventWithReferrer.referer;

uri

The Uniform Resource Identifier (URI) of the destination of the navigation.

This property is read-only.

var uri = NavigationEventWithReferrer.uri;

Property value

Type: DOMString