Created
December 1, 2022 12:53
-
-
Save hjroh0315/94bbdfb53a11f297e525c656bfcddeb5 to your computer and use it in GitHub Desktop.
everything is *3500
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name what the f | |
// @namespace http://tampermonkey.net/ | |
// @version 1 | |
// @description everything is f*cking *3500 | |
// @author chromate00 | |
// @match https://codeforces.com/* | |
// @match http://codeforces.com/* | |
// @grant none | |
// @run-at document-end | |
// ==/UserScript== | |
const reg = /\*.+/; | |
var nds=document.querySelectorAll('span[title="Difficulty"]') | |
nds.forEach(function(e) | |
{ | |
var iht=e.innerHTML | |
if(reg.test(iht))e.innerHTML="*3500" | |
else e.innerHTML="3500" | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment