I am a big fan or Hackernoon, but their sticky header and footer bars are too big and annoying. To fix that, I’ve written a quick TamperMonkey script to remove it.
// ==UserScript== | |
// @name Hackernoon Update | |
// @namespace https://www.danielandrade.net | |
// @version 0.1 | |
// @description Remove Hackernoon annoying sticky bottom/header | |
// @author Daniel Spillere Andrade | |
// @match https://hackernoon.com/* | |
// ==/UserScript== | |
function addGlobalStyle(css) { | |
var head, style; | |
head = document.getElementsByTagName('head')[0]; | |
if (!head) { return; } | |
style = document.createElement('style'); | |
style.type = 'text/css'; | |
style.innerHTML = css; | |
head.appendChild(style); | |
} | |
addGlobalStyle('.u-bottom0 { display: none !important; }'); | |
addGlobalStyle('.metabar { display: none !important; }'); |