Last active
June 14, 2019 16:52
-
-
Save fischgeek/811512bd5ec5de929206ee19c45200d4 to your computer and use it in GitHub Desktop.
Take back that space that those annoying ads and upgrade prompts are currently holding prisoner
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 Space Liberation | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description Gains that space back by annoying ads and upgrade prompts. | |
// @author fischgeek | |
// @match https://outlook.live.com/mail/* | |
// @grant none | |
// @require http://code.jquery.com/jquery-1.12.4.min.js | |
// ==/UserScript== | |
var $ = window.jQuery | |
$(document).ready(function() { | |
setInterval(function(){ | |
$('[data-icon-name="OutlookLogo"]').parent().parent().parent().hide() | |
$('[role="menu"]').prev().hide() | |
$('span:contains("Upgrade to Office 365")').parent().parent().parent().hide() | |
}, 500) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment