您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
百度题库-点击页面右上方“显示答案”按钮,就能显示百度题库隐藏掉的答案了。
// ==UserScript== // @name 百度题库-显示答案 // @namespace http://tampermonkey.net/ // @license MIT // @version 0.1 // @description 百度题库-点击页面右上方“显示答案”按钮,就能显示百度题库隐藏掉的答案了。 // @author Terrance Monk // @match https://easylearn.baidu.com/* // @icon https://www.google.com/s2/favicons?sz=64&domain=baidu.com // @require https://cdn.bootcss.com/jquery/2.2.1/jquery.js // @grant none // ==/UserScript== (function() { 'use strict'; // Your code here... $(document).ready(function() { var str = $("<button id='absBtn' style='background: red; color: #fff; width: 150px; height: 40px; z-index: 9999;position: fixed; top: 20px; right: 20px;text-align: center;font-size: 20px;cursor:pointer;'>显示答案</button>"); $('body').append(str); $('#absBtn').bind('click', function(){ let mask = $('.mask'); mask= $('.question-cont .shiti-answer .text .mask'); mask.css('opacity', '0'); }); }); })();