-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Custom adblock rules should allow cosmetic filters #4348
Custom adblock rules should allow cosmetic filters #4348
Comments
cc: @Snuupy can you take a look? |
+1 also encountering this |
@srirambv Can you provide one or more sample rules that don't work and/or screenshots? |
@emerick Here's the screenshot on latest nightly. I've added the custom adblock rule
cc: @snyderp |
I think maybe the title should say custom adblock filters should allow you to add cosmetic filters? |
So the way I understand it, there's currently NO way of blocking any custom element using UI nor the custom filters in If you need another example, just try blocking ANYTHING on reddit. It just don't work at all. I tried:
Version 0.64.77 Chromium: 74.0.3729.169 (Official Build) (64-bit) on Linux. |
@tbergeron that is correct - there is currently no way to block UI elements @Snuupy is working through several issues related to UI element blocking which are tracked here: |
cc: @ryanbr |
This is not really in @ryanbr's purview at the moment, since we don't have the ability to apply cosmetic filters at all, and @ryanbr is working on improving issues with existing adblocking capabilities. Hopefully we'll have this worked out over the summer though, with @Snuupy 's work or someone else who will be joining us for the summer |
Fixed via brave/brave-core#3121 |
@btlechowski verified custom rules are not blocking elements. Verified on
|
I don't think this issue was actually addressed with brave/brave-core#3121 This issue is covering the brave://adblock page and being able to add cosmetic filters there; the PR was updating functionality in the right click menu Re-opening and removing milestone |
After scratching my head over why my filters weren't working, I finally found this issue. It looks like the project this issue was added to (https://github.com/brave/brave-browser/projects/21) has been closed. Does this mean that there are no plans to make the box in |
@yousefamar currently that field works for network rules, not cosmetic rules. However, once this lands you can enable cosmetic rules behind a flag too After that gets tested we will start exploring ways we can enable cosmetic blocking by default |
Updated to 1.7 because brave/brave-core#4772 hasn't been merged (yet). Updating the milestone back to 1.6 is in the post-merge checklist for uplifts |
Verification passed on
Verified passed with
Verified passed with
|
Test plan
See brave/brave-core#4700
Description
Custom adblock rules doesn't work
Steps to Reproduce
brave://adblock
[Detailed STR on https://github.com/fix cosmetic filtering brave-core#3121]
Actual result:
Custom adblock rule doesn't work. Element is still loaded after adding the rule
Expected result:
Should block elements based on custom rule
Reproduces how often:
Easy
Brave version (brave://version info)
Version/Channel Information:
N/A
Yes
Yes
Yes
Other Additional Information:
N/A
N/A
N/A
Miscellaneous Information:
Context menu CSS blocker works fine but isn't always blocking the right element.
This didnt work on muon as well brave/browser-laptop#12308
cc: @emerick
The text was updated successfully, but these errors were encountered: