A basic UserScript to attempt blocking common ads, including pop-up video ads and unwanted new tab redirects, and some anti-adblock detection methods.
These are versions of this script where the code was updated. Show all versions.
Added spoofing for more common ad detection flags:
adblock
adsBlocked
canRunAds
showAds
These are now spoofed via Object.defineProperty() for better persistence and resistance.
Object.defineProperty()
Expanded domain filtering to include more ad-serving and tracking providers like:
googlesyndication
pubmatic
criteo
Now includes XMLHttpRequest interception in addition to fetch.
XMLHttpRequest
fetch
spoofBaitElements()
iab-
setInterval()
The new version is a major upgrade with: