-
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
Block element via CSS doesn't capture the correct element #904
Comments
Thank you for adding this - it is a known issue (to me). The right click functionality currently uses the unique-selector library, which will need to be replaced with our own custom one. |
Hope that you do not only rely on id of element, because some website randomize the id. I have yet to get the CSS selector to block the correct element even when writing custom CSS selector |
Not cool. I did not +1 this issue, and I object to +1-ing it on my behalf by @srirambv who closed #3041 as a duplicate of this one without taking a minute to look into what I reported. #3041 has nothing to do with selector not matching the right element and everything to do with the OH WAIT, @srirambv is actually the reporter of this bug. He cannibalized my issue to bump his, abusing his collaborator privileges. Doubly not cool. |
Ok you really got me with that statement. 😂 Reason for adding it here is not because I logged the issue, this issue is for tracking a feature of custom rules that can be added for the block element that would eventually be implemented. There is also an issue for adding a preview (#1280) before blocking. So this issue and #1280 would ideally have the same fix when implemented which would cover your usecase as well. 🖖 |
You should have provided that explanation when closing my issue. |
+1s from Community: |
Is there a workaround for this? E.g., some text file, etc, that I could edit that would allow the same end result? |
Closing as |
Description
Block element via CSS doesn't capture the correct element
Steps to Reproduce
Actual result:
https://drive.google.com/open?id=1X6uPVaWtc59yGmDAaPSpX78HBz-yjUN2
Expected result:
Should correctly identify the element and block it
Reproduces how often:
100%
Brave version (about:brave info)
Reproducible on current release:
N/A
Website problems only:
Additional Information
cc: @Snuupy
The text was updated successfully, but these errors were encountered: