hopkir / MSN Annoyances

// ==UserScript==
// @name         MSN Annoyances
// @namespace    https://openuserjs.org/users/hopkir
// @version      0.3
// @description  Remove annoyances from MSN Website
// @author       hopkir
// @copyright    2021, hopkir (https://openuserjs.org/users/hopkir)
// @match        https://www.msn.com/*
// @license      MIT
// @grant        none
// @require http://code.jquery.com/jquery-latest.js
// @require  https://gist.github.com/raw/2625891/waitForKeyElements.js
// ==/UserScript==

function deleteIrritatingElements(jNode) {
  jNode.remove();
}

waitForKeyElements("#aside", deleteIrritatingElements);
waitForKeyElements("#stickyTitleBar", deleteIrritatingElements);
waitForKeyElements(".videojsplayer", deleteIrritatingElements);
waitForKeyElements(".medianetintraarticlenativead", deleteIrritatingElements);
waitForKeyElements(".head", deleteIrritatingElements);
waitForKeyElements(".normalsection", deleteIrritatingElements);
waitForKeyElements(".widead", deleteIrritatingElements);
waitForKeyElements("precontent", deleteIrritatingElements);
waitForKeyElements("iframe", deleteIrritatingElements);