Before Width: | Height: | Size: 78 KiB After Width: | Height: | Size: 460 KiB |
@ -1,16 +0,0 @@ |
|||
// ==UserScript==
|
|||
// @name Janny Skiller's Captcha Solver
|
|||
// @namespace https://git.coom.tech/araragi/JKCS
|
|||
// @supportURL https://git.coom.tech/araragi/JKCS/issues
|
|||
// @homepageURL https://git.coom.tech/araragi/JKCS
|
|||
// @downloadURL https://git.coom.tech/araragi/JKCS/raw/branch/master/JKCS.user.js
|
|||
// @run-at document-end
|
|||
// @match https://boards.4channel.org/*
|
|||
// @match https://boards.4chan.org/*
|
|||
// @match https://sys.4chan.org/*
|
|||
// @grant none
|
|||
// @version 0.25
|
|||
// @author /cumg/, formerly AUTOMATIC
|
|||
// @description The Janny Skillers Captcha Solver of choice
|
|||
// ==/UserScript==
|
|||
const _DOMParser = DOMParser |
@ -10,19 +10,16 @@ import webExt from "web-ext"; |
|||
let res = spawnSync("git", ["rev-list", "--count", "HEAD"]); |
|||
let rev = +res.stdout; |
|||
|
|||
const domains = ["https://*.4chan.org/*", "https://*.4channel.org/*", "https://sys.4chan.org/*"]; |
|||
const domains = [ |
|||
"https://*.4chan.org/*", |
|||
"https://*.4channel.org/*", |
|||
"https://sys.4chan.org/*", |
|||
]; |
|||
|
|||
const manif = { |
|||
manifest_version: 2, |
|||
browser_specific_settings: { |
|||
gecko: { |
|||
id: "[email protected]", |
|||
update_url: |
|||
"https://git.coom.tech/araragi/JKCS/raw/branch/master/firefox_update.json", |
|||
}, |
|||
}, |
|||
name: "JannySkillersCaptchaSolver", |
|||
description: "The Janny Skillers Captcha Solver of choice.", |
|||
name: "Joshi Koukousei Captcha Service", |
|||
description: "The captcha solver made by and for japanese high school girls", |
|||
version: "0." + rev, |
|||
icons: { |
|||
64: "1449696017588.png", |
|||
@ -36,7 +33,7 @@ const manif = { |
|||
js: ["polyfill.min.js", "dist/main.js"], |
|||
}, |
|||
], |
|||
web_accessible_resources: ["*.html", "*.js", "*.json"], |
|||
web_accessible_resources: ["*.html", "*.js", "*.json", "*.bin", "*.wasm"], |
|||
|
|||
// "background": {
|
|||
// persistent: true,
|
|||
@ -66,7 +63,7 @@ const manif = { |
|||
}, |
|||
// inject: ["./esbuild.inject.js"],
|
|||
plugins: [], |
|||
loader: { ".bin": "text", '.wasm': 'binary' }, |
|||
loader: { ".bin": "text", ".wasm": "binary" }, |
|||
metafile: true, |
|||
}); |
|||
|
|||
@ -105,9 +102,18 @@ const manif = { |
|||
copyFileSync("./logo.png", "./firefox/1449696017588.png"); |
|||
|
|||
copyFileSync("./src/model.weights.bin", "./firefox/model.weights.bin"); |
|||
copyFileSync("./src/tfjs-backend-wasm-threaded-simd.wasm", "./firefox/tfjs-backend-wasm-threaded-simd.wasm"); |
|||
copyFileSync("./src/tfjs-backend-wasm-simd.wasm", "./firefox/tfjs-backend-wasm-simd.wasm"); |
|||
copyFileSync("./src/tfjs-backend-wasm.wasm", "./firefox/tfjs-backend-wasm.wasm"); |
|||
copyFileSync( |
|||
"./src/tfjs-backend-wasm-threaded-simd.wasm", |
|||
"./firefox/tfjs-backend-wasm-threaded-simd.wasm" |
|||
); |
|||
copyFileSync( |
|||
"./src/tfjs-backend-wasm-simd.wasm", |
|||
"./firefox/tfjs-backend-wasm-simd.wasm" |
|||
); |
|||
copyFileSync( |
|||
"./src/tfjs-backend-wasm.wasm", |
|||
"./firefox/tfjs-backend-wasm.wasm" |
|||
); |
|||
|
|||
res = await webExt.cmd.build({ |
|||
sourceDir: "./firefox/", |
|||
|
Before Width: | Height: | Size: 78 KiB After Width: | Height: | Size: 460 KiB |
@ -0,0 +1,3 @@ |
|||
version https://git-lfs.github.com/spec/v1 |
|||
oid sha256:5d1015787bc130ac675d7d0f0fbce71e58c2cc232f29f70b3b87b9fa70a7792e |
|||
size 12119905 |
Before Width: | Height: | Size: 78 KiB After Width: | Height: | Size: 460 KiB |
@ -1,14 +1,8 @@ |
|||
{ |
|||
"manifest_version": 2, |
|||
"browser_specific_settings": { |
|||
"gecko": { |
|||
"id": "[email protected]", |
|||
"update_url": "https://git.coom.tech/araragi/JKCS/raw/branch/master/firefox_update.json" |
|||
} |
|||
}, |
|||
"name": "JannySkillersCaptchaSolver", |
|||
"description": "The Janny Skillers Captcha Solver of choice.", |
|||
"version": "0.27", |
|||
"name": "Joshi Koukousei Captcha Service", |
|||
"description": "The captcha solver made by and for japanese high school girls", |
|||
"version": "0.30", |
|||
"icons": { |
|||
"64": "1449696017588.png" |
|||
}, |
|||
@ -35,6 +29,8 @@ |
|||
"web_accessible_resources": [ |
|||
"*.html", |
|||
"*.js", |
|||
"*.json" |
|||
"*.json", |
|||
"*.bin", |
|||
"*.wasm" |
|||
] |
|||
} |
@ -1 +1 @@ |
|||
{"addons":{"{[email protected]}":{"updates":[{"version":"0.27","update_link":"https://git.coom.tech/araragi/JKCS/raw/branch/master/jkcs-0.27.xpi"}]}}} |
|||
{"addons":{"{[email protected]}":{"updates":[{"version":"0.30","update_link":"https://git.coom.tech/araragi/JKCS/raw/branch/master/jkcs-0.30.xpi"}]}}} |
@ -1,3 +1,3 @@ |
|||
version https://git-lfs.github.com/spec/v1 |
|||
oid sha256:ce3dd88fb5afe1b809555fbb01b2db2f05435cbc3378d1c03d2c01037f903f46 |
|||
size 9886879 |
|||
oid sha256:e6c1b788a9804fa58b41c9f157dd6e4d014235b5822620078fec0a6cdc6cd569 |
|||
size 473752 |
|||
|
@ -0,0 +1,3 @@ |
|||
version https://git-lfs.github.com/spec/v1 |
|||
oid sha256:ca6233c5cd6a89c833dbbba6063dac0b09c1b488ba448c54e5560edee7f6c51a |
|||
size 10279265 |
Before Width: | Height: | Size: 78 KiB After Width: | Height: | Size: 460 KiB |