作为这个问题的后续您能让 Google 的 reCAPTCHA 默认为声音版本吗?- 您能自动下载 Google 验证码的音频版本吗?目的是在外部播放器中播放它们,以便您可以更改播放速度、应用过滤器等。
答案1
是的,用户脚本也可以用于此:
// ==UserScript==
// @name Download Audio Google reCAPTCHA v2
// @description Attempts to download audio version of Google reCAPTCHA v2.
// @namespace https://github.com/Destroy666x
// @author Destroy666
// @version 1.0
// @supportURL https://github.com/Destroy666x/greasemonkey-script-collection
// @homepage https://patreon.com/Designeous
// @match *://*/*
// @grant none
// ==/UserScript==
(async function() {
'use strict';
const { default: monitoring } = await import('https://cdn.jsdelivr.net/npm/monitoring/dist/monitoring-latest.min.mjs');
// Monitor with iframe support
const monitor = monitoring(document.body, { iframes: true });
const imagePopupSelector = '#rc-imageselect';
const audioButtonSelector = '#recaptcha-audio-button';
const downloadButtonSelector = '.rc-audiochallenge-tdownload-link';
// We need to monitor the popup as it's buggy for the button (or some children in general)
monitor.appeared(
imagePopupSelector,
el => {
el.querySelector(audioButtonSelector).click();
}
);
// Also monitor the popup with the play button to press it, here it works directly
monitor.appeared(
downloadButtonSelector,
el => {
el.click();
}
);
})();
它和这里的非常相似:https://superuser.com/a/1796175/1145698
同样的注意事项也适用 - 使用自动化可能会导致出现更多的验证码,由您决定是否要使用它。