Browse Source

haha

pull/4/head
coomdev 2 years ago
parent
commit
8ab54de701
  1. 2
      src/main.ts

2
src/main.ts

@ -11,7 +11,7 @@ const CUM0 = Buffer.from("CUM\0" + "0");
type Awaited<T> = T extends PromiseLike<infer U> ? U : T
const xmlhttprequest = GM ? GM.xmlHttpRequest : GM_xmlhttpRequest;
const xmlhttprequest = GM_xmlhttpRequest ? GM_xmlhttpRequest : (GM ? GM.xmlHttpRequest : GM_xmlhttpRequest);
function GM_fetch(...[url, opt]: Parameters<typeof fetch>) {
function blobTo(to: string, blob: Blob) {

Loading…
Cancel
Save