Created
August 18, 2021 13:06
-
-
Save GaurangTandon/1002be83974e3702605d9334668670d6 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 Amp Fixer | |
// @match https://codedrills.io/contests/icpc-gwalior-pune-2020-regional-round/scoreboard | |
// ==/UserScript== | |
function fixer() { | |
const elms = document.querySelectorAll(".v-data-table__wrapper > table:nth-child(1) > tbody:nth-child(3) > tr > td:nth-child(3)"); | |
for (const elm of [...elms]) { | |
const s = elm.innerText; | |
const sT = s.replace(/&?\bamp\b;?/g, ""); | |
elm.innerText = sT; | |
} | |
setTimeout(fixer, 2000); | |
} | |
fixer(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment