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

返信を投稿

返信を投稿するにはログインしてください