The script is working, so far as it successfully parses the pages recaptcha site key, constructs and submits the api request, and receives the solution token.
This token now needs to be inserted into a text area on page, the most robust way to do this seems to be via javascript:
Code: Select all
document.getElementById("g-recaptcha-response").innerHTML="%Token%";
Code: Select all
IETagEventByAttrib>