GithubHelp home page GithubHelp logo

Comments (8)

gorhill avatar gorhill commented on June 22, 2024

To me it looks like Fanboy is missing a filter to go with the other Facebook filters. Can you try: ||connect.facebook.net/*/all.js^$third-party?

Looks like I will need a project list to fix Fanboy's annoyance and Fanboy Anti-Facebook until (and if) they add the missing filter.

Other way to address this would be to also listen to attribute changes in the mutation observer, but this is something I am trying to avoid (overhead etc.) So I see the above filter as logically missing in the relevant filter list.

Edit: updated to use a * in lieu of en_US.

from ublock.

semenko avatar semenko commented on June 22, 2024

Ah nice, that does the trick.

from ublock.

gorhill avatar gorhill commented on June 22, 2024

Just for the record, I don't think ABP would have suffered the same problem, because it listens to all load events, while uBlock listens only to the ones from elements which have not have their src property set (that could be a problem in certain cases, but I want to try the lower overhead angle first). Either ways, using above filter is the right thing to do, as otherwise users are still hitting 3rd-party Facebook server.

from ublock.

gorhill avatar gorhill commented on June 22, 2024

Submitted suggested fix to Fanboy's forum.

from ublock.

semenko avatar semenko commented on June 22, 2024

Awesome -- thanks again.

I love the focus on keeping uBlock's overhead incredibly low. I get the sense a lot of people avoid ABP & similar extensions due to CPU overhead on thin-ish clients like Chromeboxes (It's an ongoing problem we face with HTTPS Everywhere).

from ublock.

gorhill avatar gorhill commented on June 22, 2024

Answer from fanboy:

Would break facebook comments; add the Anti-Facebook sub from https://www.fanboy.co.nz if you don't mind blocking facebook comments.

Enabling Fanboy Anti-Facebook didn't work. Yet I see this filter in the list: ||connect.facebook.net^$third-party,domain=~facebook.com, which means it should be blocked. Investigating.

from ublock.

gorhill avatar gorhill commented on June 22, 2024

Interesting, this issue allowed to uncover a nasty bug which affected filters using the ~example.com filter option. Once this bug is fixed, the suggestion from Fanboy will work, or else the other workaround of using the custom filter ||connect.facebook.net/*/all.js^$third-party. I will open issue for the uncovered filter bug though, it deserves its own issue.

from ublock.

gorhill avatar gorhill commented on June 22, 2024

Fixed in 0.2.3.2.

from ublock.

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.