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

Make it more easy to view codeforces judging status.

// ==UserScript==
// @name         Codeforces problemset 题目页面 status 指向当前题目所在比赛的提交记录
// @namespace    http://tampermonkey.net/
// @version      1.0
// @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...
})();