Last active
September 25, 2017 06:08
-
-
Save noelex/a2e065b25f199ec054478be1a9fb1dfa to your computer and use it in GitHub Desktop.
Outlook.com Ad-Blocker
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 Office.com Ad-Blocker | |
// @namespace http://tampermonkey.net/ | |
// @version 0.4 | |
// @description try to take over the world! | |
// @author You | |
// @match https://outlook.live.com/owa/* | |
// @match https://outlook.live.com/mail/* | |
// @grant none | |
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
var css = "<style>._n_h,.stQe7wknhnXCAAroiyvBY,._2qPmszDwBfYpF7PO9Mn3KN {display: none;} \r\n #primaryContainer > div{ right: 0 !important;}</style>"; | |
$("head:first").append(css); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment