Giter Club home page Giter Club logo

blockrz's People

Contributors

dependabot-preview[bot] avatar mai-cliqz avatar remusao avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

mai-cliqz

blockrz's Issues

[not an issue] Sharing my ad blocker

Hi @remusao ,

Today I saw your PicoAdblocker add-on.
Very nice job. Thank you for your work.

By spying inside your xpi file and here at your GitHub' repo, I read that your add-on uses uBlock' blocking-lists + cliqz' engine (if I'm not wrong, your add-on is a kind of Ghostery' lite version). But at about:performance I can see it's eating more than 4,5MB and CPU is pushed a bit. Compared to uBlock itself or to other similar blockers using blocking-lists, I think your add-on has a pretty nice performance. But I would like to take the opportunity to invite you to check add-ons using just RegExps instead of blocking-lists.

Here is my customized add-on: https://ufile.io/4w399y3a
It's based on this abandoned add-on: https://addons.mozilla.org/en-US/firefox/addon/rule-adblocker/
My JS' knowledge is almost zero, but myself I was capable to clean the original JS' script, and I improved the RegExps. Of course, always there is space for another improvements!

The good news is that my precarious customized version eats just 400KB, and CPU is absolutely quiet.
Most important, this tiny lightweight add-on blocks almost everything with the default RegExps I added. It's not perfect, but it kills 90% of the ads.
Also, any user can add his customized RegExps to block his local ads... and it's very easy to do that!

With regards to trackers, I have another version with RegExps for trackers. It is bigger, eats more RAM and CPU, but it is still very lightweight consuming less than 800KB and low CPU.
Why it's not included in the file I'm attaching you here? Because personally I found that another tiny lightweight add-on blocking third-party JS... blocks most of the trackers in the more efficient way.

In conclusion: RegExps against ads, and blocking of third-party JS against trackers... this is the best combo I found related to low RAM/CPU consume. And the results are great!

I stopped using blocking-lists long time ago. There are plenty of studies showing that less than 20% of each blocking-list is used 90% of the time (80% wasted). So from my ignorance, seems to me very inefficient to use any approach against ads and trackers based on blocking-lists.

I would love to invite you to take a look to this different approach, using RegeExps for ads, and blocking of third-party JS for trackers.
I don't have the knowledge, but perhaps you can build a new add-on, using these two approaches against ads and trackers. If this is the case, if by chance you're interested, please count on me, I can hep you doing tests or whatever you may need. I'm convinced that this is the most efficient approach against ads/trackers, using less RAM/CPU.

Thank you in advance! : )

Dependabot can't resolve your JavaScript dependency files

Dependabot can't resolve your JavaScript dependency files.

As a result, Dependabot couldn't update your dependencies.

The error Dependabot encountered was:

Error whilst updating @cliqz/adblocker-webextension in /yarn.lock:
Couldn't find package "@cliqz/adblocker-extended-selectors@^1.20.0" required by "@cliqz/adblocker@^1.20.0" on the "npm" registry.

If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.

View the update logs.

Some ads are blocked even if the adblocker is turned off

Even if i turn off the adblocker using "disableBlockingInBrowser" function some ads are blocked. For example the ad on the main page of youtube gets blocked even when the adblocker is disabled. The ads from the videos work properly though.

Dependabot can't resolve your JavaScript dependency files

Dependabot can't resolve your JavaScript dependency files.

As a result, Dependabot couldn't update your dependencies.

The error Dependabot encountered was:

Error whilst updating @cliqz/adblocker-webextension-cosmetics in /yarn.lock:
Couldn't find package "@cliqz/adblocker-extended-selectors@^1.20.0" required by "@cliqz/adblocker-content@^1.20.0" on the "npm" registry.

If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.

View the update logs.

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.