Gets or sets a safe list of URIs that are permitted to fire ScriptNotify events to this WebView.
Syntax
Property value
Type: IVector<Uri> [C++] | System.Collections.Generic.IList<Uri> [.NET]
The safe list of URIs that are permitted to fire ScriptNotify events.
Remarks
ScriptNotify enables the hosted HTML page to fire this event to the XAML app when the page calls window.external.notify and passes a string parameter. If content is loaded into the WebView control using the Navigate method, the app must opt-in to receiving ScriptNotify events by using the AllowedScriptNotifyUris property, which has the list of URIs that can fire ScriptNotify. If the content is loaded using NavigateToString, the application will receive ScriptNotify events without the opt-in.
Set this property to the value returned by the AnyScriptNotifyUri property to indicate that any page can fire ScriptNotify events to this WebView control.
Requirements
|
Minimum supported client | Windows 8 |
|---|---|
|
Minimum supported server | Windows Server 2012 |
|
Namespace |
|
|
Metadata |
|
See also
Build date: 3/12/2013