简化 CSDN

简化 CSDN 博客页面

  1. // ==UserScript==
  2. // @name 简化 CSDN
  3. // @namespace http://js.zombie110year.top/
  4. // @version 1.0
  5. // @description 简化 CSDN 博客页面
  6. // @license GPL v3
  7. // @author zombie110year@outlook.com
  8. // @match *://blog.csdn.net/*/article/details/*
  9. // @grant none
  10. // @run-at document-end
  11. // ==/UserScript==
  12.  
  13. /**
  14. * MathJax 可正常运行
  15. */
  16. (function () {
  17. 'use strict';
  18. //自动展开
  19. document.querySelector(".btn-readmore").click();
  20. //去除剪贴板劫持
  21. csdn.copyright.init("", "", "");
  22. // 获取博文主体
  23. let _main = document.querySelector("#mainBox > main");
  24. document.body = document.createElement("body");
  25. document.body.append(_main);
  26.  
  27. // 重设 样式
  28. _main.style = "margin: 0px auto 40px auto !important; width: auto !important;";
  29. })();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址