Skip to content

Instantly share code, notes, and snippets.

@eheikes
Last active August 7, 2018 04:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eheikes/7dcb569a19aa226a088f97f592ba5359 to your computer and use it in GitHub Desktop.
Save eheikes/7dcb569a19aa226a088f97f592ba5359 to your computer and use it in GitHub Desktop.
Tampermonkey snippet for Medium.com
// ==UserScript==
// @name Hide medium.com popup
// @version 1.0
// @namespace https://medium.com
// @description Removes the signup request popup
// @author Eric Heikes
// @match https://medium.com/*
// @grant none
// ==/UserScript==
(function() {
setInterval(function() {
var overlay = document.querySelector('.overlay');
if (overlay) {
overlay.remove();
document.querySelector('html').classList = [];
}
}, 200);
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment