Freigeben über


CoreWebView2TrackingPreventionLevel Enum

Definition

Tracking prevention levels.

public enum CoreWebView2TrackingPreventionLevel
type CoreWebView2TrackingPreventionLevel = 
Public Enum CoreWebView2TrackingPreventionLevel
Inheritance
CoreWebView2TrackingPreventionLevel

Fields

Name Value Description
None 0

Tracking prevention is turned off.

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](/microsoft-edge/web-platform/tracking-prevention#current-tracking-prevention-behavior)
        for fine-grained information on what is being blocked with this level and
        can change with different Edge versions.
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](/microsoft-edge/web-platform/tracking-prevention#current-tracking-prevention-behavior)
        for fine-grained information on what is being blocked with this level and
        can change with different Edge versions.
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](/microsoft-edge/web-platform/tracking-prevention#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