diff --git a/browser/GMPolyfill.js b/browser/GMPolyfill.js index 3e0606d78..6f05ca0bf 100644 --- a/browser/GMPolyfill.js +++ b/browser/GMPolyfill.js @@ -92,6 +92,7 @@ function GM_fetch(url, opt) { resp.arrayBuffer = () => blobTo("arrayBuffer", blob); resp.text = () => blobTo("text", blob); resp.json = async () => JSON.parse(await blobTo("text", blob)); + resp.headers = new Headers(parseHeaders(resp.responseHeaders)); resolve(resp); }; options.ontimeout = () => reject("fetch timeout"); diff --git a/src/utils/constants.ts b/src/utils/constants.ts index 0805872e4..d5faa43d9 100644 --- a/src/utils/constants.ts +++ b/src/utils/constants.ts @@ -201,5 +201,9 @@ export const Devs = /* #__PURE__*/ Object.freeze({ lewisakura: { name: "lewisakura", id: 96269247411400704n + }, + cloudburst: { + name: "cloudburst", + id: 892128204150685769n } });