格式化36kr网站,非常清爽

try to make 36kr to simple,2023年3月12日09:44:02

  1. // ==UserScript==
  2. // @name 格式化36kr网站,非常清爽
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.2
  5. // @description try to make 36kr to simple,2023年3月12日09:44:02
  6. // @author oixqiu oixq@qq.com
  7. // @match https://www.36kr.com/*
  8. // @icon https://www.google.com/s2/favicons?domain=36kr.com
  9. // @grant none
  10. // ==/UserScript==
  11.  
  12.  
  13. (function() {
  14. 'use strict';
  15.  
  16. // Your code here...
  17. //oixqiu edit 2023年3月5日19:32:27
  18. //oixq@qq.com
  19. //引入jquery
  20. let script = document.createElement('script');
  21. script.setAttribute('src',"https://code.jquery.com/jquery-3.6.3.slim.js");
  22. document.body.appendChild(script);
  23. //十秒钟执行一次格式定型
  24. window.setInterval(function(){
  25.  
  26. $(".article-item-pic-wrapper").remove();
  27. $(".article-item-description").remove();
  28. $(".kr-flow-bar").remove();
  29. $(".article-item-info").css("width","100%");
  30. $(".information-flow-item").css("height","30px");
  31. $(".article-item-info").css("height","30px");
  32. $(".information-flow-item").css("margin-bottom","0");
  33. $(".kr-shadow-content").css("height","30px");
  34. $(".kr-shadow-wrapper-card").css("height","30px");
  35. $(".kr-shadow-wrapper").css("height","30px");
  36. $(".kr-flow-article-item").css("height","30px");
  37.  
  38.  
  39. //2023年3月12日09:44:30删除右侧,左边宽度扩展到100%
  40. $(".kr-information-right").remove();
  41. $(".kr-information-left").css("width","100%");
  42.  
  43. },10000);
  44.  
  45.  
  46. })();

QingJ © 2025

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