![]() For more advanced use-cases, disabling the embedded-domain-resolver feature will allow adblock-rust to use an external domain resolution implementation instead. External domain resolution ( embedded-domain-resolver)īy default, adblock-rust ships with a built-in domain resolution implementation (through the addr crate) that will generally suffice for standalone use-cases. Content blocking format translation ( content-blocking)Įnabling the content-blocking feature gives adblock-rust support for conversion of standard ABP-style rules into Apple's content-blocking format, which can be exported for use on iOS and macOS platforms. This will cause adblock-rust to reject cosmetic filter rules with invalid CSS syntax. When parsing cosmetic filter rules, it's possible to include a built-in implementation of CSS validation (through the selectors and cssparser crates) by enabling the css-validation feature. CSS validation during rule parsing ( css-validation) The following cargo features can be used to tweak adblock-rust to best fit your use-case. ![]() ![]() See docs.rs for detailed API documentation.Īlso check the Rust example or the NodeJS example. ![]() Community-maintained Python bindings ( pypi)Īdblock-rust is used in several projects, including browsers, research tools, and proxies.Putting you back in control of your browsing experience.Īdblock-rust is the engine powering Brave's native adblocker, available as a library for anyone to use. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |