Last active
May 4, 2020 08:06
-
-
Save cptpiepmatz/7fd138358c215cb57c657bbad3273bc5 to your computer and use it in GitHub Desktop.
Hide the notification bell on the elearning platform
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 Elearning Notification Hider | |
// @namespace Piepmatz | |
// @version 1.0.0 | |
// @description Hide the notification bell on the elearning platform | |
// @author Tim 'Piepmatz' Hesse | |
// @grant none | |
// @include https://elearning.uni-oldenburg.de/* | |
// @run-at document-end | |
// @downloadURL https://gist.github.com/derPiepmatz/7fd138358c215cb57c657bbad3273bc5/raw | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
document.getElementById("notification_container").hidden = true; | |
document.getElementById("nav_messaging").firstElementChild.setAttribute("data-badge", "0"); | |
document.getElementById("nav_start").firstElementChild.setAttribute("data-badge", "0"); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment