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

"Don't warn me about this site again" in the strict-blocking creates too permissive rules #28390

Closed
Yuki2718 opened this issue Feb 8, 2023 · 4 comments · Fixed by brave/brave-core#17117
Assignees
Labels

Comments

@Yuki2718
Copy link

Yuki2718 commented Feb 8, 2023

It now creates @@||example.com^ but this should be @@||example.com^$document only allowing strict-blocking.

@Yuki2718 Yuki2718 changed the title Don't warn me about this site again in the strict-blocking creates too permissive rules "Don't warn me about this site again" in the strict-blocking creates too permissive rules Feb 8, 2023
@antonok-edm antonok-edm transferred this issue from brave/adblock-rust Feb 8, 2023
@antonok-edm antonok-edm self-assigned this Feb 8, 2023
@antonok-edm antonok-edm added bug feature/shields/adblock Blocking ads & trackers with Shields OS/Android Fixes related to Android browser functionality OS/Desktop labels Feb 8, 2023
@antonok-edm
Copy link
Collaborator

Great catch, thanks! We definitely shouldn't be exempting it globally.

Makes me wonder if it's worth experimenting with @@||example.com^$first-party as an option too.

@Yuki2718
Copy link
Author

Yuki2718 commented Feb 9, 2023

@@||example.com^$first-party

That's better than the current one, but can still allow too much given Brave blocks 1p ads/tracker once set to Aggressive mode.

@brave-builds brave-builds added this to the 1.50.x - Nightly milestone Feb 9, 2023
@LaurenWags LaurenWags added the QA/In-Progress Indicates that QA is currently in progress for that particular issue label Mar 20, 2023
@LaurenWags
Copy link
Member

LaurenWags commented Mar 20, 2023

Verified with

Brave | 1.50.92 Chromium: 111.0.5563.64 (Official Build) beta (x86_64)
-- | --
Revision | c710e93d5b63b7095afe8c2c17df34408078439d-refs/branch-heads/5563@{#995}
OS | macOS Version 12.6.3 (Build 21G419)

Using STR from test plan and 1.49.120, reproduced the issue.

Verified test plan from brave/brave-core#17117 (comment).

Step 0 Step 1 Step 3 Step 4 Step 6 Step 7
0 1 3 4 6 7

@LaurenWags LaurenWags added QA/Blocked QA/In-Progress Indicates that QA is currently in progress for that particular issue QA Pass-macOS and removed QA/In-Progress Indicates that QA is currently in progress for that particular issue QA/Blocked labels Mar 20, 2023
@kjozwiak
Copy link
Member

kjozwiak commented Apr 4, 2023

Verification PASSED on Pixel 6 running Android 13 using the following build(s):

Brave | 1.50.113 Chromium: 112.0.5615.49 (Official Build) (32-bit)
--- | ---
Revision | bd2a7bcb881c11e8cfe3078709382934e3916914-refs/branch-heads/5615@{#936}
OS | Android 13; Build/TQ2A.230305.008.E1

Using the STR/Cases outlined via brave/brave-core#17117 (comment), verified that everything was working as expected as per:

Example Example Example Example Example Example Example Example
Screenshot_20230404-154354 Screenshot_20230404-154418 Screenshot_20230404-154550 Screenshot_20230404-154632 Screenshot_20230404-154657 Screenshot_20230404-154707 Screenshot_20230404-154719 Screenshot_20230404-154731

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

Successfully merging a pull request may close this issue.

5 participants