Sticky itens hider (medium.com, hackernoon)

Hides medium.com and hackernoon.com footer, header, sidebar and letterbox

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name               Sticky itens hider (medium.com, hackernoon)
// @description        Hides medium.com and hackernoon.com footer, header, sidebar and letterbox
// @version            2.2
// @include            https://medium.com/*
// @include            https://hackernoon.com*
// @namespace https://greatest.deepsurf.us/users/153157
// ==/UserScript==

const hackernoonFixedItens = '.Header__Layout-le0go0-0';
const mediumFixedItens = '.branch-journeys-top'

const fixedItens = document.querySelectorAll(`${hackernoonFixedItens},${mediumFixedItens}`);
const hackernoonNewsletterBox = [].filter.call( document.querySelectorAll('figure'), elem => elem.querySelector('.iframeContainer'));

const itensToHide = hackernoonNewsletterBox.concat([...fixedItens]);
itensToHide.forEach(itemToHide => itemToHide.style.display = 'none');