Skip to content

Instantly share code, notes, and snippets.

@mitnk
Created August 12, 2014 08:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mitnk/f8b04499bdc8e750eff3 to your computer and use it in GitHub Desktop.
Save mitnk/f8b04499bdc8e750eff3 to your computer and use it in GitHub Desktop.
Simplify dict cn 的生词本
// ==UserScript==
// @name Simplify Dict.cn
// @namespace http://mitnk.com
// @version 0.1
// @description Simplify dict cn 的生词本
// @match http://scb.dict.cn/card.php*
// @copyright 2014+, mitnk
// for tampermonkey on Chrome.
// ==/UserScript==
var ele_list = ['#header', '.scb-card-head', '.top', '.links', '#footer', '.scb-card-foot', '.scb-card-play'];
ele_list.forEach(function(item) {
document.querySelector(item).style.display = 'none';
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment