Created
August 13, 2024 05:24
-
-
Save johnroyer/a9cb071e9c4bd2a84567a1f4688cb7b8 to your computer and use it in GitHub Desktop.
hide medium pricing banner
This file contains hidden or 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 pricing banner | |
// @namespace http://tampermonkey.net/ | |
// @version 2024-08-13 | |
// @description try to take over the world! | |
// @author You | |
// @match https://*.medium.com/ | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
let elements = document.getElementsByClassName("adq"); | |
// check if ads block is exists | |
if (0 == elements.length) { | |
return; | |
} | |
let block = elements[0]; | |
block.style.display = "none" | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment