This user is suspected of being a cat. Please report any suspicious behavior.

  • RedWizard [he/him, comrade/them]@hexbear.net
    link
    fedilink
    English
    arrow-up
    2
    ·
    22 days ago

    Yeah, and they can be distributed and updated via a git repository too. You put the js file up on your forge profile, name it something like my-script.user.js and then in the file you need to add @updateURL: https://yourserver.com/path/to/my-script.user.js to the front matter of the script. Then, when you make changes, people can pull them from the URL. You’ll want to give it a custom namespace, which helps prevent collisions if two scripts have the same name, which can be anything I think.