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

    Interface CustomErrorSettings

    Configures a custom error message for YouTube errors

    interface CustomErrorSettings {
        settings?: { signInRequiredSelector?: string };
        state: "enabled" | "disabled";
    }
    Index

    Properties

    Properties

    settings?: { signInRequiredSelector?: string }

    Custom error settings

    Type declaration

    • OptionalsignInRequiredSelector?: string

      A selector that, when not empty, indicates a sign-in required error

    state: "enabled" | "disabled"