How to update tampermonkey script to a local file programmatically?

后端 未结 3 1066
自闭症患者
自闭症患者 2020-12-13 04:52

For security reasons, Tampermonkey scripts are not saved in accessible files, but in a plugin data. The only way to edit them live is to use Tampermonkey\'s integrated edito

3条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-13 05:12

    Trim21 provides, probably the best large-scale UserScript development solution so far, using webpack to cooperate LiveReloadPlugin realizes modular development and automated testing.

    Here is the project.

    It can use ES5/ES6 and TypeScript to develop modular scripts on IDE. It's really easy to use!

    Integrated LiveReloadPlugin, you can directly refresh any @matchURL.

    It is better than the previous scheme, which greatly improves the development efficiency of UserScript!

提交回复
热议问题