Created
August 26, 2022 11:01
-
-
Save aaira-a/77ae6cc343c72afe3793a116812a1fa3 to your computer and use it in GitHub Desktop.
TamperMonkey user script to set text content
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 Rewrite words | |
// @description Rewrite words | |
// @grant GM_log | |
// @match *://*/* | |
// @version 1 | |
// ==/UserScript== | |
setInterval (function() { doReplace() }, 1000); | |
function doReplace() { | |
try { | |
document.querySelector('#mm-player-username').textContent = "xxx" | |
} catch (error) { | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment