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

    A single condition checked by expectation/condition actions: that an element exists, that an element contains text, or that the current URL contains a string.

    interface Expectation {
        expect?: string;
        failSilently?: boolean;
        parent?: string;
        selector: string;
        type: "text" | "element" | "url";
    }
    Index

    Properties

    expect?: string

    expected substring for text/url checks

    failSilently?: boolean

    treat a failed check as a non-error skip

    parent?: string

    optional parent selector to scroll into view first (element checks)

    selector: string

    target element selector (unused for url)

    type: "text" | "element" | "url"

    what to check