需要安装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...
})();
 
                    
                     
                    
                 
                    
                 
         
                
            
         浙公网安备 33010602011771号
浙公网安备 33010602011771号