Skip to content

Instantly share code, notes, and snippets.

@cptpiepmatz
Last active May 4, 2020 08:06
Show Gist options
  • Save cptpiepmatz/7fd138358c215cb57c657bbad3273bc5 to your computer and use it in GitHub Desktop.
Save cptpiepmatz/7fd138358c215cb57c657bbad3273bc5 to your computer and use it in GitHub Desktop.
Hide the notification bell on the elearning platform
// ==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