gmxhr-fetch

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

ეს სკრიპტი არ უნდა იყოს პირდაპირ დაინსტალირებული. ეს ბიბლიოთეკაა, სხვა სკრიპტებისთვის უნდა ჩართეთ მეტა-დირექტივაში // @require https://update.greasyfork.dpdns.org/scripts/372917/639024/gmxhr-fetch.js.

ავტორი
maple3142
ვერსია
0.0.1.20181022191154
შექმნილია
06.10.2018
განახლებულია
22.10.2018
Size
1,39 KB
ლიცენზია
პ/გ

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)
长期地址
遇到问题?请前往 GitHub 提 Issues,或加Q群1031348184

赞助商

Fishcpy

广告

Rainyun

注册一下就行

Rainyun

一年攒够 12 元