sxuid / Dynamics 365 - hide org notification bar

// ==UserScript==
// @name         Dynamics 365 - hide org notification bar
// @namespace    http://tampermonkey.net/
// @version      0.2
// @description  Hides the D365 App Message bar
// @author       You
// @license      MIT
// @match        https://*.dynamics.com/main.aspx*
// @updateURL https://openuserjs.org/meta/sxuid/Dynamics_365_-_hide_org_notification_bar.meta.js
// @copyright 2018, sxuid (https://openuserjs.org//users/sxuid)
// @grant        none
// ==/UserScript==

(function() {
    'use strict';
    setTimeout(oneMinuteLoop, 5*1000);
})();

function oneMinuteLoop() {
    hideCrmAlertBar();
    setTimeout(oneMinuteLoop, 60*1000);
}

function hideCrmAlertBar() {
    $("#crmAppMessageBar").css("height", "0px").css("border", "none").css("display", "none");
    $("#crmContentPanel").css("top", "114px");
}