Opened 4 years ago
Last modified 21 months ago
#2360 new change
[meta] Add ability to hide elements by their child elements
Reported by: | Lain_13 | Assignee: | hfiguiere |
---|---|---|---|
Priority: | P2 | Milestone: | |
Module: | Core | Keywords: | meta, filtersyntax |
Cc: | mapx, greiner, sebastian, fhd, arthur | Blocked By: | #3142, #3143 |
Blocking: | #4118 | Platform: | Unknown |
Ready: | no | Confidential: | no |
Tester: | Unknown | Verified working: | no |
Review URL(s): |
Description (last modified by greiner)
Background
Sometimes it is not possible to properly hide an ad unit because they are (almost) indistinguishable from similar organic content on the page. For example, it could be a paid post with advertisement link in the blog or ads in the search results (like ads on Yandex which were impossible to hide with adblock for a while and recently became selectable again simply by mistake). The general problem is the same since there is no way to target that block. It's only possible to hide something inside of it and often that is far from being enough to even get rid of the advertisement.
There are two proposals and one doesn't necessarily exclude another so both could be implemented.
Change History (12)
comment:1 Changed 4 years ago by mapx
- Cc mapx greiner added
comment:2 Changed 4 years ago by sebastian
- Cc sebastian added
comment:3 Changed 3 years ago by greiner
- Blocked By 3142, 3143 added
- Component changed from Unknown to Core
- Description modified (diff)
- Keywords meta filtersyntax added
- Summary changed from Support XPath or at least :has() pseudo-selector to hide parent by it's child to [meta] Add ability to hide elements by their child elements
- Tester set to Unknown
comment:4 Changed 3 years ago by fhd
- Cc fhd added
comment:5 Changed 3 years ago by fhd
- Blocking 4118 added
comment:7 Changed 3 years ago by fhd
- Priority changed from Unknown to P2
comment:8 Changed 3 years ago by Lain_13
Recently uBLock implemented both: https://github.com/gorhill/uBlock/releases/tag/1.7.7b0
comment:9 Changed 3 years ago by mapx
well, with the FB battle, many users are waiting for this implementation
https://adblockplus.org/forum/viewtopic.php?f=1&t=48064
comment:10 in reply to: ↑ description Changed 2 years ago by bopoh13
Replying to Lain_13:
I've a dirty patch for this: https://greasyfork.org/en/scripts/14720-it-s-not-important
How to use your scripts?
UPD: Sorry, I realized after reading the link the message.
comment:11 Changed 2 years ago by arthur
- Cc arthur added
comment:12 Changed 21 months ago by fhd
- Owner changed from fhd to hfiguiere
Split this ticket up into one for XPath support (#3142) and one for the CSS4 polyfill (#3143).