Remove PackageTrackr.com Ad-Block Modal

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

ผู้เขียน
Will Belden
จำนวนติดตั้งประจำวัน
0
จำนวนติดตั้งทั้งหมด
31
คะแนน
0 0 0
เวอร์ชัน
0.15
สร้างเมื่อ
26-04-2023
อัปเดตเมื่อ
31-05-2024
Size
1.3 กิโลไบต์
สัญญาอนุญาต
MIT
ปรับใช้กับ

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.