@violentmonkey/types
    Preparing search index...

    Interface VMScriptGMTabOptions

    interface VMScriptGMTabOptions {
        active?: boolean;
        container?: number;
        insert?: boolean;
        pinned?: boolean;
    }
    Index
    active?: boolean

    Make the new tab active (i.e. open in foreground). Default as true.

    container?: number

    Firefox only.

    • not specified = reuse script's tab container
    • 0 = default (main) container
    • 1, 2, etc. = internal container index
    insert?: boolean

    Insert the new tab next to the current tab and set its openerTab so when it's closed the original tab will be focused automatically. When false or not specified, the usual browser behavior is to open the tab at the end of the tab list. Default as true.

    pinned?: boolean

    Pin the tab (i.e. show without a title at the beginning of the tab list). Default as false.