Greasy Fork is available in English.

gmxhr-fetch

A fetch-like polyfill for userscript managers.(TM,GM,VM)

Per 06-10-2018. Zie de nieuwste versie.

Dit script moet niet direct worden geïnstalleerd - het is een bibliotheek voor andere scripts om op te nemen met de meta-richtlijn // @require https://update.greasyfork.org/scripts/372917/634485/gmxhr-fetch.js

Maker
maple3142
Versie
0.0.1.20181006051427
Gemaakt op
06-10-2018
Bijgewerkt op
06-10-2018
Licentie
N.v.t.

gmxhr-fetch

A fetch-like polyfill for userscript managers.(TM,GM,VM)

To use

Add the following content into your script's metablock.

// @require https://unpkg.com/gmxhr-fetch
// @grant   GM_xmlhttpRequest
// @grant   GM.xmlHttpRequest

Then you can call gmfetch anywhere in the script just like fetch.

gmfetch('https://example.com').then(console.log)