Last active
November 28, 2023 11:52
-
-
Save bunkernine/561e5bfe0830e07617b7eba2aa267f59 to your computer and use it in GitHub Desktop.
remove ad from typing
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 Remove ad from Typing | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author You | |
// @match https://www.typing.com/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=typing.com | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
// Your code here... | |
let ad = document.querySelector('.structure-advert.advert'); | |
if(ad) ad.remove(); | |
let premiumNotice = document.querySelector('.header-callout.card.card--xs.bg'); | |
if(premiumNotice) premiumNotice.remove(); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment