test removAd to CSDN

csdn 去广告!

  1. // ==UserScript==
  2. // @name test removAd to CSDN
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.1
  5. // @description csdn 去广告!
  6. // @author xPang
  7. // @match https://blog.csdn.net/*/article/details/*
  8. // @grant unsafeWindow
  9. // ==/UserScript==
  10. (function() {
  11. 'use strict';
  12. var $ = unsafeWindow.$
  13. function removeAsideBox(){
  14. $('aside').remove()
  15. $('.recommend-right').remove()
  16. $('.fourth_column').remove()
  17. $('.pulllog-box').remove()
  18. $('.indexSuperise').remove()
  19. $('#btn-readmore').click();
  20. $('main').css('width','auto')
  21. }
  22. removeAsideBox()
  23. // Your code here...
  24. })();