Last active
September 4, 2018 17:06
-
-
Save nor0x/68f0b4e8134c105268f68845192cbbf6 to your computer and use it in GitHub Desktop.
Outlook.com cleanup for tampermonkey
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 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