网站高分屏优化(By HWlabs)

几个 AI 网站的高分屏优化

// ==UserScript==
// @name         网站高分屏优化(By HWlabs)
// @namespace    http://tampermonkey.net/
// @version      0.4
// @description  几个 AI 网站的高分屏优化
// @author       HWlabs
// @match        https://smartwritegpt.com/*
// @match        https://kimi.moonshot.cn/*
// @match        https://tongyi.aliyun.com/*
// @grant        none
// @license MIT
// ==/UserScript==

(function() {
    'use strict';
    
    var style = document.createElement('style');
    if (window.location.hostname === 'smartwritegpt.com'){
        style.innerHTML = `
            body {
                font-size: inherit !important;
            }
            .markdown-it-container .markdown-body {
                font-size: inherit;
            }
            .session[data-v-82258242]{
                width: inherit;
            }
        `;
    }else if (window.location.hostname === 'kimi.moonshot.cn'){
        style.innerHTML = `
            body {
                font-size: inherit !important;
            }
            .css-p94avn{
                font-size: inherit !important;
            }
            .markdown___BV5oI{
                font-size: inherit !important;
            }
            .markdown___Ho3m0{
                font-size: inherit !important;
            }
            .css-1x6e6a7{
                max-width: 60% !important;
            }
            `;
    }else if (window.location.hostname === 'tongyi.aliyun.com'){
        style.innerHTML = `
            body {
                font-size: inherit !important;
            }
            .side--ZR10Ab5M{
                width: inherit !important;
            }
            `;
    }
    document.head.appendChild(style);
})();

QingJ © 2025

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