-
Notifications
You must be signed in to change notification settings - Fork 76
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
Whitelist Sorting Issues #2919
Labels
enhancement
New feature or request
Comments
This comment was marked as resolved.
This comment was marked as resolved.
I don't consider this a duplicate. The issue here is not about asking to preserve the order, but to better sort. The suggestion here is already implemented in the My rules pane, so this can probably somewhat be done in the My trusted sites pane. The only quirk is that not all trusted-site directives are necessarily plain hostnames, there could be page-based directives, even regex-based ones. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Prerequisites
I tried to reproduce the issue when...
Description
Hello there,
I've noticed that uBO automatically sorts the whitelist, which is great. But the sorting is too simple, just comparing first letters.
This leads to the following sorting problem:
The situation is obvious, so hopefully the whitelist sorting can be improved, and comparisons should start from the TLDs.
Best regards,
Cheriny
A specific URL where the issue occurs.
https://www.reddit.com/r/uBlockOrigin/
Steps to Reproduce
Expected behavior
The whitelist can be sorted by comparing the TLDs in order from the TLDs to the previous subdomains.
Actual behavior
The whitelist is simply sorted by comparing initial letters.
Configuration
The text was updated successfully, but these errors were encountered: