Skip to content

Instantly share code, notes, and snippets.

@nor0x
Last active September 4, 2018 17:06
Show Gist options
  • Save nor0x/68f0b4e8134c105268f68845192cbbf6 to your computer and use it in GitHub Desktop.
Save nor0x/68f0b4e8134c105268f68845192cbbf6 to your computer and use it in GitHub Desktop.
Outlook.com cleanup for tampermonkey
// ==UserScript==
// @name Outlook.com cleanup
// @namespace nor0x_scripts
// @version 0.1
// @description cleans up outlook.com
// @author nor0x
// @include https://outlook.live.com/*
// @grant none
// ==/UserScript==
addGlobalStyle('._20YsfelFmugQWgNkXdkYaF { display:none !important; }');
addGlobalStyle('._2qPmszDwBfYpF7PO9Mn3KN { display:none !important; }');
function addGlobalStyle(css) {
var head, style;
head = document.getElementsByTagName('head')[0];
if (!head) { return; }
style = document.createElement('style');
style.type = 'text/css';
style.innerHTML = css;
head.appendChild(style);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment