GM_fetch

fetch pollyfill using GM_xmlhttpRequest

Από την 07/02/2021. Δείτε την τελευταία έκδοση.

Αυτός ο κώδικας δεν πρέπει να εγκατασταθεί άμεσα. Είναι μια βιβλιοθήκη για άλλους κώδικες που περιλαμβάνεται μέσω της οδηγίας meta // @require https://update.greasyfork.org/scripts/421384/898554/GM_fetch.js

Δημιουργός
nyarau
Έκδοση
0.0.1.20210207152600
Δημιουργήθηκε την
07/02/2021
Ενημερώθηκε την
07/02/2021
Μέγεθος
1 KB
Άδεια
Μη διαθέσιμη

(personal uses, with no guarantee what so ever)

fetch pollyfill with resp.text/resp.json/resp.blob/resp.arrayBuffer support using GM_xmlhttpRequest, not yet 100% replication of fetch API (eg. errors)

Written for / tested with TamperMonkey, may work for GeaseMonkey or others

Don't forget to add permissions

// @connect  api.example.com
// @grant    GM_xmlhttpRequest