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

    Interface CustomErrorSettings

    Configures a custom error message for YouTube errors

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

    Properties

    Properties

    settings?: { signInRequiredSelector?: string; youtubeErrorSelector?: string }

    Custom error settings

    Type declaration

    • OptionalsignInRequiredSelector?: string

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

    • OptionalyoutubeErrorSelector?: string

      A selector that, when not empty, indicates a general YouTube error

    state: "enabled" | "disabled"