GithubHelp home page GithubHelp logo

AdBlock enhancement about agregore-browser HOT 5 OPEN

agregoreweb avatar agregoreweb commented on July 23, 2024 1
AdBlock enhancement

from agregore-browser.

Comments (5)

RangerMauve avatar RangerMauve commented on July 23, 2024 1

Yeah, I'd be down for a faster approach to detecting URLs to block.

The perf changes might need to be done in the electron-extensions module, but we could also try to do them in the extension.

Not sure if blocking stuff based on URL content is the best idea though since it can lead to false positives. 🤔

from agregore-browser.

KyGost avatar KyGost commented on July 23, 2024 1

After giving this a go it wasn't worth it.
Perhaps there is something better we can do. It'd be good to test the true time it takes to run the adblock, perhaps it is just psychological.

from agregore-browser.

KyGost avatar KyGost commented on July 23, 2024 1

This looks even longer than our current list, whilst perhaps it may improve ad blocking, it wouldn't improve the performance hit.

from agregore-browser.

KyGost avatar KyGost commented on July 23, 2024

Yeah, I ended up deciding that perhaps the best approach to have a middleground of efficiency and quality is to condence the list into regex which captures 95%(or more?) of the list and then if it is captured, it is searched.

So perhaps a config file for the extension in the extension files, default to regex + HTTP/S only but options of:

  • Everything
  • HTTP/S only
  • HTTP/S only + regex

I'll write it up some time

from agregore-browser.

zoonderkins avatar zoonderkins commented on July 23, 2024

Suggestion adblock list: https://abp.oisd.nl/light

from agregore-browser.

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.