Skip to content

Instantly share code, notes, and snippets.

@AdenGames
Created April 2, 2022 22:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AdenGames/d1c6f2996321671a3a416374b6d5c72e to your computer and use it in GitHub Desktop.
Save AdenGames/d1c6f2996321671a3a416374b6d5c72e to your computer and use it in GitHub Desktop.
Hasan overlay
// ==UserScript==
// @name Azan
// @namespace https://www.reddit.com/r/Hasan_Piker/
// @version 1.0.4
// @description Hasan template with animated transparency!
// @author r/Hasan_Piker
// @match https://hot-potato.reddit.com/embed*
// @icon https://www.google.com/s2/favicons?sz=64&domain=reddit.com
// @grant none
// @license GPL-3.0
// ==/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://cdn.discordapp.com/attachments/721101271162945588/959946733834625054/template.png";
i.style = "position: absolute;left: 0;top: 0;image-rendering: pixelated;width: 2000px;height: 1000px;";
console.log(i);
return i;
})())
}, false);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment