Skip to content

Instantly share code, notes, and snippets.

@WesJD
Last active August 31, 2020 03:10
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 WesJD/d127d2cc4bc9b76ae879d8978d59bd36 to your computer and use it in GitHub Desktop.
Save WesJD/d127d2cc4bc9b76ae879d8978d59bd36 to your computer and use it in GitHub Desktop.
Removes the Covid banner from ELMS
// ==UserScript==
// @name Remove Covid Banner
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Removes the covid banner from on top of Canvas
// @author You
// @match *umd.instructure.com*
// @grant none
// ==/UserScript==
window.addEventListener("load", () => {
Array.from(document.getElementsByTagName("img")).filter(element => element.getAttribute("src").indexOf("covid19") != -1).forEach(element => element.remove())
}, false)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment