4chan-captcha-solver
4chan captcha solver userscript (original by AUTOMATIC1111)
Automatically fills in the captcha when the captcha loads. If you get a slider captcha, the slider will be moved into position automatically. If the automatic slider detection is incorrect, you can move it yourself and press the "Solve" button to redo the solution with the new position.
No error handling in place - if solving fails, you can find the reason in js console.
I can't upload it to any userscript js site because of size. Most of the size is model weights.
IF YOU'RE ON FIREFOX/LIBREWOLF AND YOU HAVE privacy.resistFingerprinting
ENABLED IN about:config
YOU NEED TO GRANT CANVAS PERMISSION TO 4CHAN.ORG OR THE SCRIPT WILL NOT WORK
28.01.2024
- New model - sligthly larger but more precise
25.01.2024
- Now handles the new slider puzzle used in red boards.
21.01.2024
11.01.2024
25.12.2023
- Yet another more accurate model trained by Yukariin.
- Added an alternative script using Tensorflow.js' WebAssembly backend which may replace the main script in the future. On all of my devices it solves the captcha about 150% faster compared to the CPU backend.
- And if you're reading this on the 25th of December: I wish you a Merry Christmas!
22.12.2023
25.08.2023
02.11.2022 - brunohazard's version
- New slider solver code
stolen taken from the 4chan Mass Reply browser extension, which offers a much higher success rate compared to the old code.
- The script will now ask for Canvas permission on Firefox-based browsers with privacy.resistFingerprinting enabled.
24.07.2022
- Built a new model trained on 4chan's new captcha with 5-6 characters, specks, lines, and more extra garbage scattered everywhere.
- Disabled some of tooltip debug functionality I imagine no one used.
- Changed the algorithm to not produce empty result wjhen the length of captcha output is not what we expected.
- Tested on Firefox with Violentmonkey.
11.07.2021
- Built a new model from scratch, without using a pretrained one, on 50k synthetic samples (as opposed to previous one trained on 400 images + their augmentations).
![screenshot](https://github.com/drunohazarb/4chan-captcha-solver/raw/master/screenshot.png)