Compare commits

...

2 Commits

Author SHA1 Message Date
coomdev fc1bdfaa89 fix fireshit bug 7 months ago
coomdev 65b4d0b0fa fix fireshit shitting itself 7 months ago
  1. 2
      firefox/.web-extension-id
  2. 4
      src/utils.ts
  3. BIN
      web-ext-artifacts/b6c2040ec592476da352-0.358.xpi

2
firefox/.web-extension-id

@ -1,3 +1,3 @@
# This file was created by https://github.com/mozilla/web-ext
# Your auto-generated extension ID for addons.mozilla.org is:
{34ac4994-07f2-44d2-8599-682516a6c6a6}
{acaec1b2-c3cc-4127-a884-37022cf5d0ef}

4
src/utils.ts

@ -294,9 +294,9 @@ export const decodeCoom3Payload = async (buff: Buffer) => {
const { domain, file } = m.groups!;
const headers = await getHeaders(pee);
const res = await ifetch(pee, {
headers: { range: 'bytes=0-32767', 'user-agent': '' },
headers: { range: 'bytes=0-32767' },
mode: 'cors',
referrerPolicy: 'no-referrer',
//referrerPolicy: 'no-referrer', // apparently this makes fireshit shit itself
});
const size = +headers['content-length'] || 0;
const header = Buffer.from(await res.arrayBuffer());

BIN
web-ext-artifacts/b6c2040ec592476da352-0.358.xpi

Binary file not shown.
Loading…
Cancel
Save