Created
August 26, 2022 11:01
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