Scripts with @grant metadata don't work · Issue #790 · quoid/userscripts · GitHub
Skip to content

Scripts with @grant metadata don't work #790

Description

@DanWaLes

Userscripts that use @grant metadata and rely on GM.* or GM_addStyle don't seem to work
Upon trying to debug why using alert statements to see what the object type using typeof, the resulting type is undefined

Example script:
https://greasyfork.org/en/scripts/436913-greasy-fork-dark-theme
I modified the script locally to use @match instead of @include using // @match https://greasyfork.org/*. Modified script using Subtext

iOS 17.7.2
Userscripts 1.7.1 (96)

The script runs fine on LibreWolf 136.0.4-1 with Violetmonkey 2.31.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions