百度文库底部遮罩去除

自用,配合复制文库内容

// ==UserScript==
// @name         百度文库底部遮罩去除
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  自用,配合复制文库内容
// @author       You
// @match        https://wenku.baidu.com/*
// @grant        none
// @license MIT
// ==/UserScript==

(function() {
    'use strict';

    // Your code here...cover-img-wrap
    var ele = document.getElementsByClassName("try-end-fold-page")[0]
        if (ele != null){
            console.log(ele)
            ele.remove()
        }
    ele = document.getElementsByClassName("cover-img-wrap")[0]
        if (ele != null){
            console.log(ele)
            ele.remove()
        }
})();