Greasy Fork is available in English.

微信读书舒适版

修改微信读书web版的背景颜色和宽度,使之更适合浏览器阅读,尤其是竖版显示器阅读。

  1. // ==UserScript==
  2. // @name 微信读书舒适版
  3. // @version 0.3.2
  4. // @namespace http://tampermonkey.net/
  5. // @description 修改微信读书web版的背景颜色和宽度,使之更适合浏览器阅读,尤其是竖版显示器阅读。
  6. // @contributor Li_MIxdown;hubzy;xvusrmqj;LossJ;JackieZheng;das2m;harmonyLife
  7. // @author G.Stone
  8. // @match https://weread.qq.com/web/reader/*
  9. // @require https://cdn.staticfile.org/jquery/3.3.1/jquery.min.js
  10. // @require http://cdn.staticfile.org/jquery/1.8.3/jquery.min.js
  11. // @require https://cdn.jsdelivr.net/npm/jquery@3.2.1/dist/jquery.min.js
  12. // @icon https://weread.qq.com/favicon.ico
  13. // @grant GM_log
  14. // @grant GM_addStyle
  15. // @grant unsafeWindow
  16. // @grant GM_setValue
  17. // @grant GM_getValue
  18. // @grant GM_openInTab
  19. // @grant GM_download
  20. // @grant GM_setClipboard
  21. // @grant GM_notification
  22. // ==/UserScript==
  23.  
  24. GM_addStyle("*{font-family: STSONG !important;}");
  25. GM_addStyle(".readerTopBar{font-family: SourceHanSerifCN-Bold !important;}");
  26. GM_addStyle(".bookInfo_title{font-family: SourceHanSerifCN-Bold !important;}");
  27. GM_addStyle(".readerTopBar_title_link{font-family: SourceHanSerifCN-Bold; !important; font-weight:bold !important;}");
  28. GM_addStyle(".readerTopBar_title_chapter{font-family: SourceHanSerifCN-Bold !important;}");
  29. GM_addStyle(".wr_whiteTheme .renderTargetContainer .renderTargetContent .wr_readerImage_opacity {background-color: rgba(199,237,204,1) !important;}");
  30. GM_addStyle(".wr_whiteTheme .renderTargetContainer .renderTargetContent .wr_readerBackground_opacity{background-color: rgba199,237,204,1) !important;}");
  31. GM_addStyle(".wr_whiteTheme .readerContent .app_content{background-color: rgba(199,237,204,1) !important;}");
  32. GM_addStyle(".wr_whiteTheme .renderTargetContainer .app_content{max-width: 85%; !important;}");
  33. GM_addStyle(".wr_whiteTheme {background-color: rgba(240,255,240,1) !important;}");
  34.  
  35.  
  36. GM_addStyle(".wr_whiteTheme .readerTopBar {background-color: rgba(60,179,113,1) !important;}");
  37. GM_addStyle(".wr_whiteTheme .readerFooter_button {background-color: #b4e08f;}!important;}");
  38. GM_addStyle(".readerTopBar_title {height: 27px;}!important;}");
  39. GM_addStyle(".readerTopBar {background-color: #3cb371;} !important;}");
  40. GM_addStyle(".readerChapterContent{color: rgba(0,0,0,100) !important;}");
  41. GM_addStyle(".readerControls{margin-bottom: -28px !important;}");