跳到正文

songlll

1061426

不可以互关|https://songlll.pages.dev|https://luogu.com.cn/team/92078|MineCraft|Florrio|Java|HTML|CPP|Py|竖杠青年

这是 2026年10月27日 存档的第 1 版,不是当前版本。查看当前版本

资料、奖项与版本

资料

编号
1061426
抓取

奖项

2025 CSP-S
一等奖
172 分 · 第 3791 名
2024 CSP-J
一等奖
300 分 · 第 968 名

版本

  1. v2当前
  2. v1

Typing SVG

加一下团吧\texttt{\huge \color{red}{加一下团吧}} webside\color{orange}{\huge{{webside}}}

六彩的私信。

七彩的私信。

86=(1+1)×45×1−486 = (1+1)\times45\times1-4

35=11×4+5−1435 = 11\times4+5-14

你知道吗?输入用户名+洛谷可以找到ta的个人主页。

JavaScript
// ==UserScript==
// @name         洛谷个人介绍显示
// @namespace    https://www.luogu.com.cn/user/
// @version      beta2.0
// @description  自动显示 user.introduction,等待比赛趋势图加载,并通过其定位插入位置,图片大小自适应
// @author       songlll
// @match        https://www.luogu.com.cn/user/*
// @grant        none
// @require      https://songlll.pages.dev/markdown.js
// @require      https://cdn.jsdelivr.net/npm/prismjs@1.30.0/prism.js
// @require      https://cdn.jsdelivr.net/npm/prismjs@1.30.0/components/prism-python.min.js
// ==/UserScript==

(async function() {
    'use strict';

    function renderMarkdown(text) {
        const html = window.runMarkdown(text);
        const container = document.createElement('div');
        container.innerHTML = html;
        // 图片自适应盒子
        container.querySelectorAll('img').forEach(img => {
            img.style.maxWidth = '100%';
            img.style.height = 'auto';
            img.style.display = 'block';
            img.style.margin = '10px 0';
        });

        // 代码高亮
        container.querySelectorAll('pre code').forEach(block => {
            Prism.highlightElement(block);
            block.style.display = 'block';
            block.style.overflowX = 'auto';
        });

        return container.innerHTML;
    }

    // 获取用户介绍数据
    const jsonScript = document.getElementById('lentille-context');
    if (!jsonScript) return;
    const jsonData = JSON.parse(jsonScript.textContent);
    const introduction = jsonData.data.user.introduction || '这个人很懒,什么都没有留下。';

    // 等待趋势图加载
    function waitForTrendCard(callback) {
        const interval = setInterval(() => {
            const cards = document.querySelectorAll('.l-card');
            let trendCard = null;
            cards.forEach(card => {
                const h3 = card.querySelector('h3.lfe-h3');
                if (h3 && h3.textContent.includes('比赛等级分趋势图')) {
                    trendCard = card;
                }
            });
            if (trendCard) {
                clearInterval(interval);
                callback(trendCard);
            }
        }, 200);
    }

    waitForTrendCard(trendCard => {
        const container = document.createElement('div');
        container.id = 'custom-introduction';
        container.className ='l-card';
        container.style.overflowWrap = 'break-word';

        container.setAttribute('data-v-b62e56e7', '');
        container.setAttribute('data-v-65696950', '');
        container.setAttribute('data-v-754e1ea4-s', '');
        trendCard.parentNode.insertBefore(container, trendCard.nextSibling);

        container.innerHTML = "<h3 data-v-65696950=\"\" style=\"margin: 0px;\">个人介绍 (插件显示)</h3>"+renderMarkdown(introduction);
    });
})();

JavaScript
// ==UserScript==
// @name         百度贴吧优化
// @namespace    http://tampermonkey.net/
// @version      2025-02-09
// @description
// @author       songlll
// @match        https://tieba.baidu.com/*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=baidu.com
// @grant        none
// ==/UserScript==

(function() {
    'use strict';

    var div = document.getElementById('aside');
    if(div){
        while(1){
    div.parentNode.removeChild(div);
        div = document.getElementById('head');
    div.style="visibility: hidden;";
        div = document.getElementByClassName('search_top clearfix')[0];
    div.parentNode.removeChild(div);}
    }
})();

本人的萌新QAQ是刚学开发模组但是是这样即使我也声音大声喊出要用人机的\huge\text{\color{#ff0000}{\texttt{本}}}\huge\texttt{\color{#ff0000}{人}}_{\small\text{\color{#aa5500}{\texttt{的}}}^{\large\text{\color{#996600}{萌}\color{#996600}{新}}\small\texttt{\color{#887700}{Q}\color{#778800}{A}\color{#669900}{Q}}}}^{\large\text{\color{#ee1100}{是}}{\small\texttt{\color{#dd2200}{刚}\color{#cc3300}{学}}_{\texttt{\color{#cc3300}{开发}}}\color{#bb4400}{模组}}}\huge\text{\color{#55aa00}{但}\color{#55aa00}{是}}^{\large\text{\color{#44bb00}{即}}{\large\text{\color{#33cc00}{使}}}}_{\normalsize\text{\color{#22dd00}{是}\color{#22dd00}{这}\color{#11ee00}{样}}}\text{\color{#00ff00}{我}\color{#00ee11}{也}}^{\small\text{\color{#00dd22}{要}}\normalsize\texttt{\color{#00dd22}{用}}^{\texttt{\color{#00cc33}{人}}{\texttt{\color{#00bb44}{机}}}_{\small\texttt{\color{#00aa55}{的}}}}}_{\scriptsize\texttt{\color{#00aa55}{声}\color{#009966}{音}\color{#008877}{大}\color{#007788}{声}\color{#006699}{喊}\color{#006699}{出}}} Minecraft牛B\huge\texttt{\color{#0055aa}{Min}\color{#0044bb}{ecr}\color{#0033cc}{aft}\color{#0022dd}{牛}\color{#0011ee}{B}}