Browse Source

Did a small oopies teehee

pull/46/head
coomdev 2 years ago
parent
commit
fb5eab143e
  1. 2
      main.meta.js
  2. 4
      main.user.js
  3. 2
      src/pngv3.ts

2
main.meta.js

@ -1,7 +1,7 @@
// ==UserScript==
// @name PNGExtraEmbed
// @namespace https://coom.tech/
// @version 0.124
// @version 0.125
// @description uhh
// @author You
// @match https://boards.4channel.org/*

4
main.user.js

@ -1,7 +1,7 @@
// ==UserScript==
// @name PNGExtraEmbed
// @namespace https://coom.tech/
// @version 0.124
// @version 0.125
// @description uhh
// @author You
// @match https://boards.4channel.org/*
@ -11468,7 +11468,7 @@
case "tEXt":
buff = chunk;
if (buff.slice(4, 4 + CUM3.length).equals(CUM3)) {
return await decodeCoom3Payload(buff.slice(4, 4 + CUM3.length));
return await decodeCoom3Payload(buff.slice(4 + CUM3.length));
}
break;
case "IDAT":

2
src/pngv3.ts

@ -27,7 +27,7 @@ const extract = async (png: Buffer) => {
case 'tEXt':
buff = chunk;
if (buff.slice(4, 4 + CUM3.length).equals(CUM3)) {
return await decodeCoom3Payload(buff.slice(4, 4 + CUM3.length));
return await decodeCoom3Payload(buff.slice(4 + CUM3.length));
}
break;
case 'IDAT':

Loading…
Cancel
Save