Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: override more general with more specific ones #461

Closed
pjmattingly opened this issue May 15, 2024 · 1 comment
Closed

Feature request: override more general with more specific ones #461

pjmattingly opened this issue May 15, 2024 · 1 comment

Comments

@pjmattingly
Copy link

For example, I've set ublacklist to block the ai domain; Since it seems to be full of scammy sites.

But, every once in a while I find sites in the ai domain that I'd like to see in searches; One of these is opencv.ai.

And so, if I enter the following patterns, then opencv.ai remains blocked, though I have setup a rule allowing it be shown and color-coded:

*://*.ai/*
@1*://opencv.ai/*

And so, it would be great if I could override the first rule with the second; Or mark the second rule to override the more general rule.

@iorate
Copy link
Owner

iorate commented May 19, 2024

Highlight rules always override block rules.

The reason why your second rule does not highlight OpenCV.ai is because the host name of OpenCV.ai is www.opencv.ai, not opencv.ai. The following rules will work:

*://*.ai/*
@1*://*.opencv.ai/*

@iorate iorate closed this as not planned Won't fix, can't repro, duplicate, stale May 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants