Remove PackageTrackr.com Ad-Block Modal

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

Tekijä
Will Belden
Päivittäiset asennukset
0
Asennuskerrat
31
Arvostelut
0 0 0
Versio
0.15
Luotu
26.4.2023
Päivitetty
31.5.2024
Size
1,3 kt
Lisenssi
MIT
Käytössä

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.