CoreWebView2TrackingPreventionLevel Enum

Definition

Tracking prevention levels.

public enum CoreWebView2TrackingPreventionLevel
type CoreWebView2TrackingPreventionLevel = 
Public Enum CoreWebView2TrackingPreventionLevel
Inheritance
CoreWebView2TrackingPreventionLevel

Fields

Balanced 2

The default level of tracking prevention. Set to this level to protect against social media tracking on top of malicious trackers. Content and ads will likely be less personalized. See Current tracking prevention behavior for fine-grained information on what is being blocked with this level and can change with different Edge versions.

Basic 1

The least restrictive level of tracking prevention. Set to this level to protect against malicious trackers but allows most other trackers and personalize content and ads. See Current tracking prevention behavior for fine-grained information on what is being blocked with this level and can change with different Edge versions.

None 0

Tracking prevention is turned off.

Strict 3

The most restrictive level of tracking prevention. Set to this level to protect against malicious trackers and most trackers across sites. Content and ads will likely have minimal personalization. This level blocks the most trackers but could cause some websites to not behave as expected. See Current tracking prevention behavior for fine-grained information on what is being blocked with this level and can change with different Edge versions.

Applies to