Skip to content

Invalid user scripts are not displayed in the editor #879

Description

@ACTCD

User script files (.user.js) that currently fail to parse due to missing or incorrect metadata will not appear in the built-in editor.

I think this is not an expected behavior as we don't have the opportunity to modify and correct them via the built-in editor.

Example:

// ==InvalidUserScript==
// @name        NewScript-5undqj7x
// @description This is your new file, start writing code
// @match       *://*/*
// ==/InvalidUserScript==

console.log("InvalidUserScript");

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions