Google の reCAPTCHA をデフォルトでサウンド バージョンにすることはできますか?

Google の reCAPTCHA をデフォルトでサウンド バージョンにすることはできますか?

Google の reCAPTCHA をデフォルトでサウンド バージョンにすることはできますか? Chrome と Firefox を使用していますが、毎回手動でサウンドを選択しなければならないことにうんざりしています。

答え1

はい、ユーザースクリプトを使えば可能です。例:

// ==UserScript==
// @name         Autoplay Google reCAPTCHA v2
// @description  Attempts to autoplay 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 playButtonSelector = '.rc-button-default';

  // 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(
    playButtonSelector,
    el => {
        el.click();
    }
  );
})();

これを例えば新規として貼り付けますタンパーモンキースクリプトを実行して、有効になっていることを確認します。

このようなスクリプトを使用すると、reCaptcha のボット スコアに影響し、自動的すぎると判断されてさらにチャレンジを受ける可能性があることに注意してください。

関連情報