Last active
August 7, 2018 04:21
-
-
Save eheikes/7dcb569a19aa226a088f97f592ba5359 to your computer and use it in GitHub Desktop.
Tampermonkey snippet for Medium.com
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==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