Skip to content

Is there any plan to support filter log or similar API? #397

@Haoxiqiang

Description

@Haoxiqiang

When using multiple rule sets, it is difficult to know which rules are currently in effect when adjusting them. Consider supporting a filter log similar to AdGuard or uBlock Origin, as shown below:
Image

Image

I found adblock-rust contains the information.

pub struct NetworkFilter {
    ...
    pub hostname: Option<String>,
    pub(crate) tag: Option<String>,
    pub raw_line: Option<Box<String>>,
    ...
}

Can we provide a mechanism to extend BlockResult or have a completely new API implementation to support it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions