Skip to content

Instantly share code, notes, and snippets.

@laobubu
Created November 3, 2017 14:56
Show Gist options
  • Star 6 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save laobubu/dbc0b051d4d70b01907dfd72b9c28f26 to your computer and use it in GitHub Desktop.
Save laobubu/dbc0b051d4d70b01907dfd72b9c28f26 to your computer and use it in GitHub Desktop.
// ==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);
})();
@gqqnbig
Copy link

gqqnbig commented Mar 31, 2018

肯定不能用啊,不匹配https

@imknown
Copy link

imknown commented Nov 30, 2018

Ctrl + Shift + N 试一下

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment