Skip to content

Instantly share code, notes, and snippets.

@fcard
Created July 29, 2023 00:21
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 fcard/95736d4b2eb437539380445e98caecc4 to your computer and use it in GitHub Desktop.
Save fcard/95736d4b2eb437539380445e98caecc4 to your computer and use it in GitHub Desktop.
Cohost Toaster Overlay
// ==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