你正在訪問的內容是外部程式的映像位址,僅用於使用者加速訪問,本站無法保證其可靠性。當前的連結位址(單點即可複製)為 https://greasyfork.org.cn/zh-CN/scripts/420872-greasyfork-download-script-button/discussions/312683,源站連結 點此以跳轉

GreasyFork: download script button

If you have a script manager and you want to download some script without installing it, this script will help

< 脚本 GreasyFork: download script button 的反馈

评价:一般 - 脚本能用,但还有一些问题

§
发布于:2025-10-18

const response = await GM.xmlHttpRequest({...});

to

const response = await new Promise((resolve, reject) => {
...

Konf作者
§
发布于:2025-10-18

I don't understand this. What's the purpose of the promise?

Konf作者
§
发布于:2025-10-19

I guess you've meant that older implementations of the GM.xmlHttpRequest do not return a promise, so the script won't work. This should be fixed now

发布留言

登录以发布留言。