【问题标题】:How to make userscript auto update from private domain/github?如何使用户脚本从私有域/github 自动更新?
【发布时间】:2022-08-23 17:48:28
【问题描述】:

我正在为 Tampermonkey 开发用户脚本并将其存储在私人 Github 上。自动更新似乎不起作用。

  1. Tampermonkey 是否使用自己的服务器来检查更新?

  2. 是否可以让用户脚本从私有域自动更新?

    我在用户脚本中使用这些属性:

    // @downloadURL  https://github02.private.domain/raw/github-username/repo-name/master/userscript.js
    // @updateURL    https://github02.private.domain/raw/github-username/repo-name/master/userscript.js
    

    标签: tampermonkey auto-update userscripts


    【解决方案1】:

    您可以在Github Page 上提交您的用户脚本。在您可以使用您的公共 github 页面链接进行更新之后。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2021-03-02
      • 2014-12-12
      • 2021-09-04
      • 1970-01-01
      • 1970-01-01
      • 2020-04-11
      • 2021-05-03
      • 1970-01-01
      相关资源
      最近更新 更多