Можно ли сделать так, чтобы reCAPTCHA от Google использовала звуковую версию по умолчанию?

Можно ли сделать так, чтобы reCAPTCHA от Google использовала звуковую версию по умолчанию?

Можно ли сделать так, чтобы reCAPTCHA от Google устанавливались по умолчанию на звуковую версию? Я использую 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();
    }
  );
})();

Вставьте это как, например, новыйTampermonkeyскрипт и убедитесь, что он включен.

Обратите внимание, что использование подобного скрипта может повлиять на оценку бота reCaptcha, и вы можете получить больше проблем из-за того, что кажетесь слишком автоматическими.

Связанный контент