Created
July 29, 2023 00:21
-
-
Save fcard/95736d4b2eb437539380445e98caecc4 to your computer and use it in GitHub Desktop.
Cohost Toaster Overlay
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
// ==UserScript== | |
// @name Cohost Toaster Overlay | |
// @namespace https://cohost.org/ | |
// @version 0.1 | |
// @description bring back teh toasters | |
// @author \phi | |
// @match https://cohost.org/* | |
// @icon data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw== | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
window.addEventListener("load", (event) => { | |
var div = document.createElement("div"); | |
div.style.position = 'fixed'; | |
div.style.width = '100%'; | |
div.style.height = '100%'; | |
div.style.opacity = '100%'; | |
div.style.backgroundImage = 'url("https://i.imgur.com/joQoXcT.gif")'; | |
div.style.top = '0px'; | |
div.style.left = '0px'; | |
div.style.pointerEvents = 'none'; | |
div.zIndex = 9; | |
document.body.appendChild(div); | |
}); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment