Skip to content

Instantly share code, notes, and snippets.

@fischgeek
Last active June 14, 2019 16:52
Show Gist options
  • Select an option

  • Save fischgeek/811512bd5ec5de929206ee19c45200d4 to your computer and use it in GitHub Desktop.

Select an option

Save fischgeek/811512bd5ec5de929206ee19c45200d4 to your computer and use it in GitHub Desktop.

Revisions

  1. fischgeek revised this gist Jun 14, 2019. 1 changed file with 1 addition and 2 deletions.
    3 changes: 1 addition & 2 deletions tampermonkey-outlook-space-liberation.js
    Original file line number Diff line number Diff line change
    @@ -11,10 +11,9 @@

    var $ = window.jQuery
    $(document).ready(function() {
    $('[data-icon-name="OutlookLogo"]').parent().parent().parent().hide()
    setInterval(function(){
    $('[data-icon-name="OutlookLogo"]').parent().parent().parent().hide()
    $('[role="menu"]').prev().hide()
    $('span:contains("Upgrade to Office 365")').parent().parent().parent().hide()
    }, 1000)
    }, 500)
    })
  2. fischgeek created this gist Jun 14, 2019.
    20 changes: 20 additions & 0 deletions tampermonkey-outlook-space-liberation.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,20 @@
    // ==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() {
    $('[data-icon-name="OutlookLogo"]').parent().parent().parent().hide()
    setInterval(function(){
    $('[data-icon-name="OutlookLogo"]').parent().parent().parent().hide()
    $('[role="menu"]').prev().hide()
    $('span:contains("Upgrade to Office 365")').parent().parent().parent().hide()
    }, 1000)
    })