Codeforces problemset 题目页面 status 指向当前题目所在比赛的提交记录

Make it more easy to view codeforces judging status.

目前为 2024-06-27 提交的版本。查看 最新版本

// ==UserScript==
// @name         Codeforces problemset 题目页面 status 指向当前题目所在比赛的提交记录
// @namespace    http://tampermonkey.net/
// @version      2024-06-24
// @description  Make it more easy to view codeforces judging status.
// @author       adfhkjafsdk
// @license      MIT
// @match        https://codeforces.com/problemset/problem/*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=codeforces.com
// @grant        none
// ==/UserScript==

(function() {
    'use strict';
    let x=location.href.split('/');
    let h="/contest/"+x[5]+"/status/"+x[6]+"?order=BY_ARRIVED_DESC";
    // let h="/contest/"+x[5]+"/status";
    //console.log(h);
    let e=document.querySelector("#pageContent > div.second-level-menu > ul > li:nth-child(3) > a");
    //console.log(e);
    e.href=h;
    // Your code here...
})();

QingJ © 2025

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