ICoreWebView2EnvironmentOptions5

Undocumented in source.
version(Windows && inline_webview2_bindings && all)
interface ICoreWebView2EnvironmentOptions5 : IUnknown {
static const
GUID iid;
}

Members

Functions

get_EnableTrackingPrevention
HRESULT get_EnableTrackingPrevention(BOOL* value)

The EnableTrackingPrevention property is used to enable/disable tracking prevention feature in WebView2. This property enable/disable tracking prevention for all the WebView2's created in the same environment. By default this feature is enabled to block potentially harmful trackers and trackers from sites that aren't visited before and set to COREWEBVIEW2_TRACKING_PREVENTION_LEVEL_BALANCED or whatever value was last changed/persisted on the profile.

put_EnableTrackingPrevention
HRESULT put_EnableTrackingPrevention(BOOL value)

Sets the EnableTrackingPrevention property.

Meta