Browser - Pale moon 28.8.0 64bit
Imacros extension 8.9.7
I need your help, First of all I don't know if it is possible at all but the javascript capabilities are quite extensive so I hope it can be done.
I need to edit or delete the script on the website
Of course, I can export its content and change it outside the site, the problem is that I don't know how to make changes to the site.
here is the script I need to change / remove:
Code: Select all
<script type="text/javascript">
var onloadCallback = function () {
grecaptcha.render('dvCaptcha', {
'sitekey': '6LdSg0YaAAAAANXhEwEZ2HgDdcGWGnXYppcfoswq',
'callback': function (response) {
$.ajax({
type: "POST",
url: "Default.aspx/VerifyCaptcha",
data: "{response: '" + response + "'}",
contentType: "application/json; charset=utf-8",
dataType: "json",
success: function (r) {
var captchaResponse = jQuery.parseJSON(r.d);
//alert(captchaResponse.success);
if (captchaResponse.success) {
$("[id*=txtCaptcha]").val(captchaResponse.success);
$("[id*=rfvCaptcha]").hide();
} else {
$("[id*=txtCaptcha]").val("");
$("[id*=rfvCaptcha]").show();
var error = captchaResponse["error-codes"][0];
$("[id*=rfvCaptcha]").html("RECaptcha error. " + error);
}
}
});
}
});
};
</script>
So as I wrote, there are two options
1 complete removal of this script.
or
2. change in script:
Code: Select all
$("[id*=txtCaptcha]").val("");
$("[id*=rfvCaptcha]").show();
var error = captchaResponse["error-codes"][0];
$("[id*=rfvCaptcha]").html("RECaptcha error. " + error);
Code: Select all
$("[id*=txtCaptcha]").val(captchaResponse.success);
$("[id*=rfvCaptcha]").hide();