Skip to content

GM.info is a function #229

Description

@iFelix18

In other userscript managers GM.info is an object, see Greasemonkey, Violentmonkey, and Tampermonkey.

A sample script:

// ==UserScript==
// @name         GM.info test script
// @description  Test script
// @version      1.0.0
// @match        *://*/*
// ==/UserScript==

console.log(typeof GM.info) // object
console.log(GM.info.script.name) // GM.info test script

System Information:

iOS version: 15.3.1
Userscripts version: 1.1(17)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status
    Release

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions