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

답글 게시

답글을 게시하려면 로그인하세요.