-
Notifications
You must be signed in to change notification settings - Fork 632
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
www.ebay.com #126089
Comments
Ad ones have this style: Sadly matches-css is not hiding, an idea @AdamWr ? Likely due to pseudo "first-line"
|
You are probably right. Probably something like this:
should works. Code:AG_onLoad(function () {
const a = new MutationObserver(function () {
const elements = document.querySelectorAll(`.s-item:not([style]) .s-item__wrapper > .s-item__info > .s-item__details > .s-item__detail > span > span[aria-labelledby^="s-"] > span`);
elements.forEach(e => {
if (window.getComputedStyle(e, ':first-line').textShadow === "rgb(112, 112, 112) 0px 0px 0px") {
const parent = e.closest(".s-item:not([style])");
if(parent) {
parent.style = "display: none !important;";
}
}
});
});
a.observe(document, {
childList: !0,
subtree: !0
});
}); |
@gwarser, @gorhill, @uBlock-user this looks like troubles with: uBlockOrigin/uBlock-issues#2090 more pages can start use this instead |
we really need a new pseudo-class for such cases |
@krystian3w can you please show some real examples of |
For now no, so no possible implement in uBo - no like PoC. |
gorhill added support - gorhill/uBlock@7bc0b5d |
Not in stable, still for dev builds. |
Issue URL (Ads)
https://www.ebay.com/sch/i.html?_from=R40&_nkw=projector&_sacat=0&_sop=15&rt=nc&LH_BIN=1
Comment
Username: @jimmysofat6864
Screenshots
Screenshot 1
System configuration
AdGuard Base,
AdGuard Mobile Ads
Privacy:
AdGuard Tracking Protection,
EasyPrivacy,
Fanboy's Enhanced Tracking List,
Peter Lowe's Blocklist
Annoyances:
AdGuard Annoyances,
Fanboy's Annoyances,
Web Annoyances Ultralist,
Adblock Warning Removal List,
I don't care about cookies,
EasyList Cookie List,
Dandelion Sprout's Annoyances List
Security:
Online Malicious URL Blocklist,
NoCoin Filter List
The text was updated successfully, but these errors were encountered: