Skip to content

Instantly share code, notes, and snippets.

@K0lb3
Last active October 19, 2020 14:06
Show Gist options
  • Save K0lb3/95853011e2285f665a693cfa609b983e to your computer and use it in GitHub Desktop.
Save K0lb3/95853011e2285f665a693cfa609b983e to your computer and use it in GitHub Desktop.
GreaseMonkey script for the removal of adds of the T-Online Email
// ==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