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;
    require: string[];
    resources: {
        name: string;
        url: string;
    }[];
    runAt: "" | VMScriptRunAt;
    supportURL?: string;
    unwrap?: boolean;
    updateURL?: string;
    version: string;
}

Properties

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
require: string[]
resources: {
    name: string;
    url: string;
}[]

Type declaration

  • name: string
  • url: string
runAt: "" | VMScriptRunAt
supportURL?: string
unwrap?: boolean
updateURL?: string
version: string