evazion / translate-pixiv-tags

MIT License
35 stars 6 forks source link

Migrate to library GM shim #28

Closed BrokenEagle closed 5 years ago

BrokenEagle commented 5 years ago

Moved the script code unrelated to the main functionality out into its own library file.

Note that a new tag/release will need to be created, and the commit 9e9a60e will have to be edited or a commit will need to be added to point to the tag on the evazion repository instead.

The reason a tag is being used is that it provides a convenient mechanism that branches don't have which can force the userscript to use a newer version of external files as required. This is because the external resource checker only checks weekly by default, and can be set to never as well. However, if the URL changes, which is what happens when a new tag gets added, the userscript manager is forced to dump the current file and get the new file.