Browse Source

One Small Favour (this should neuter PEE from working on archives to avoid 429s at least and tab crashing at most, because an archive host isn't expected to do their due dilligence and fetch the actual canonical file rather than the CloudFlare molested cached copy)

pull/71/head
mrq 2 months ago
parent
commit
ae98fef3d6
  1. 2
      chrome/b4k-csp.json
  2. 19
      chrome/dist/main.js
  3. 2
      chrome/manifest.json
  4. 2508
      dist/main.js
  5. 19
      firefox/dist/main.js
  6. 2
      firefox/manifest.json
  7. 2
      firefox_update.json
  8. 2
      main.meta.js
  9. 2510
      main.user.js
  10. 4
      src/websites/index.ts

2
chrome/b4k-csp.json

@ -12,7 +12,7 @@
},
"condition": {
"requestDomains": [
"arch.b4k.co", "desuarchive.org", "boards.4chan.org", "boards.4channel.org", "kohlchan.net"
"boards.4chan.org", "boards.4channel.org"
],
"resourceTypes": [
"main_frame"

19
chrome/dist/main.js

File diff suppressed because one or more lines are too long

2
chrome/manifest.json

@ -2,7 +2,7 @@
"manifest_version": 3,
"name": "PngExtraEmbedder",
"description": "Discover embedded files on 4chan and archives!",
"version": "0.355",
"version": "0.361",
"icons": {
"64": "1449696017588.png"
},

2508
dist/main.js

File diff suppressed because one or more lines are too long

19
firefox/dist/main.js

File diff suppressed because one or more lines are too long

2
firefox/manifest.json

@ -7,7 +7,7 @@
},
"name": "PngExtraEmbedder",
"description": "Discover embedded files on 4chan and archives!",
"version": "0.355",
"version": "0.361",
"icons": {
"64": "1449696017588.png"
},

2
firefox_update.json

@ -1 +1 @@
{"addons":{"{34ac4994-07f2-44d2-8599-682516a6c6a6}":{"updates":[{"version":"0.355","update_link":"https://git.coom.tech/fuckjannies/lolipiss/raw/branch/%E4%B8%AD%E5%87%BA%E3%81%97/pngextraembedder-0.355.xpi"}]}}}
{"addons":{"{34ac4994-07f2-44d2-8599-682516a6c6a6}":{"updates":[{"version":"0.361","update_link":"https://git.coom.tech/fuckjannies/lolipiss/raw/branch/%E4%B8%AD%E5%87%BA%E3%81%97/pngextraembedder-0.361.xpi"}]}}}

2
main.meta.js

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

2510
main.user.js

File diff suppressed because one or more lines are too long

4
src/websites/index.ts

@ -137,7 +137,10 @@ export const getQueryProcessor = (is4chanX: boolean) => {
return FoolFuuka;
};
// would probably be better to instead add in a setting to enable/disable archive loading even though it won't work 99.999% of the time
// the odds of an archive's flavor of scraper downloading files in a way we prefer is practically null
const altdomains = [
/*
"desuarchive.org",
"archived.moe",
"archive.nyafuu.org",
@ -148,6 +151,7 @@ const altdomains = [
"fireden.net",
"thebarchive.com",
"archiveofsins.com",
*/
"kohlchan.net",
"nocsp.kohlchan.net",
];

Loading…
Cancel
Save