recognizeCaptchaAG = function(aImageElement, aKey, aPhrase, aMinLen, aMaxLen, aNumeric, aRegSense, aCalc, aRussian); recognizeCaptchaAG = function(aImage, aKey, aPhrase, aMinLen, aMaxLen, aNumeric, aRegSense, aCalc, aRussian);
loadURI('http://www.google.com/recaptcha/learnmore'); //Get the captcha image var image = getElement('img',0,['src'],['google.com/recaptcha/']); //Send the image to recognize with service AntiGate var captchatext = recognizeCaptchaAG(image,'MyAGKey').text; //If the text is not empty, then enter the text to the input field if (captchatext !== ''){ var input = getElement('input',0,['name','id'],['recaptcha_response_field','recaptcha_response_field'],true); clickElement(input); typeIn(captchatext); }
loadURI('http://www.google.com/recaptcha/learnmore'); //Get the captcha image var image = getImage(0,['src'],['google.com/recaptcha/']); //Send the image to recognize with service AntiGate var captchatext = recognizeCaptchaAG(image,'MyAGKey').text; //If the text is not empty, then enter the text to the input field if (captchatext !== ''){ var input = getElement('input',0,['name','id'],['recaptcha_response_field','recaptcha_response_field'],true); clickElement(input); typeIn(captchatext); }