See filter hit/trigger count? #4069
|
Hey there, I'm just wondering if there's a way to see a count of how many times one specific filter has been applied, or even just whether it has ever been triggered at all since it was created? Even cosmetic filters. The use case is this: I've got a number of custom "My filters". As websites change some of the things that those filters block might no longer exist, and I'd like to purge the filters that are no longer useful. But it's quite hard to definitively tell whether a filter is still useful if i'm just deleting it to see if the thing it's meant to block still shows up, because sometimes it's an intermittent thing that doesn't always appear anyway. If uB0 internally tracks whether a filter has been used or not, I figure I could just check that and see if a filter's ever been triggered since I last updated "My filters". Thanks! |
Replies: 3 comments 1 reply
|
No, uBO doesn't track how many times a filter being hit. It would cost more CPU usage to implement that. |
|
A duplicate of:
By the way, the feature did exist in the past: https://github.com/gorhill/uBlock/wiki/The-logger/55cdf26929a7f8f72a4f2f766efb6ae901b0fd63#filter-statistics in experimental state, but then it was discontinued / disabled. |
|
Aw too bad, thanks for your answers @stephenhawk8054 @freezer2022 |
No, uBO doesn't track how many times a filter being hit. It would cost more CPU usage to implement that.