跳到正文

ProgrammerVic

482138

这个家伙不懒,但什么也没有留下 | 给脑子超频会影响寿命吗?

在洛谷打开
资料、奖项与版本

资料

编号
482138
抓取

这个人不懒,但什么都没写


时隔两年半,我终于更新我的简介和签名了!!!

真的是两年半!(2021/02/06至2023/08/26)(多一点点……可惜了)


比较擅长Python3、C++、HTML、CSS、Javascript(用于网页)

会一点Python2、C、Javascript(其他用途)、Scratch(手动狗头)、Swift(主要是SwiftUI)、VBS、TypeScript、ArkTS(主要是ArkUI)

会一点点(真的就仅限于碰过)Bash、Brainf***、Java、Objective-C


不小心注册的小号

因为注销了同一个邮箱就注册不了账号了,所以没注销


附上一段可以搜索洛谷用户的油猴 (篡改猴)脚本

不是我编的!!!来源

JavaScript
// ==UserScript==
// @name         洛谷首页添加用户名搜索
// @namespace    http://tampermonkey.net/
// @version      1.1
// @description  在洛谷的首页添加用户名搜索功能
// @author       引领天下
// @match        https://www.luogu.org/
// @match        https://www.luogu.com.cn
// @match        http://www.luogu.org/
// @match        http://www.luogu.com.cn
// @match        https://www.luogu.org
// @match        https://www.luogu.com.cn
// @match        http://www.luogu.org
// @match        http://www.luogu.com.cn
// @match        https://www.luogu.org/#feed
// @match        https://www.luogu.com.cn/#feed
// @match        http://www.luogu.org/#feed
// @match        http://www.luogu.com.cn/#feed
// @match        https://www.luogu.org/#feed/
// @match        https://www.luogu.com.cn/#feed/
// @match        http://www.luogu.org/#feed/
// @match        http://www.luogu.com.cn/#feed/
// @grant        none
// ==/UserScript==

(function() {
    'use strict';
    var tar=document.getElementsByClassName("lg-index-content")[0].getElementsByClassName("lg-article lg-index-stat")[0].parentNode;
    var ele="<div class='am-u-md-3'><div class='lg-article lg-index-stat'><h2>用户名搜索</h2><div class='am-input-group am-input-group-primary am-input-group-sm'><input type='text' class='am-form-field' placeholder='输入要搜索的用户名' id='usernamesearchbox'></div><p><button class='am-btn am-btn-danger am-btn-sm' id='usernamesearch'>进入用户主页</button></p></div></div>";
    $(tar).after(ele);
    document.getElementsByClassName("lg-index-content")[0].getElementsByClassName("am-u-md-9")[0].setAttribute("class","am-u-md-6");
    function searchname(){
        var username=document.getElementById("usernamesearchbox").value;
        $.get("https://www.luogu.com.cn/api/user/search?keyword=" + username,
                function (data) {
                    var arr = eval(data);
                    if (arr["users"][0]==null){
                        show_alert("提示","找不到用户");
                        return;
                    }
                    var tarid = arr["users"][0].uid;
                    location.href="https://www.luogu.com.cn/user/"+tarid;
                }
             );
    }
    document.getElementById("usernamesearch").onclick=function(){
        searchname();
    };
    $(document.getElementById("usernamesearchbox")).keydown(function (e) {
        if (e.keyCode==13){
            searchname();
        }
    });
    $('#container').highcharts().reflow();
    $('#container2').highcharts().reflow();
})();

2023/09/10更新

C++自制连点器 (支持按住连点)


小彩蛋

t-Yrm5-NO3-Hfo-OK5m-Zb-WM9-w4bb11b1a3a22f01d994ffa521035b77e.gif

还没有收录这位用户的文章。