Last active
October 19, 2020 14:06
-
-
Save K0lb3/95853011e2285f665a693cfa609b983e to your computer and use it in GitHub Desktop.
GreaseMonkey script for the removal of adds of the T-Online Email
This file contains hidden or 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 T-Online Email - Add removal | |
// @version 1 | |
// @grant none | |
// @match *://email.t-online.de/* | |
// ==/UserScript== | |
// remove add elements | |
function removeElementById(id){ | |
var elem = document.getElementById(id); | |
if (elem) elem.parentNode.removeChild(elem); | |
} | |
removeElementById('frameScaleRightBorder'); | |
removeElementById('textLinkContainer'); | |
// increase email view width - remove right restriction | |
var email_view = document.getElementById('frameScaleRight'); | |
if (email_view) email_view.style.right = 0; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment