Created
April 24, 2022 18:40
-
-
Save strawbberrys/628e340c106955623a92641b5aa38625 to your computer and use it in GitHub Desktop.
Removes the Roblox Missing Information popup (TamperMonkey)
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 Roblox Missing Information remover | |
// @description Removes the Roblox Missing Information popup | |
// @author strawberrys | |
// @version 1.0 | |
// @match *://*.roblox.com/* | |
// @run-at document-start | |
// ==/UserScript== | |
const observer = new MutationObserver((mutations, observer) => { | |
const overlay = document.getElementById("simplemodal-overlay") | |
const container = document.getElementById("simplemodal-container") | |
if (overlay && container) { | |
overlay.remove() | |
container.remove() | |
return observer.disconnect() | |
} | |
}) | |
observer.observe(document, { | |
childList: true, | |
subtree: true | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment