您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Adds scripts to find Kanji on website page and makes them interactive with Kanji Koohi data + kanji strokes.
// ==UserScript== // @name MEMRISE KANJAX with KOOHI v3 // @namespace http://tampermonkey.net/ // @version 0.3 // @description Adds scripts to find Kanji on website page and makes them interactive with Kanji Koohi data + kanji strokes. // @author superpawko // @match *://www.memrise.com/course/* // @grant none // ==/UserScript== // IMPORTANT: It only runs scripts from your hardrive from: http://127.0.0.1:8887/ // IMPORTANT: You need a webserver to host this files. ( check Web Server for Chrome (Chrome Extension)) // IMPORTANT2: Inside _kanjax_with_koohii.js there is also url to kanji stroke order SVG's (vector images), if you host your data somewhere else change it also. $(document).ready(function() { MEMRISE.garden.boxes.load = (function() { var cached_function = MEMRISE.garden.boxes.load; return function() { MEMRISE.garden.boxes.activate_box = (function() { var cached_function = MEMRISE.garden.boxes.activate_box; return function() { var result = cached_function.apply(this, arguments); var scriptElementBpop = document.createElement( "script" ); scriptElementBpop.type = "text/javascript"; scriptElementBpop.src = "http://127.0.0.1:8887/_jquery.bpopup.min.js"; document.body.appendChild( scriptElementBpop ); var scriptElement = document.createElement( "script" ); scriptElement.type = "text/javascript"; scriptElement.src = "http://127.0.0.1:8887/_kanjax_with_koohii.js"; document.body.appendChild( scriptElement ); return result; }; }()); return cached_function.apply(this, arguments); }; }()); });