Дискусии » Разработка

【求助】将github的分支脚本文件url地址导入到greasyfork中提示不是脚本文件.

§
Публикуван на: 15.11.2021

步骤是这样的:
1.设置webhook并将其填入github项目仓库webhooks
2.github仓库提交pull分支js文件(js文件格式内容就是油猴里面复制出来新建的js文件)
3.在greasyfork导入github的分支js文件的url地址(按照说明不能用main否则无法更新)
4.提交分支url导入(提示不能导入,不是一个脚本文件)
如图

§
Публикуван на: 15.11.2021

调整图片顺序

§
Публикуван на: 15.11.2021

前面两步配置应该是没有问题的。

§
Публикуван на: 18.11.2021

You need to post a URL to a page that serves raw JS, not a GitHub JS page. https://raw.githubusercontent.com/shawlj/GreasyScript/shawlj-patch-1/GreasyforkWebili-V1.0.js should work.

I see, thanks!

§
Публикуван на: 18.11.2021

You need to post a URL to a page that serves raw JS, not a GitHub JS page. https://raw.githubusercontent.com/shawlj/GreasyScript/shawlj-patch-1/GreasyforkWebili-V1.0.js should work.

I have a question, after the tampermonkey is edited and saved, does it support synchronization to the github branch?

Публикувайте отговор

Влезте, за да публикувате отговор.