Blocking a non-div element with specific attribute tag

Various discussions related to Adblock Plus development
Post Reply
rjShadow
Posts: 1
Joined: Tue Sep 14, 2021 4:53 am

Blocking a non-div element with specific attribute tag

Post by rjShadow »

It seems that a lot of websites are getting really smart to get around adblock and full-screen cursor blocking.
A common technique I've seen lately is using an <a> tag that contains a style tag encompassing the full window width/height, and capturing clicks. I can't add it to the blocklist because it's not a div.

The common offender is

Code: Select all

<a dont="" style="top: 0px; left: 0px; width: 943px; height: 510px; position: absolute; z-index: 2147483647;"></a>
and somewhere in Javascript is handling/capturing the clicks to generate a pop-up.

Is there a way to detect and block these? Can these blank attribute tags be blocked somehow, even though it's not a div?

Thank you very much!
Post Reply