Skip to content

Instantly share code, notes, and snippets.

@bunkernine
Last active November 28, 2023 11:52
Show Gist options
  • Save bunkernine/561e5bfe0830e07617b7eba2aa267f59 to your computer and use it in GitHub Desktop.
Save bunkernine/561e5bfe0830e07617b7eba2aa267f59 to your computer and use it in GitHub Desktop.
remove ad from typing
// ==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