Browse Source

God I fucking hate FF

pull/54/head
coomdev 2 years ago
parent
commit
6f8650b192
  1. 2
      README.md
  2. 10
      firefox/dist/main.js
  3. 2
      firefox/manifest.json
  4. 2
      firefox_update.json
  5. 9
      src/Components/App.svelte

2
README.md

@ -26,7 +26,7 @@ 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 JKCS (recommended)](https://git.coom.tech/araragi/JKCS/src/branch/master/README.md)
- 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.320.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.321.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.

10
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, 320];
define_BUILD_VERSION_default = [0, 321];
}
});
@ -18656,8 +18656,12 @@
} catch {
try {
const content = prompt("Paste it in here") || "";
set_store_value(settings, $settings.rsources = JSON.parse(content), $settings);
} catch {
let v = JSON.parse(content);
if (true)
v = cloneInto(v, window);
set_store_value(settings, $settings.rsources = v, $settings);
} catch (e) {
console.log(e);
alert("How can you fail so badly? pathetic...");
}
}

2
firefox/manifest.json

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

2
firefox_update.json

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

9
src/Components/App.svelte

@ -66,9 +66,12 @@
$settings.rsources = JSON.parse(content);
} catch {
try {
const content = prompt("Paste it in here") || '';
$settings.rsources = JSON.parse(content);
} catch {
const content = prompt("Paste it in here") || "";
let v = JSON.parse(content);
if (execution_mode == "ff_api") v = cloneInto(v, window);
$settings.rsources = v;
} catch (e) {
console.log(e);
alert("How can you fail so badly? pathetic...");
}
}

Loading…
Cancel
Save