Remove PackageTrackr.com Ad-Block Modal

PackageTrackr recently added an ad-block detection popup. Script removes it as soon as it's added.

Autor
Will Belden
Instalaciones diarias
0
Instalaciones totales
31
Calificaciones
0 0 0
Versión
0.15
Creado
26/04/2023
Actualizado
31/05/2024
Tamaño
1.3 KB
Licencia
MIT
Funciona en

PackageTrackr.com - Ad-Block Detection Modal Removal

PackageTrackr.com is one of my absolute favorite sites for tracking various packages I have coming or going, in a single place, with major shipping providers supported. Recently, they added ad-block detection and throw a popup.

This script will simply add an observer for new elements and if the className matches any of those in the array, then that element is removed.

Honestly, I couldn't find a simple script like this to start from, so I had to write from scratch. Feel free to fork it to add an observer to your favorite site that needs a script to do whatever YOU want it to do!

NOTE: Does require jQuery, because I'm lazy and that's just the simplest for me.