Skip to content

Instantly share code, notes, and snippets.

@aaira-a
Created August 26, 2022 11:01
TamperMonkey user script to set text content
// ==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