Exhentai Resource Han Rounded

更换资源圆体字体Ex

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

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

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

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

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

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name         Exhentai Resource Han Rounded
// @author       100497
// @match        *://*.exhentai.org/*
// @match        *://*.hath.network/*
// @grant        none
// @namespace    Exhentai Resource Han Rounded
// @version      2024.08.14
// @description   更换资源圆体字体Ex
// @license MIT
// @icon        https://cdn-icons-png.flaticon.com/128/2584/2584606.png
// ==/UserScript==

(function() {
    const style = document.createElement('style');
    style.textContent = `
        /*字体名称*/
        * {
            font-family: "Resource Han Rounded CN" !important;
        }

        /*字体大小*/
        * {
            font-size: 16px !important;
        }

        /*字体颜色*/
        /*
        * {
            color: #000000 !important;
        }
        */

        /*字体加粗*/
        /*
        * {
            font-weight: bold !important;
        }
        */

        /*字体粗细(整百数字)*/
        * {
            font-weight: 600 !important;
        }
    `;
    document.head.append(style);
})();