您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Removes the Coursehero monthly document preview limit (originally 3).
// ==UserScript== // @name Remove Coursehero Monthly Limit // @description Removes the Coursehero monthly document preview limit (originally 3). // @author Luigi Agcaoili // @include *coursehero.com/file/* // @version 1.0.2 // @grant none // @namespace https://greasyfork.org/users/208370 // @copyright 2019, luigia (https://github.com/luigia) // @license MIT // ==/UserScript== window.addEventListener('load', () => { // pop-up modals if ( document.querySelector('.mfp-wrap') && document.querySelector('.mfp-bg') ) { let wrap = document.querySelector('.mfp-wrap'), bg = document.querySelector('.mfp-bg'); wrap.remove(); bg.remove(); } // remove dynamically added styles document.body.className = ''; document.body.style.cursor = ''; // re-enable scrolling document.body.style.setProperty ("overflow", "visible", "important"); document.body.click(); }, false);