Greasy Fork is available in English.

Memrise Timer Disabler

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://greasyfork.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);