跳到正文

科技·工程

钞机强大插件

VegeBeany约 2 分钟
原文
文章信息与版本

文章信息

发布
2025年4月13日
收录
2025年12月12日
更新
2026年11月5日
篇幅
约 2 分钟

版本

仅有当前版本

代码
// ==UserScript==
// @name         FAQ
// @namespace    http://tampermonkey.net/
// @version      2025-03-27
// @description  try to take over the world!
// @author       You
// @match        https://www.luogu.com.cn*
// @icon         data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
// @grant        none
// ==/UserScript==

function main() {

    let cd = document.getElementsByClassName('lfe-body mobile-body');
    let dm = 'https://cdn.luogu.com.cn/upload/image_hosting/maskjokl.png'
    cd[0].style = `background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)), url('${dm}'); background-size: contain`;

    let ssc = document.getElementsByClassName('sh_sourceCode');
    ssc[0].style.opacity = 0.8;

};
(function () {
    setInterval(function () {
        main();
    }, 10);
})();
原文