Name Description Size Coverage
abstract_network.rs 10143 -
cosmetic.rs Filters that take effect at a page-content level, including CSS selector-based filtering and content script injection. 46714 -
fb_builder.rs Builder for creating flatbuffer with serialized engine. 2899 -
fb_network.rs Flatbuffer-compatible versions of [NetworkFilter] and related functionality. 4795 -
fb_network_builder.rs Structures to store network filters to flatbuffer 9809 -
filter_data_context.rs 1270 -
mod.rs Contains representations and standalone behaviors of individual filter rules. 596 -
network.rs Filters that take effect at the network request level, including blocking and response modification. 40117 -
network_matchers.rs This file contains the implementation of network filter matching logic for a filtering system. It provides functions to check if a given network request matches specific filter patterns based on various criteria, including hostname anchoring, pattern matching, and regular expressions. The file also handles domain-specific options and ensures that requests are filtered according to their type, protocol, and party (first-party or third-party). The code is designed to efficiently determine if a request should be blocked or allowed based on the defined filters. 16340 -
token_selector.rs Token selector for optimizing filter storage by choosing least-used tokens 3205 -