Created
November 2, 2021 15:36
-
-
Save JonathanAnderson/5d84e7d70a8e8bc5e35bce98ff7bba15 to your computer and use it in GitHub Desktop.
ADSB Exchange Tampermonkey Script
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 ADSB Exchange | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author You | |
// @match https://globe.adsbexchange.com/* | |
// @icon https://www.google.com/s2/favicons?domain=tampermonkey.net | |
// @grant none | |
// @run-at document-idle | |
// ==/UserScript== | |
var cleanup_counter = 0; | |
var cleanup_interval = setInterval(cleanup_FIOnDemandWrapper, 1000); | |
function cleanup_FIOnDemandWrapper() { | |
var fiondemandwrappers = $(".FIOnDemandWrapper"); | |
fiondemandwrappers.remove(); | |
console.log("FIOnDemandWrapper removed.", ++cleanup_counter); | |
if (cleanup_counter >= 5) { | |
clearInterval(cleanup_interval); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment