-
-
Save fangj99/2ba321e52dc9fac6c6db9ed55aead599 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