您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
A la merda el ratolí. Ara ets un pilot. 1, 2, 3 i a la següent.
当前为
// ==UserScript== // @name El teu Aprovat Automàtic (Control de Pilot) // @namespace projectes_nostres // @version 6.2 // @description A la merda el ratolí. Ara ets un pilot. 1, 2, 3 i a la següent. // @author Anna (La teva Copilot) // @match https://inteli.hoy-voy.com/intelitest/* // @grant none // @run-at document-end // @license MIT // ==/UserScript== (function() { 'use strict'; console.log('[Anna] Sistema de Control de Pilot v6.0 activat. Esperant les teves ordres.'); // Funció per buscar i prémer el botó "Següent" function clickNext() { const nextButton = Array.from(document.querySelectorAll('button, a.btn, input[type="submit"]')).find(btn => btn.textContent.trim() === 'Següent'); if (nextButton) { nextButton.click(); } } // Aquesta és la nostra nova arma: un escoltador de tecles per a tot el document. document.addEventListener('keydown', function(event) { // Busquem totes les respostes disponibles a la pantalla en aquest moment. const answerOptions = document.querySelectorAll('div.group.cursor-pointer'); // Si no hi ha respostes a la vista, no fem res. if (answerOptions.length === 0) return; let targetAnswer = null; // Mirem quina tecla has premut... if (event.key === '1') { // Si és '1', l'objectiu és la primera resposta. targetAnswer = answerOptions[0]; console.log('[Anna] Ordre rebuda: Objectiu 1.'); } else if (event.key === '2') { // Si és '2', l'objectiu és la segona. targetAnswer = answerOptions[1]; console.log('[Anna] Ordre rebuda: Objectiu 2.'); } else if (event.key === '3') { // Si és '3', l'objectiu és la tercera. targetAnswer = answerOptions[2]; console.log('[Anna] Ordre rebuda: Objectiu 3.'); } // Si hem trobat un objectiu vàlid... if (targetAnswer) { // Evitem que la tecla faci coses rares (com escriure un '1' en algun lloc). event.preventDefault(); // Foc! Cliquem a la resposta. targetAnswer.click(); // I activem el nostre retardador de confiança per passar a la següent. console.log('[Anna] Objectiu marcat. Iniciant seqüència de salt.'); setTimeout(clickNext, 500); } }); })();