zoukankan      html  css  js  c++  java
  • 扇贝单词本-隐藏中文释义 tampermonkey

    需要安装chrome  tampermonkey

    // ==UserScript==
    // @name         打印扇贝单词
    // @namespace    http://tampermonkey.net/
    // @version      0.1
    // @description  try to take over the world!
    // @author       You
    // @match        https://web.shanbay.com/wordsweb/
    // @icon         https://www.google.com/s2/favicons?domain=shanbay.com
    // @grant        none
    // @require      https://cdn.staticfile.org/jquery/1.10.2/jquery.min.js
    // ==/UserScript==
    
    (function() {
        'use strict';
        function nodeTxt(){
                $(".CollectionList_definitionCn__3MoTq").css("display","none")
            }
        function AddPageListClick(){
         $(".pull-right ul li").click(function(){
                console.log("分页隐藏事件-分页条数:"+$(".pull-right ul li").length)
             console.log()
                 setTimeout(nodeTxt, 300);
            });
        }
        $(document).ready(function(){
            //隐藏文本
            setTimeout(nodeTxt, 300);
            $(".CollectionList_word__7zQwd").each(function () {
    
                console.log("aaa");
            });
            //点击菜单后继续 隐藏文本
            $(".Nav_nav-link__2Rx6e").click(function(){
                 setTimeout(nodeTxt, 300);
                 setTimeout(AddPageListClick, 300);
    
            });
    
    
    
      });
    
    
        // Your code here...
    })();
    

      

  • 相关阅读:
    阿狸的打字机(bzoj 2434)
    Censoring(bzoj 3940)
    文本生成器(bzoj 1030)
    病毒(bzoj 2938)
    Road(bzoj 2750)
    codevs 2370 小机房的树
    HDU 2838 Cow Sorting
    luogu P2253 好一个一中腰鼓!
    hdu 1166 敌兵布阵
    luogu P1901 发射站
  • 原文地址:https://www.cnblogs.com/jifeng/p/14929400.html
Copyright © 2011-2022 走看看