Replies: 2 comments
-
A duplicate of: Also semi-related to / can be considered a duplicate of:
All of them have been declined in the past. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Your changes would break URL filtering's user interface counter part in the logger. Consider using static network filters for what you want to accomplish. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
https://github.com/PaTTeeL/uBlock/commit/b3d8ee08df755e4e50a5cf19558575e81faf3d25
Introduces support for rules starting with hostname wildcard prefixes (*. and +.) to enhance URL filtering flexibility.
Implementation details:
isSimpleMatch
flag. This flag quickly identifies simple prefix rules vs. wildcard rules during initialization.isSimpleMatch
. Simple rules use existing prefix logic. For wildcard rules:*.
: Matches subdomains only (e.g., *.example.com matches www.example.com but not example.com).+.
: Matches the base domain and its subdomains (e.g., +.example.com matches example.com and www.example.com).There is a cloud storage service that utilizes numerous domain names, such as 123684.com, 123865.com, 123pan.cn, and 123pan.com. When attempting to download files from these websites, the process typically involves a sequence of frame requests:
Manually adding cjjd19.com to individual site-specific rules, such as
123684.com cjjd19.com * noop
, is difficult due to the large number of domains. However, using a broad rule like* cjjd19.com * noop
appears to be overly permissive and potentially unsafe.Therefore, is it feasible to implement support for hostname wildcards (*. and +.) within Dynamic URL filtering? I propose that incorporating dynamic URL filtering rules as follows could offer a more secure solution:
A sample URL for context is: https://www.123684.com/s/XIYuVv-GG20H.html#zhpz
Beta Was this translation helpful? Give feedback.
All reactions