You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
auto profile9 = profile.try_query<ICoreWebView2Profile9>();
47
47
if (profile9) {
48
+
// URL patterns follow wildcard matching rules.
49
+
// For detailed examples, refer to the table at: https://learn.microsoft.com/en-us/dotnet/api/microsoft.web.webview2.core.corewebview2.addwebresourcerequestedfilter
// For detailed examples, refer to the table at: https://learn.microsoft.com/en-us/dotnet/api/microsoft.web.webview2.core.corewebview2.addwebresourcerequestedfilter
/// | `https://example.com` | `https://example.com/page` | No | Exact match required |
225
-
/// | `https://example.com` | `https://example.com` | No | The URI is normalized before filter matching so the actual URI used for comparison is https://example.com/ |
/// Setting the allowlist to an empty array will disable access to the
231
-
/// PageInteractionRestrictionManager API for all pages.
232
-
///
233
-
/// Changes take effect immediately for all WebView2 instances using this profile.
234
-
/// The allowlist is persisted across sessions.
226
+
/// For detailed URL matching examples, refer to the table at [`AddWebResourceRequestedFilter`](https://learn.microsoft.com/en-us/dotnet/api/microsoft.web.webview2.core.corewebview2.addwebresourcerequestedfilter).
/// | `https://example.com` | `https://example.com/page` | No | Exact match required |
260
-
/// | `https://example.com` | `https://example.com` | No | The URI is normalized before filter matching so the actual URI used for comparison is https://example.com/ |
/// For detailed URL matching examples, refer to the table at [`AddWebResourceRequestedFilter`](https://learn.microsoft.com/en-us/dotnet/api/microsoft.web.webview2.core.corewebview2.addwebresourcerequestedfilter).
0 commit comments