diff --git a/README.md b/README.md index 8ab87e2..7aed1d7 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ Please report any issue you have with those (only for mainstream browsers) Also, use this if you plan to use b4k's archive. - [Install 4chanX (recommended)](https://www.4chan-x.net/builds/4chan-X.user.js) -- Install the correct WebExtension for your Browser ([Firefox](https://git.coom.tech/fuckjannies/lolipiss/raw/branch/%E4%B8%AD%E5%87%BA%E3%81%97/pngextraembedder-0.292.xpi) or Chrome-based (Down for "maintainance")) +- Install the correct WebExtension for your Browser ([Firefox](https://git.coom.tech/fuckjannies/lolipiss/raw/branch/%E4%B8%AD%E5%87%BA%E3%81%97/pngextraembedder-0.294.xpi) or Chrome-based (Down for "maintainance")) For FF users, the extension is signed so you can just drag and drop it on your about:addons tab. diff --git a/chrome/dist/main.js b/chrome/dist/main.js index dfe9b8b..6b4b8bd 100644 --- a/chrome/dist/main.js +++ b/chrome/dist/main.js @@ -73,7 +73,7 @@ var define_BUILD_VERSION_default; var init_define_BUILD_VERSION = __esm({ ""() { - define_BUILD_VERSION_default = [0, 292]; + define_BUILD_VERSION_default = [0, 294]; } }); @@ -21624,7 +21624,7 @@ try { const boardname = location.pathname.match(/\/([^/]*)\//)[1]; const reshaped = Object.fromEntries([...new Set(pendingPosts.map((e) => e.op))].map((e) => [e, pendingPosts.filter((p) => p.op == e).map((e2) => e2.id)])); - const reshaped2 = Object.fromEntries([...new Set(pendingNoPosts.map((e) => e.op))].map((e) => [e, pendingPosts.filter((p) => p.op == e).map((e2) => e2.id)])); + const reshaped2 = Object.fromEntries([...new Set(pendingNoPosts.map((e) => e.op))].map((e) => [e, pendingNoPosts.filter((p) => p.op == e).map((e2) => e2.id)])); const res = await ifetch("https://shoujo.coom.tech/listing/" + boardname, { method: "POST", body: JSON.stringify({ diff --git a/chrome/manifest.json b/chrome/manifest.json index 39c78fc..a6edad5 100644 --- a/chrome/manifest.json +++ b/chrome/manifest.json @@ -2,7 +2,7 @@ "manifest_version": 3, "name": "PngExtraEmbedder", "description": "Discover embedded files on 4chan and archives!", - "version": "0.292", + "version": "0.294", "icons": { "64": "1449696017588.png" }, diff --git a/dist/main.js b/dist/main.js index e4d6407..63c4ed2 100644 --- a/dist/main.js +++ b/dist/main.js @@ -73,7 +73,7 @@ var define_BUILD_VERSION_default; var init_define_BUILD_VERSION = __esm({ ""() { - define_BUILD_VERSION_default = [0, 292]; + define_BUILD_VERSION_default = [0, 294]; } }); @@ -21458,7 +21458,7 @@ try { const boardname = location.pathname.match(/\/([^/]*)\//)[1]; const reshaped = Object.fromEntries([...new Set(pendingPosts.map((e) => e.op))].map((e) => [e, pendingPosts.filter((p) => p.op == e).map((e2) => e2.id)])); - const reshaped2 = Object.fromEntries([...new Set(pendingNoPosts.map((e) => e.op))].map((e) => [e, pendingPosts.filter((p) => p.op == e).map((e2) => e2.id)])); + const reshaped2 = Object.fromEntries([...new Set(pendingNoPosts.map((e) => e.op))].map((e) => [e, pendingNoPosts.filter((p) => p.op == e).map((e2) => e2.id)])); const res = await ifetch("https://shoujo.coom.tech/listing/" + boardname, { method: "POST", body: JSON.stringify({ diff --git a/firefox/dist/main.js b/firefox/dist/main.js index 4db3e7b..291e370 100644 --- a/firefox/dist/main.js +++ b/firefox/dist/main.js @@ -73,7 +73,7 @@ var define_BUILD_VERSION_default; var init_define_BUILD_VERSION = __esm({ ""() { - define_BUILD_VERSION_default = [0, 292]; + define_BUILD_VERSION_default = [0, 294]; } }); @@ -21601,7 +21601,7 @@ try { const boardname = location.pathname.match(/\/([^/]*)\//)[1]; const reshaped = Object.fromEntries([...new Set(pendingPosts.map((e) => e.op))].map((e) => [e, pendingPosts.filter((p) => p.op == e).map((e2) => e2.id)])); - const reshaped2 = Object.fromEntries([...new Set(pendingNoPosts.map((e) => e.op))].map((e) => [e, pendingPosts.filter((p) => p.op == e).map((e2) => e2.id)])); + const reshaped2 = Object.fromEntries([...new Set(pendingNoPosts.map((e) => e.op))].map((e) => [e, pendingNoPosts.filter((p) => p.op == e).map((e2) => e2.id)])); const res = await ifetch("https://shoujo.coom.tech/listing/" + boardname, { method: "POST", body: JSON.stringify({ diff --git a/firefox/manifest.json b/firefox/manifest.json index 060f486..57285c4 100644 --- a/firefox/manifest.json +++ b/firefox/manifest.json @@ -7,7 +7,7 @@ }, "name": "PngExtraEmbedder", "description": "Discover embedded files on 4chan and archives!", - "version": "0.292", + "version": "0.294", "icons": { "64": "1449696017588.png" }, diff --git a/firefox_update.json b/firefox_update.json index 35ed49b..f655d63 100644 --- a/firefox_update.json +++ b/firefox_update.json @@ -1 +1 @@ -{"addons":{"{34ac4994-07f2-44d2-8599-682516a6c6a6}":{"updates":[{"version":"0.292","update_link":"https://git.coom.tech/fuckjannies/lolipiss/raw/branch/%E4%B8%AD%E5%87%BA%E3%81%97/pngextraembedder-0.292.xpi"}]}}} \ No newline at end of file +{"addons":{"{34ac4994-07f2-44d2-8599-682516a6c6a6}":{"updates":[{"version":"0.294","update_link":"https://git.coom.tech/fuckjannies/lolipiss/raw/branch/%E4%B8%AD%E5%87%BA%E3%81%97/pngextraembedder-0.294.xpi"}]}}} \ No newline at end of file diff --git a/main.meta.js b/main.meta.js index 4022b11..ebf733a 100644 --- a/main.meta.js +++ b/main.meta.js @@ -1,7 +1,7 @@ // ==UserScript== // @name PNGExtraEmbed // @namespace https://coom.tech/ -// @version 0.292 +// @version 0.294 // @description uhh // @author You // @match https://boards.4channel.org/* diff --git a/main.user.js b/main.user.js index 9859959..fd8799d 100644 --- a/main.user.js +++ b/main.user.js @@ -1,7 +1,7 @@ // ==UserScript== // @name PNGExtraEmbed // @namespace https://coom.tech/ -// @version 0.292 +// @version 0.294 // @description uhh // @author You // @match https://boards.4channel.org/* @@ -109,7 +109,7 @@ const _DOMParser = DOMParser; var define_BUILD_VERSION_default; var init_define_BUILD_VERSION = __esm({ ""() { - define_BUILD_VERSION_default = [0, 292]; + define_BUILD_VERSION_default = [0, 294]; } }); @@ -21494,7 +21494,7 @@ const _DOMParser = DOMParser; try { const boardname = location.pathname.match(/\/([^/]*)\//)[1]; const reshaped = Object.fromEntries([...new Set(pendingPosts.map((e) => e.op))].map((e) => [e, pendingPosts.filter((p) => p.op == e).map((e2) => e2.id)])); - const reshaped2 = Object.fromEntries([...new Set(pendingNoPosts.map((e) => e.op))].map((e) => [e, pendingPosts.filter((p) => p.op == e).map((e2) => e2.id)])); + const reshaped2 = Object.fromEntries([...new Set(pendingNoPosts.map((e) => e.op))].map((e) => [e, pendingNoPosts.filter((p) => p.op == e).map((e2) => e2.id)])); const res = await ifetch("https://shoujo.coom.tech/listing/" + boardname, { method: "POST", body: JSON.stringify({ diff --git a/pngextraembedder-0.294.xpi b/pngextraembedder-0.294.xpi new file mode 100644 index 0000000..7665e50 Binary files /dev/null and b/pngextraembedder-0.294.xpi differ diff --git a/src/main.ts b/src/main.ts index 1f9c7b5..b394d94 100644 --- a/src/main.ts +++ b/src/main.ts @@ -178,7 +178,7 @@ const signalNewEmbeds = debounce(async () => { const boardname = location.pathname.match(/\/([^/]*)\//)![1]; // restructure to minimize redundancy const reshaped = Object.fromEntries([...new Set(pendingPosts.map(e => e.op))].map(e => [e, pendingPosts.filter(p => p.op == e).map(e => e.id)])); - const reshaped2 = Object.fromEntries([...new Set(pendingNoPosts.map(e => e.op))].map(e => [e, pendingPosts.filter(p => p.op == e).map(e => e.id)])); + const reshaped2 = Object.fromEntries([...new Set(pendingNoPosts.map(e => e.op))].map(e => [e, pendingNoPosts.filter(p => p.op == e).map(e => e.id)])); //console.log(reshaped); const res = await ifetch("https://shoujo.coom.tech/listing/" + boardname, {