Skip to content

prevent-listener not working properly

Google Chrome 110.0.5481.177 + ABP 3.16.1

Firefox 110.0.1 + ABP 3.16.1

Example: https://lenta.ru/news/2021/10/31/pozor/ - when scrolling down, an auto-redirect occurs.

In uBlock Origin it is blocked by the rule: lenta.ru##+js(addEventListener-defuser, scroll, window.history.pushState)

If add an analogue of this rule to Adblock Plus: lenta.ru#$#prevent-listener scroll window.history.pushState - then it will turn out to be useless, it only works: lenta.ru#$#prevent-listener scroll - and this is too much, and the functionality not related to the autoredirect breaks.