知乎阅读模式

try to take over the world!

  1. // ==UserScript==
  2. // @name 知乎阅读模式
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.1
  5. // @description try to take over the world!
  6. // @author Long
  7. // @match https://www.zhihu.com/*
  8. // @match https://zhuanlan.zhihu.com/*
  9. // @require https://code.jquery.com/jquery-3.1.1.min.js
  10. // @grant none
  11. // ==/UserScript==
  12.  
  13. (function () {
  14. $(".AppHeader").hide(); //隐藏主页上部分
  15. $(".GlobalSideBar").hide(); //隐藏右侧
  16. $(".QuestionHeader-footer-inner").hide(); //隐藏问题中 关注问题、写回答、邀请回答等字
  17. $(".Question-sideColumn").hide(); //隐藏右侧作者介绍\
  18. $("link[rel='shortcut icon']")[0].href = 'https://gitee.com/static/images/logo-black.svg?t=158106664'; //更换title图标
  19. $('body').css("background", "black"); //改变背景色
  20. $('body').css("background-image", "url(https://csdnimg.cn/release/phoenix/template/themes_skin/skin-blackboard/images/bg.jpg)"); //背景图片
  21. $('.ContentItem-more').click(); //打开阅读全文
  22. for (let i = 0; i < $(".RichContent").length; i++) {
  23. //console.log($(".RichContent")[i].innerText);
  24. }
  25. var x=0;
  26. //window.location.reload();
  27. $("body").click(function() {
  28. console.log(x+=1);
  29. });
  30. function tishi() {
  31. $("title").html('Flask in Web');
  32. }
  33.  
  34. setTimeout(tishi, 1000);
  35.  
  36. })();

QingJ © 2025

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