@duckduckgo/content-scope-scripts
    Preparing search index...

    Notification sent when a surrogate script is injected for a blocked tracker

    interface SurrogateInjected {
        blocked: boolean;
        entityName?: string | null;
        isSurrogate: boolean;
        ownerName?: string | null;
        pageUrl: string;
        reason?: string;
        url: string;
    }
    Index

    Properties

    blocked: boolean

    Whether the request was blocked

    entityName?: string | null

    The display name of the tracker entity

    isSurrogate: boolean

    Whether a surrogate was injected

    ownerName?: string | null

    The owner name of the tracker

    pageUrl: string

    The URL of the page where the tracker was detected

    reason?: string

    The reason for blocking (e.g., 'surrogate', 'matched rule')

    url: string

    The URL of the blocked tracker resource