@violentmonkey/types
    Preparing search index...

    Interface VMScriptGMInfoScriptMeta

    GM_info.script and GM.info.script Non-optional string property will be an empty string '' if omitted.

    interface VMScriptGMInfoScriptMeta {
        antifeature?: string[];
        author?: string;
        compatible?: string[];
        connect?: string[];
        description: string;
        downloadURL?: string;
        excludeMatches: string[];
        excludes: string[];
        grant: string[];
        homepage?: string;
        homepageURL?: string;
        icon?: string;
        includes: string[];
        matches: string[];
        name: string;
        namespace: string;
        noframes?: boolean;
        options: {
            check_for_updates: boolean;
            inject_into: VMScriptInjectInto;
            noframes: boolean;
            override: {
                merge_exclude_matches: boolean;
                merge_excludes: boolean;
                merge_includes: boolean;
                merge_matches: boolean;
                merge_tags: boolean;
                use_exclude_matches: string[];
                use_excludes: string[];
                use_includes: string[];
                use_matches: string[];
            };
            run_at: VMScriptRunAt;
            tags: string[];
            user_modified: number;
        };
        require: string[];
        resources: { name: string; url: string }[];
        runAt: "" | VMScriptRunAt;
        supportURL?: string;
        tags?: string[];
        unwrap?: boolean;
        updateURL?: string;
        version: string;
    }
    Index
    antifeature?: string[]
    author?: string
    compatible?: string[]
    connect?: string[]
    description: string
    downloadURL?: string
    excludeMatches: string[]
    excludes: string[]
    grant: string[]

    Empty is the same as @grant none

    homepage?: string

    Use homepageURL instead

    homepageURL?: string
    icon?: string
    includes: string[]
    matches: string[]
    name: string
    namespace: string
    noframes?: boolean
    options: {
        check_for_updates: boolean;
        inject_into: VMScriptInjectInto;
        noframes: boolean;
        override: {
            merge_exclude_matches: boolean;
            merge_excludes: boolean;
            merge_includes: boolean;
            merge_matches: boolean;
            merge_tags: boolean;
            use_exclude_matches: string[];
            use_excludes: string[];
            use_includes: string[];
            use_matches: string[];
        };
        run_at: VMScriptRunAt;
        tags: string[];
        user_modified: number;
    }

    User options and overrides for the script

    Type Declaration

    • check_for_updates: boolean
    • inject_into: VMScriptInjectInto
    • noframes: boolean
    • override: {
          merge_exclude_matches: boolean;
          merge_excludes: boolean;
          merge_includes: boolean;
          merge_matches: boolean;
          merge_tags: boolean;
          use_exclude_matches: string[];
          use_excludes: string[];
          use_includes: string[];
          use_matches: string[];
      }
      • merge_exclude_matches: boolean

        Keep the script's @exclude-match

      • merge_excludes: boolean

        Keep the script's @exclude

      • merge_includes: boolean

        Keep the script's @include

      • merge_matches: boolean

        Keep the script's @match

      • merge_tags: boolean

        Keep the script's @tag

        VM2.35.2

      • use_exclude_matches: string[]

        User overridden @exclude-match

      • use_excludes: string[]

        User overridden @exclude

      • use_includes: string[]

        User overridden @include

      • use_matches: string[]

        User overridden @match

    • run_at: VMScriptRunAt
    • tags: string[]

      User overridden @tag

      VM2.35.2

    • user_modified: number

      Last modification by the user; convertible as new Date(user_modified)

    VM2.31.1

    require: string[]
    resources: { name: string; url: string }[]
    runAt: "" | VMScriptRunAt
    supportURL?: string
    tags?: string[]

    VM2.37.0

    unwrap?: boolean
    updateURL?: string
    version: string