Last active
January 18, 2018 07:54
-
-
Save luchenqun/6190805b3e553b0bab5a80d6ef47bb1a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name csdn | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.1 | |
| // @description try to take over the world! | |
| // @author You | |
| // @match http://*/* | |
| // @grant none | |
| // ==/UserScript== | |
| (function() { | |
| 'use strict'; | |
| setTimeout(()=>{ | |
| console.log('移除傻逼的CSDN全文阅读功能......'); | |
| var ef = document.querySelector('.readall_box.csdn-tracking-statistics'); | |
| if (ef) { | |
| ef.remove(); | |
| document.querySelector('#article_content').style.height='auto'; | |
| } | |
| }, 1000); | |
| })(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment