Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new scriptlet — 'prevent-constructor' #461

Open
Yuki2718 opened this issue Oct 20, 2024 · 1 comment
Open

Add new scriptlet — 'prevent-constructor' #461

Yuki2718 opened this issue Oct 20, 2024 · 1 comment
Assignees
Labels

Comments

@Yuki2718
Copy link

To prevent constructor such as new Promise or new MutationObserver that can be used to circumvent existing scriptlets like prevent-addEventListener.

@AdamWr
Copy link
Member

AdamWr commented Oct 20, 2024

Also related - AdguardTeam/AdguardFilters#189250 (comment) (prevented a new IntersectionObserver if callback contains e[0].intersectionRatio to fix annoying popup).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants