AdGuard Popup Blocker Beta is not compatible with specific abort-current-inline-script
Closed this issue · 1 comments
AdamWr commented
Steps to reproduce
- Install latest AdGuard Popup Blocker Beta (2.5.86)
- Add this rule to user rules:
example.org#%#//scriptlet('abort-current-inline-script', 'EventTarget.prototype.addEventListener', 'qwertyTest')
- Go to - https://example.org/
- Run in browser console:
document.documentElement.addEventListener("click", () => window.open(`/test`) );
- Click somewhere
Popup should be blocked, but it looks like that abort-current-inline-script
with EventTarget.prototype.addEventListener
causes that AdGuard Popup Blocker is broken.
I'm not sure if it's correct place to report it, but this issue doesn't occur with stable version of popup blocker 2.5.71, so I'm reporting it here.