Memrise: Make Me Type

This script replaces Memrise multiple-choice tests with typing

目前為 2015-01-10 提交的版本,檢視 最新版本

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

// ==UserScript==
// @name           Memrise: Make Me Type
// @description    This script replaces Memrise multiple-choice tests with typing
//                 tests, where possible.
// @match          http://www.memrise.com/course/*/garden/*
// @match          http://www.memrise.com/garden/water/*
// @grant          none
// @run-at         document-start
// @version 0.0.1.20150110085506
// @namespace https://greasyfork.org/users/8248
// ==/UserScript==

function convertMultipleChoiceToTyping(e) {
    // Always jump to grow session level 6.
    p = MEMRISE.garden.sessions.GrowSession.prototype.BoxFactory.prototype;
    p.make_at_level_1 = p.make_at_level_6;
    p.make_at_level_2 = p.make_at_level_6;
    p.make_at_level_3 = p.make_at_level_6;
    p.make_at_level_4 = p.make_at_level_6;
    p.make_at_level_5 = p.make_at_level_6;
}

document.addEventListener("afterscriptexecute", convertMultipleChoiceToTyping, true);