Created
November 3, 2017 14:56
-
-
Save laobubu/dbc0b051d4d70b01907dfd72b9c28f26 to your computer and use it in GitHub Desktop.
This file contains 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 把登录后查看全文阅读的那个啥玩意儿给干掉 | |
// @author laobubu | |
// @match http://blog.csdn.net/*/article/details/* | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
setTimeout(()=>{ | |
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
肯定不能用啊,不匹配https