fuck_csdn_blog

自动阅读全文

As of 2018-05-03. See the latest version.

  1. // ==UserScript==
  2. // @name fuck_csdn_blog
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.2
  5. // @description 自动阅读全文
  6. // @author wlb
  7. // @match https://blog.csdn.net/*
  8. // @grant none
  9. // ==/UserScript==
  10.  
  11. (function() {
  12. 'use strict';
  13. // auto click read more
  14. if($('#btn-readmore') && $('#btn-readmore').length > 0){
  15. console.log('auto read more');
  16. $('#btn-readmore').click();
  17. }
  18. // delete recommend-box
  19. if($('.recommend-box') && $('.recommend-box').length > 0){
  20. $('.recommend-box').remove();
  21. }
  22. })();