GM_fetch

fetch pollyfill using GM_xmlhttpRequest

נכון ליום 07-02-2021. ראה הגרסה האחרונה.

אין להתקין סקריפט זה ישירות. זוהי ספריה עבור סקריפטים אחרים // @require https://update.greasyfork.org/scripts/421384/898554/GM_fetch.js

יוצר
nyarau
גרסה
0.0.1.20210207152600
נוצר
07-02-2021
עודכן
07-02-2021
Size
1.2 קילו-בייט
רישיון
לא זמין

(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