Greasy Fork

Greasy Fork is available in English.

微信读书网页版使用谷歌思源宋体

书籍内容字体修改为谷歌思源宋体,修改标题等字体,更改背景颜色,更改字体颜色。

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==UserScript==
// @name         微信读书网页版使用谷歌思源宋体
// @namespace    http://tampermonkey.net/
// @version      0.2
// @description  书籍内容字体修改为谷歌思源宋体,修改标题等字体,更改背景颜色,更改字体颜色。
// @author       Ryan
// @match        https://weread.qq.com/web/reader/*
// @grant        GM_addStyle
// ==/UserScript==
//GM_addStyle("@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@500;700&display=swap');")
GM_addStyle("@import url('https://fonts.loli.net/css2?family=Noto+Serif+SC:wght@500;700&display=swap');")
GM_addStyle("*{font-family: 'Noto Serif SC' !important;}");
GM_addStyle(":not(.wr_whiteTheme) *{color: rgba(49,243,49,100) !important;}");
GM_addStyle(".wr_whiteTheme *{color: rgba(49,49,49,100) !important;}");
GM_addStyle(".readerTopBar{font-family: 'Noto Serif SC' !important;}");
GM_addStyle(".bookInfo_title{font-family: 'Noto Serif SC' !important;}");
GM_addStyle(".readerTopBar_title_link{font-family: 'Noto Serif SC'; !important; font-weight:bold !important;}");
GM_addStyle(".readerTopBar_title_chapter{font-family: 'Noto Serif SC' !important;}");
GM_addStyle(".wr_whiteTheme .renderTargetContainer .renderTargetContent .wr_readerImage_opacity {background-color: rgba(249,243,232,100) !important;}");
GM_addStyle(".wr_whiteTheme .renderTargetContainer .renderTargetContent .wr_readerBackground_opacity{background-color: rgba(249,243,232,100) !important;}");
GM_addStyle(".wr_readerBackground_opacity, .wr_readerImage_opacity {opacity: 0.2 !important;}");
GM_addStyle(".wr_whiteTheme .readerContent .app_content{background-color: rgba(249,243,232,100) !important;}");
GM_addStyle(".readerChapterContent{font-family: 'Noto Serif SC' !important;color: rgba(0,0,0,100) !important;}");
// GM_addStyle(".readerChapterContent{font-weight: bold !important;}");

(function() {
    'use strict';

    // Your code here...
})();