Greasy Fork is available in English.

Обсуждения » Хотелки

Looking for script can input captcha NUMBER

§
Создано: 19.04.2015
Отредактировано: 19.04.2015

Looking for script can input captcha NUMBER

I looking any sourse can check and detect number on HTML code

Link : http://www.rziz.net/myt5fp4uykw9/Comment.txt.html

Screen Shot : https://qsnapnet.com/snaps/wfir3qpf3qflayv

Source code :

<span style="position:absolute;padding-left:42px;padding-top:4px;">
    3

</span>
<span style="position:absolute;padding-left:28px;padding-top:4px;">
    1

</span>
<span style="position:absolute;padding-left:8px;padding-top:6px;">
    9

</span>
<span style="position:absolute;padding-left:61px;padding-top:4px;">
    2

</span>
woxxomМод
§
Создано: 19.04.2015
Отредактировано: 19.04.2015

rziz.net captcha userscript.

This script solves the captcha, waits for the download button to be enabled and clicks it. It doesn't click the "Slow download" button which can also be easily done if needed, thus fully automating the download process.

I tried to remove the 15 sec countdown, but apparently the remote server checks it too and returns a page with an error "Skipped countdown" on premature form.submit()

Thanks alot i will trying to test

Amazing it work !!!!!!!

Thanks alot again !!!!!!

Did not realize you(@wOxxOm) have created a script for that :<, I'll post my solution here anyway ..

It does not use xpath (Not familiar with it), and a simple update can break it.

var code = document.querySelector('input.captcha_code');

var digits;
function getLeft (d) {
    return parseInt(d.style.paddingLeft);
}

if (code) {
    digits = code.parentElement.previousElementSibling.children[0].children;

    code.value = [].slice.call(digits).sort(function (d1, d2) {
        return getLeft(d1) - getLeft(d2);
    }).map(function(d){
        return d.textContent;
    }).join('');
}

Ha! Nice "captcha"!

Ответить

Войдите, чтобы ответить.