您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Disables the Timer on Memrise.com
// ==UserScript== // @name Memrise Timer Disabler // @description Disables the Timer on Memrise.com // @match http://*.memrise.com/* // @match https://*.memrise.com/* // @version 0.2.3 // @grant none // @namespace https://greasyforks.org/users/3656 // ==/UserScript== var theCode = function() { function callback() { MEMRISE.garden._events.pause[0](); MEMRISE.garden.session.timer.countdown = false; MEMRISE.garden.$speedbg[0] = ""; //MEMRISE.garden.$speedtimer = {} } var observer = new MutationObserver(callback); var config = { attributes: true, childList: true, subtree: true }; observer.observe(document.body, config); } // Injection into the page content itself is necessary for sanboxed script managers, eg. greasemonkey var injectCode = function(f) { var script = document.createElement("script"); script.textContent = "(" + f.toString() + "());"; document.head.appendChild(script); }; injectCode(theCode);