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

JS rules with specific domains specified still trigger on other domains #59

Open sellentis opened 2 months ago

sellentis commented 2 months ago

JS rules with specific domains specified still trigger on other domains if there is an iframe with that domain present. For example, for a rule like youtube.com#%#console.log('rule run'), visiting a Google page with a YouTube video (coz of iframe) will still invoke this rule. Similarly, for rules like *#%#, if the extension is disabled for a particular domain but there are iframes present on it, the rule still gets triggered Example 1: Image 16 04 2024 at 11 52

Example 2: Image 16 04 2024 at 11 56