drunohazarb / 4chan-captcha-solver

GNU General Public License v3.0
173 stars 3 forks source link

Post on solve #20

Open ghost opened 9 months ago

ghost commented 9 months ago

4chan-x's post on captcha solve and auto-load captcha are broken with current captcha and solvers (understandably) Can you please add a checkmark that immediately posts when captcha is solved? since only the solver knows when it's solved, and 4chan-x has no way to know that.

JonseyJones commented 9 months ago

+1 for this feature.

cnozxjun1 commented 9 months ago
Screenshot 2024-01-30 at 14 27 05

they clapped my account in like 10 minutes

anyway here's the code

https://files.catbox.moe/0e1289.js

// ==UserScript==
// @name         Auto Click Submit
// @namespace    sneed
// @match        https://boards.4channel.org/*
// @match        https://boards.4chan.org/*
// @match        https://sys.4chan.org/*
// @match        https://sys.4channel.org/*
// @version      2024-01-30
// @description  try to take over the world!
// @author       Me
// @grant        none
// ==/UserScript==

(function() {
    'use strict';
    window.addEventListener("4chan-captcha-solver:solved", () => {
        const submit = document.querySelector("#file-n-submit > input:nth-child(3)");
        submit.click();
    })
})();
cnozxjun1 commented 9 months ago

I'm not schizophrenic right? Can anyone else see those messages?

JonseyJones commented 9 months ago

I'm not schizophrenic right? Can anyone else see those messages?

Script doesn't work.

cnozxjun1 commented 9 months ago

You need the updated script from here https://files.catbox.moe/0e1289.js and that snippet in another user script and also 4chanx

JonseyJones commented 9 months ago

You need the updated script from here https://files.catbox.moe/0e1289.js and that snippet in another user script and also 4chanx

I already had the @version 1.4.9 wasm from https://github.com/drunohazarb/4chan-captcha-solver/blob/master/4chan-captcha-solver-wasm.user.js, what is the difference between that and yours ? Only works with yours.

cnozxjun1 commented 9 months ago

I added an event to it. It's just my concept, up to Bruno if he agrees with my vision

JonseyJones commented 9 months ago

@drunohazarb can you make a proper addition to the script like the "save" option? @cnozxjun1 's is not proper, it works only sometimes, for me anyway.

ghost commented 9 months ago

@drunohazarb can you make a proper addition to the script like the "save" option? @cnozxjun1 's is not proper, it works only sometimes, for me anyway.

yeah although I appreciate @cnozxjun1 's effort, I'd rather have a proper addition to the script instead of something like this (that'll inevitably break as soon as anything changes, if it works at all)

trip54654 commented 9 months ago

This is a different thing, but does anyone have a script that puts the input focus back to the captcha text field after 4chan's java script focuses the slider?

ghost commented 9 months ago

@drunohazarb any comment?

JonseyJones commented 9 months ago

Hey @drunohazarb, bro, here's how I see it, either solve it or close it. If the feature is not needed/wanted bin the thread. Great job with the latest ver of the script btw as far as I'm concerned you can close the other threads/issues too since I don't get those problems, switching IPs and browsers, fully flushing the history etc., even on mobile browsers, for me it's >95% good. Cheers and much respect!

realyukii commented 4 months ago

@drunohazarb by the way, what is the different between wasm and non wasm version? what should I choose?