API wrapper for using DeathByCaptcha's decaptcha service
Dit script moet niet direct worden geïnstalleerd - het is een bibliotheek voor andere scripts om op te nemen met de meta-richtlijn // @require https://update.greasyfork.org/scripts/9125/158918/DeathByCatpcha%20API%20Wrapper.js
For use in user scripts for solving catpchas on pages DeathByCaptha account required
var dbc = new DeathByCaptcha('DBC_USERNAME', 'DBC_PASSWORD');
var capImg = document.querySelector('.captcha-image');
dbc.solve(capImg, function(err, solution, capId) {
if (!err) {
console.log(solution)
}
//if solution is incorrect
{
dbc.report(capId)
}
}
callback paramters:
callback paramters:
callback paramters: