// ==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
同样的注意事项也适用 - 使用自动化可能会导致出现更多验证码,由您决定是否要使用它。