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

    A single element to click. When parent.profileMatch is present, the click is scoped to the best-matching profile element rather than the document.

    interface ClickElement {
        failSilently?: boolean;
        multiple?: boolean;
        parent?: { profileMatch: { profile: ProfileSpec; selector: string } };
        selector: string;
        type?: string;
    }
    Index

    Properties

    failSilently?: boolean

    treat a missing/disabled element as a non-error skip

    multiple?: boolean

    click every match rather than just the first

    parent?: { profileMatch: { profile: ProfileSpec; selector: string } }

    scope the click to a matched profile element instead of the document

    Type Declaration

    • profileMatch: { profile: ProfileSpec; selector: string }

      an extract-style spec; the highest-scoring matching element becomes the click root

    selector: string

    selector for the element to click

    type?: string

    informational element type, e.g. "button"