Comments (2)
Hi @astuanax,
I'm not 100% sure what you're trying to achieve, but hopefully something here might be useful for you:
update DAT files for the adblock extension
Brave Browser has moved away from using DAT files as of this PR (1.46.x). Rationale for the change is here. If you still have leftover component directories with adblock .dat
files in your browser's profile directory, they can be safely removed.
The newer components have a list.txt
file instead. You can find the full mapping from component IDs to components here. Refer to the list_text_component.component_id
for each list, not the top-level component_id
.
a script to update the data directory with all the files that are in there
You can take a look at brave-core-crx-packager, which is Brave's serverside component packager. In particular, this section explains how to generate the adblock components, which will then be located in the build
directory organized by component ID (newer list-based components) or UUID (older DAT-format components).
We still build the older DAT-format components for Brave iOS, which is migrating to the newer list-format components soonβ’. If you really need those for some reason they will also be located in the build
directory. But I strongly recommend loading directly from the list format instead.
The data directory
It occurred to me that you might also be referring to this data directory. In that case, there isn't any provision for automatic updates; it's considered more of a regression test suite. I'd prefer not to regularly check filter lists into this repo since it would significantly bloat the git history relative to the volume of actual code changes.
We do have a few "live" tests which run in the CI on this repository and download some of the lists directly at test-time, although they are not extremely comprehensive. If you have ideas of how to make those more useful, I'm certainly open to suggestions!
from adblock-rust.
Thanks for the amazing update, that totally solved my issue!
from adblock-rust.
Related Issues (20)
- `domain` regex syntax
- enforce values on network filter options when possible
- Possible to embed into Firefox ? HOT 2
- Proposal: Browser-level element hiding HOT 4
- Support for `Permissions-Policy` modifier
- Convert $all to $doc like uBO HOT 1
- support AdGuard scriptlet syntax HOT 1
- Will adblock-rust continue to work after Chrome Manifest V3? HOT 3
- `:style()` action operator doesn't work great with some `::-webkit-*` pseudo-classes, if other pseudo classes are used/need in the same rule.
- Support for `$specifichide`
- YouTube blocks default Brave now HOT 2
- Ag filters support of Brave Shields.
- Copyright confusion HOT 9
- Investigate using upstream `url` parser
- uBlock filter not working on Brave, works on Firefox + uBlock HOT 2
- Missing `from` support on `content_blocking.rs` causes crashes
- Wrong types for js bindings HOT 2
- Dependency Dashboard
- Return all filters which blocks the request HOT 1
- Allow specific YouTube channels with the AdBlock HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from adblock-rust.