您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Automatically play FreeRice multiplication table
// ==UserScript== // @name FreeRice Multiplication Script/Bot // @namespace https://github.com/AbdurazaaqMohammed // @version 1.0.3 // @description Automatically play FreeRice multiplication table // @author Abdurazaaq Mohammed // @match https://play.freerice.com/categories/multiplication-table* // @grant none // @homepage https://github.com/AbdurazaaqMohammed/userscripts // @license The Unlicense // @supportURL https://github.com/AbdurazaaqMohammed/userscripts/issues // ==/UserScript== function getAnswer() { const numbers = document.querySelector('.card-title').textContent.split(' x '); return numbers[0] * numbers[1]; } function clickAnswer() { const answers = document.querySelectorAll('.card-button'); for (i = 0; i < answers.length; i++) { const ans = answers[i]; if (ans.textContent == getAnswer()) { ans.click(); break; } } } setInterval(clickAnswer, 1000); setTimeout(function(){ location.reload(); }, 15000); //When you answer questions too quickly, Freerice starts slowing down the rate at which it gives you new questions. This can simply be reset by refreshing the page every once in a while.
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址