Skip to content

Instantly share code, notes, and snippets.

@clarkb7
Last active April 4, 2022 07:34
Show Gist options
  • Save clarkb7/ce65696fdc8020007e24e1ecfb25e233 to your computer and use it in GitHub Desktop.
Save clarkb7/ce65696fdc8020007e24e1ecfb25e233 to your computer and use it in GitHub Desktop.
bloodborne r/place 2022 overlay
// ==UserScript==
// @name bloodborne template
// @namespace http://tampermonkey.net/
// @version 0.2
// @description try to take over the canvas!
// @author clark, LegnaronG17
// @match https://hot-potato.reddit.com/embed*
// @icon https://www.google.com/s2/favicons?sz=64&domain=reddit.com
// @grant none
// ==/UserScript==
if (window.top !== window.self) {
window.addEventListener('load', () => {
document.getElementsByTagName("mona-lisa-embed")[0].shadowRoot.children[0].getElementsByTagName("mona-lisa-canvas")[0].shadowRoot.children[0].appendChild(
(function () {
const i = document.createElement("img");
i.src = "https://i.imgur.com/NBvsp6A.png";
i.style = "position: absolute;left: 0;top: 0;image-rendering: pixelated;width: 2000px;height: 2000px;";
console.log(i);
return i;
})())
}, false);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment