Implement "$ipaddress" into "$all" if the "$all" entry consists of an IP pattern #3627
Unanswered
DandelionSprout
asked this question in
Ideas
Replies: 0 comments
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.
-
I got an idea, though the implementation of it would likely be difficult, and it's a rather loose idea that wouldn't warrant an issue report.
$all
has for some years now essentially been a combo of 5 different syntaxes:$doc
,$popup
,$inline-script
,$inline-font
, and no-$. But unless I've missed out on something important, it does not cover$ipaddress
at the time of writing.So if some sort of detection system was built and added to uBO to detect if an
$all
entry consists solely of an IP pattern, for example (but not limited to; and if it's RegEx detection)^(\|\|?|://)[12]?\d\d?\.[12]?\d\d?\.[12]?\d\d?\.[12]?\d\d?\^\$all(,.*)?$
, then the entry would also have$ipaddress
covered in it.So if an entry is for example
||123.45.67.89^$all
, then the entry would also cover$all,ipaddress=123.45.67.89
; so that essentially the IP$all
entry contains the following matches:Beta Was this translation helpful? Give feedback.
All reactions