@Kamikoto said in Как зажать клавишу на клавиатуре в БАС ?:
@Fox А как это сделать?
0d7dffdf-158a-4577-9031-734a900ce3d9-изображение.png
Столкнулся с проблемой: в ходе работы скрипта нужно решать hcaptcha и recaptcha, но при включении обоих этих модулей на сайте gleam.io пропадает блок с капчей (не загружается попросту), пробовал через get запросы (т е без использования модулей), но в таком случае не разберусь, как на gleam.io отправить ключ от решённой капчи, как вызвать эту функцию на отправку?
<div class="hcaptcha ng-scope ng-isolate-scope" data-callback="challengeCompleted.bind(null)" hcaptcha="" ng-if="campaign.use_hcaptcha" site-key="campaign.hcaptcha_site_key">
<iframe src="https://newassets.hcaptcha.com/captcha/v1/f9bf301/static/hcaptcha-checkbox.html#id=0ooscilgastl&host=gleam.io&sentry=true&reportapi=https%3A%2F%2Faccounts.hcaptcha.com&recaptchacompat=true&custom=false&hl=en&tplinks=on&sitekey=2df90a06-8aca-45ee-8ba2-51e9a9113e82&theme=light" title="widget containing checkbox for hCaptcha security challenge" tabindex="0" frameborder="0" scrolling="no" data-hcaptcha-widget-id="0ooscilgastl" data-hcaptcha-response="" style="width: 303px; height: 78px; overflow: hidden;"></iframe>
<textarea id="g-recaptcha-response-0ooscilgastl" name="g-recaptcha-response" style="display: none;"></textarea>
<textarea id="h-captcha-response-0ooscilgastl" name="h-captcha-response" style="display: none;"></textarea></div>
В коде есть какая-то callback функция, но что с ней делать?