mirror of
https://git.coom.tech/fuckjannies/lolipiss.git
synced 2024-06-27 21:12:36 +00:00
Some cleanup
This commit is contained in:
parent
c5512f6a79
commit
bba1915321
24
README.md
24
README.md
|
@ -11,27 +11,23 @@ Also supports desuarchive.
|
||||||
Kohlchan support is being worked on. Right now works barely on Chrome.
|
Kohlchan support is being worked on. Right now works barely on Chrome.
|
||||||
There's no server-side caching for kohlchan. Buttons to embed will only be added to the quick reply form.
|
There's no server-side caching for kohlchan. Buttons to embed will only be added to the quick reply form.
|
||||||
|
|
||||||
|
Supported boards:
|
||||||
|
- [x] 4chan
|
||||||
|
- [x] FoolFuuka (desuarchive, b4k, etc)
|
||||||
|
- [x] Kohlchan (WIP)
|
||||||
|
|
||||||
How to Install
|
How to Install
|
||||||
==============
|
==============
|
||||||
|
|
||||||
Note: 4chanX isn't a hard requirement, just recommended because it's overall a nicer experience. If you don't want to use 4chanX, make sure the native 4chan extension is enabled in your settings.
|
Note for 4chan: 4chanX isn't a hard requirement, just recommended because it's overall a nicer experience. If you don't want to use 4chanX, make sure the native 4chan extension is enabled in your settings.
|
||||||
|
|
||||||
## Teh olde way
|
## PEE 4 Dummies
|
||||||
|
|
||||||
- Make sure you're using a decent Webkit-based browser (Chromium derivatives) or Firefox.
|
|
||||||
- [Install ViolentMonkey](https://violentmonkey.github.io/get-it/) (it is preferable to TamperMonkey(closed source) and GreaseMonkey(abandonned shit)), use [ViolentMonkey Beta](https://violentmonkey.github.io/get-it/#beta-release) if you want to spite the b4k meanie admin (based & redpilled). Be sure to read the trouble shooting section to know how to set this up.
|
|
||||||
- [Install 4chanX (recommended)](https://www.4chan-x.net/builds/4chan-X.user.js)
|
|
||||||
- Use the prebuilt [main.user.js](https://git.coom.tech/coomdev/PEE/raw/branch/%E4%B8%AD%E5%87%BA%E3%81%97/main.user.js)
|
|
||||||
- Reorder PEE and 4chanX in the dashboard so that PEE runs BEFORE 4chanX (or add blob: to your 4chanX JS whitelist)
|
|
||||||
|
|
||||||
## The newer way (WIP)
|
|
||||||
|
|
||||||
Please report any issue you have with those (only for mainstream browsers)
|
Please report any issue you have with those (only for mainstream browsers)
|
||||||
|
|
||||||
Also, use this if you plan to use b4k's archive.
|
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 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.325.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.325.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.
|
For FF users, the extension is signed so you can just drag and drop it on your about:addons tab.
|
||||||
|
@ -40,7 +36,7 @@ Chrom* users can now install directly from the chrome webstore.
|
||||||
|
|
||||||
Known bugs:
|
Known bugs:
|
||||||
- JPEG embedding might not work with some very big files (> 1MB).
|
- JPEG embedding might not work with some very big files (> 1MB).
|
||||||
- GIFs and WebMs got patched :(
|
- 4chan: GIFs and WebMs got patched :(
|
||||||
|
|
||||||
### Side loading
|
### Side loading
|
||||||
|
|
||||||
|
@ -85,7 +81,7 @@ Copy paste this and click "bulk-import"
|
||||||
"domain": "danbooru.donmai.us",
|
"domain": "danbooru.donmai.us",
|
||||||
"endpoint": "/posts.json?tags=md5:",
|
"endpoint": "/posts.json?tags=md5:",
|
||||||
"view": "https://danbooru.donmai.us/posts/"
|
"view": "https://danbooru.donmai.us/posts/"
|
||||||
},
|
}
|
||||||
{"name": "Lolibooru",
|
{"name": "Lolibooru",
|
||||||
"domain": "lolibooru.moe",
|
"domain": "lolibooru.moe",
|
||||||
"endpoint": "/post.json?tags=md5:",
|
"endpoint": "/post.json?tags=md5:",
|
||||||
|
@ -105,7 +101,7 @@ How to Build
|
||||||
|
|
||||||
`npm i` and
|
`npm i` and
|
||||||
|
|
||||||
`npm run build` to build the userscript version.
|
`npm run build` to build the userscript version. (!!! DEPRECIATED !!!)
|
||||||
`npm run build_chrome` to build the chromium webextension.
|
`npm run build_chrome` to build the chromium webextension.
|
||||||
`npm run build_ff` to build the firefox webextension. (You'll have to do the signing yourself, though)
|
`npm run build_ff` to build the firefox webextension. (You'll have to do the signing yourself, though)
|
||||||
|
|
||||||
|
|
|
@ -107,7 +107,7 @@ const manif3 = {
|
||||||
minify: false,
|
minify: false,
|
||||||
bundle: true,
|
bundle: true,
|
||||||
treeShaking: true,
|
treeShaking: true,
|
||||||
target: "es2021",
|
target: "es2022",
|
||||||
loader: {
|
loader: {
|
||||||
'.css': 'text',
|
'.css': 'text',
|
||||||
'.png': 'binary'
|
'.png': 'binary'
|
||||||
|
|
|
@ -122,7 +122,7 @@ const manif = {
|
||||||
minify: false,
|
minify: false,
|
||||||
bundle: true,
|
bundle: true,
|
||||||
treeShaking: true,
|
treeShaking: true,
|
||||||
target: "es2021",
|
target: "es2022",
|
||||||
loader: {
|
loader: {
|
||||||
'.css': 'text',
|
'.css': 'text',
|
||||||
'.png': 'binary'
|
'.png': 'binary'
|
||||||
|
|
36
main.meta.js
36
main.meta.js
|
@ -1,36 +0,0 @@
|
||||||
// ==UserScript==
|
|
||||||
// @name PNGExtraEmbed
|
|
||||||
// @namespace https://coom.tech/
|
|
||||||
// @version 0.324
|
|
||||||
// @description uhh
|
|
||||||
// @author You
|
|
||||||
// @match https://boards.4channel.org/*
|
|
||||||
// @match https://boards.4chan.org/*
|
|
||||||
// @match https://desuarchive.org/*
|
|
||||||
// @match https://archived.moe/*
|
|
||||||
// @match https://archive.nyafuu.org/*
|
|
||||||
// @match https://arch.b4k.co/*
|
|
||||||
// @match https://archive.wakarimasen.moe/*
|
|
||||||
// @match https://fireden.net/*
|
|
||||||
// @match https://thebarchive.com/*
|
|
||||||
// @match https://archiveofsins.com/*
|
|
||||||
// @require https://unpkg.com/web-streams-polyfill/dist/polyfill.min.js
|
|
||||||
// @grant GM_xmlhttpRequest
|
|
||||||
// @grant GM.xmlHttpRequest
|
|
||||||
// @grant GM_getValue
|
|
||||||
// @grant GM.getValue
|
|
||||||
// @grant GM_setValue
|
|
||||||
// @grant GM.setValue
|
|
||||||
// @grant GM_openInTab
|
|
||||||
// @grant GM.openInTab
|
|
||||||
// @grant GM_addElement
|
|
||||||
// @grant unsafeWindow
|
|
||||||
// @run-at document-start
|
|
||||||
// @connect 4chan.org
|
|
||||||
// @connect 4channel.org
|
|
||||||
// @connect i.4cdn.org
|
|
||||||
// @connect *
|
|
||||||
// @icon https://coom.tech/resources/assets/1449696017588.png
|
|
||||||
// ==/UserScript==
|
|
||||||
const _DOMParser = DOMParser;
|
|
||||||
|
|
22259
main.user.js
22259
main.user.js
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user