Skip to content

Instantly share code, notes, and snippets.

@hjroh0315
Created December 1, 2022 12:53
Show Gist options
  • Save hjroh0315/94bbdfb53a11f297e525c656bfcddeb5 to your computer and use it in GitHub Desktop.
Save hjroh0315/94bbdfb53a11f297e525c656bfcddeb5 to your computer and use it in GitHub Desktop.
everything is *3500
// ==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