Coder Social home page Coder Social logo

Filter list not fully working about adblock-rust HOT 3 OPEN

 avatar commented on June 30, 2024
Filter list not fully working

from adblock-rust.

Comments (3)

antonok-edm avatar antonok-edm commented on June 30, 2024

@Green-Leaves500 could you provide a link to the lists and/or specific filters that are not working?

from adblock-rust.

antonok-edm avatar antonok-edm commented on June 30, 2024

Looking at mail.com-related filters:

mail.com#?##content > .content-wrapper > .mod-container > .container-headline:has(> p:contains(/^SPONSORED NEWS$/))
mail.com#?#.content-wrapper > div[data-mod-name="container"]:has(> div > p:contains(/sponsored news/i))
mail.com#?#.blocks > div.block:has(> div.ad-container)
mail.com#?#.content-wrapper > div.mod-container > div.blocks > div.block > div.mod-taboolateasers:upward(div.mod-container)

Only the 3rd one uses supported syntax at the moment. The other 3 use :contains or :upward, which are procedural filters (see #293). I am working on them, but it won't work quite yet.

In the other list, related to gmx.com:

web.de,gmx.net,gmx.at,gmx.ch,gmx.com#$##abd-container { display: block !important; }

We don't support the #$#-syntax for :style(). That may also come at some point in the future, but not for now.


Generally, my recommendation is to stick with uBlock Origin-flavor syntax when possible. For example, Easylist Cookie List is very well supported by adblock-rust/Brave.

from adblock-rust.

superlex avatar superlex commented on June 30, 2024

@Green-Leaves500
They know it :)
#236
#293

from adblock-rust.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.