Browse Source

fix accidental telemetry bug

pull/46/head
coomdev 2 years ago
parent
commit
2ce8bc65b8
  1. 2
      README.md
  2. 4
      chrome/dist/main.js
  3. 2
      chrome/manifest.json
  4. 4
      dist/main.js
  5. 4
      firefox/dist/main.js
  6. 2
      firefox/manifest.json
  7. 2
      firefox_update.json
  8. 2
      main.meta.js
  9. 6
      main.user.js
  10. BIN
      pngextraembedder-0.294.xpi
  11. 2
      src/main.ts

2
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.

4
chrome/dist/main.js

@ -73,7 +73,7 @@
var define_BUILD_VERSION_default;
var init_define_BUILD_VERSION = __esm({
"<define:BUILD_VERSION>"() {
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({

2
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"
},

4
dist/main.js

@ -73,7 +73,7 @@
var define_BUILD_VERSION_default;
var init_define_BUILD_VERSION = __esm({
"<define:BUILD_VERSION>"() {
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({

4
firefox/dist/main.js

@ -73,7 +73,7 @@
var define_BUILD_VERSION_default;
var init_define_BUILD_VERSION = __esm({
"<define:BUILD_VERSION>"() {
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({

2
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"
},

2
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"}]}}}
{"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"}]}}}

2
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/*

6
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>"() {
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({

BIN
pngextraembedder-0.294.xpi

Binary file not shown.

2
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, {

Loading…
Cancel
Save