AdguardTeam / AdGuardMV3

AdGuard browser extension prototype based on the new Manifest V3
https://adguard.com/
GNU General Public License v3.0
144 stars 14 forks source link

ENHANCEMENT Option (user switch) to block opening new windows which are not user initiated #23

Closed LennyFox closed 1 year ago

LennyFox commented 1 year ago

Reason for requesting: Minimalizing the number of extensions used to stay under the 330.000 rules limit

Since MV3 extensions have a guaranteed quota of 30.000 static rules and 5000 dynamic rules. All extensions together may use 330.000 rules. To block irritating popups which are not triggered by the user, I currently use AdGuard's Popup Blocker script https://github.com/AdguardTeam/PopupBlocker

Would it be possible to add a switch in the adguard to add this script functionality on a per website basis? This would reduce the number of specific rules to block pop-ups and new window creation (pop-unders) often used by annoying advertising networks (e.g. traffucjunky uses this mechanism).

image

This would have the benefit for AdGuard users not needing extensions which are directed to blocking popups.

ameshkov commented 1 year ago

This would reduce the number of specific rules to block pop-ups and new window creation (pop-unders) often used by annoying advertising networks (e.g. traffucjunky uses this mechanism).

Well, rather good news is that the rules that are used against pop-ups are mostly "cosmetic", i.e. they don't count against the declarative rules limit anyways.