Skip to content

[Bug] Setting the wrong user @match prevents opening the menu #3171

@esperecyan

Description

@esperecyan

If the incorrect syntax “user@match” is set, then the Greasemonkey menu will not open at all.

It is still possible to recover from this situation, as Greasemonkey menus can still be opened in about:addons and so on.

Error: @match: Invalid host specified. MatchPattern.js:81:11

if (!REG_HOST.test(host)) {
throw new Error("@match: Invalid host specified.");
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions