Greasy Fork is available in English.

CSDN 全文阅读你大爷

把阅读更多的那个啥玩意儿给干掉

  1. // ==UserScript==
  2. // @name CSDN 全文阅读你大爷
  3. // @namespace http://www.cnblogs.com/Chary/
  4. // @version 0.1
  5. // @description 把阅读更多的那个啥玩意儿给干掉
  6. // @author CharyGao
  7. // @match http://blog.csdn.net/*/article/details/*
  8. // @match https://blog.csdn.net/*/article/details/*
  9. // @grant none
  10. // @icon https://csdnimg.cn/public/favicon.ico
  11. // ==/UserScript==
  12.  
  13. (function() {
  14. 'use strict';
  15.  
  16. var ef = document.querySelector('.hide-article-box');
  17. if (ef) {
  18. ef.remove();
  19. document.querySelector('#article_content').style.height='auto';
  20. }
  21.  
  22. var btnMore = document.getElementById("btn-readmore");
  23. if (btnMore != undefined) {
  24. btnMore.click();
  25. } else {
  26. console.log("No button found.");
  27. }
  28. })();