Greasy Fork is available in English.

RARBG threat defence bypasser

Automatically fill & submit captcha

21.12.2020 itibariyledir. En son verisyonu görün.

// ==UserScript==
// @match       https://rarbgmirrored.org/threat_defence.php*
// @name        RARBG threat defence bypasser
// @description Automatically fill & submit captcha
// @grant       none
// @version     1.0.1
// @author      KaKi87
// @license     GPL-3.0-or-later
// @namespace   https://git.kaki87.net/KaKi87/userscripts/src/branch/master/rarbgThreatDefenceBypasser
// @require     https://unpkg.com/tesseract.js@2.1.4/dist/tesseract.min.js
// ==/UserScript==

const waitInterval = setInterval(async () => {

    const img = document.querySelector('img[src^="/threat_captcha.php"]');

    if(!img) return;

    clearInterval(waitInterval);

    const { data: { text } } = await Tesseract.recognize(img);

    document.querySelector('#solve_string').setAttribute('value', text.trim());

    document.querySelector('#button_submit').click();

}, 100);