您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
try to take over the world!
// ==UserScript== // @name TopZhanChangeScore // @namespace http://tampermonkey.net/ // @version 0.1 // @description try to take over the world! // @author You // @match http://top.zhan.com/toefl/listen/* // @grant none // ==/UserScript== (function () { "use strict"; window.addEventListener("load", () => { addButton("changeScore", changeScore); }); function addButton(text, onclick, cssObj) { cssObj = cssObj || { position: "absolute", bottom: "10%", left: "45%", "z-index": 15, color: "#F72670", background: "#2ecc71", }; let button = document.createElement("button"), btnStyle = button.style; document.body.appendChild(button); button.innerHTML = text; button.onclick = onclick; Object.keys(cssObj).forEach((key) => (btnStyle[key] = cssObj[key])); return button; } function changeScore() { var score = 27; document.getElementsByClassName("sbq state1")[0].style = "left: 86.77003%"; document.getElementsByClassName("shk")[0].style = "width: 90%"; document.getElementsByClassName( "js_listen_score font-big" )[0].innerHTML = score; document.querySelector( "body > div.wrap.zhan > div.main.zhan-main.main-single > div > div.floatlayer.single-listen > div > p > i.font-big.js_listen_score" ).innerHTML = score; alert("Change Successly!"); } // Your code here... })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址