您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
transum fa
// ==UserScript== // @name Transum // @namespace http://tampermonkey.net/ // @version 1.0 // @description transum fa // @author You // @match *://*.transum.org/* // @grant none // @license MIT // ==/UserScript== (function () { 'use strict'; const correctAnswers = 999; const trophyText = 'Completed'; function fakeCorrectAnswers(count, trophyMessage) { window.score = count; for (let i = 1; i <= count; i++) { const tick = document.getElementById(`tick${i}`); const cross = document.getElementById(`cross${i}`); if (tick && cross) { tick.style.display = 'inline'; cross.style.display = 'none'; } const guessInput = document.querySelector(`input[name="Guess${i}"]`); if (guessInput) { guessInput.value = `1F1`; } } const checkButton = document.getElementById('Checkbutton'); if (checkButton) { checkButton.innerText = trophyMessage.includes('again') ? 'Check again' : 'Check'; checkButton.style.width = '150px'; } const trophyButton = document.getElementById('Trophybutton'); if (trophyButton) { trophyButton.style.display = 'inline-block'; trophyButton.value = trophyMessage; } } function submitForm(trophyMessage) { const form = document.forms['TrophyForm']; if (form) { form.Other_Text.value = trophyMessage; form.submit(); } } fakeCorrectAnswers(correctAnswers, trophyText); if (typeof PreCheck === 'function') { PreCheck(document.MainForm); } submitForm(trophyText); })();