您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Collects interest, fills in a pin
// ==UserScript== // @name Automated Banking // @namespace Marascripts // @description Collects interest, fills in a pin // @author marascript // @version 2.0.1 // @grant none // @match https://www.marapets.com/rpbank.php* // @match https://www.marapets.com/bpbank.php* // @match https://www.marapets.com/bank.php* // @match https://www.marapets.com/atm.php* // @homepageURL https://github.com/marascript/userscripts // @supportURL https://github.com/marascript/userscripts/issues // @license MIT // ==/UserScript== ;(async () => { 'use strict' const path = location.pathname if (path === '/atm.php') { // Pin doesn't actually matter, just use 1111 document .querySelectorAll("input[name='pin']") ?.forEach((input) => (input.value = 1111)) } else { // If we can collect interest, collect it document .querySelector(".middleit.bigger form input[type='submit']") ?.click() // After collecting interest, return to bank if (document.querySelector('.example_email')) { location.href = path } } })()