From 9ba48d17e4f7ca1142b037da2b09f5128ff7bf09 Mon Sep 17 00:00:00 2001 From: Imre Kristoffer Eilertsen Date: Fri, 30 Dec 2022 21:57:27 +0100 Subject: [PATCH] Added 1 syntax Inspired by https://github.com/uBlockOrigin/uBlock-issues/issues/1211#issuecomment-1368082394 --- Wiki/SyntaxMeaningsThatAreActuallyHumanReadable.md | 1 + 1 file changed, 1 insertion(+) diff --git a/Wiki/SyntaxMeaningsThatAreActuallyHumanReadable.md b/Wiki/SyntaxMeaningsThatAreActuallyHumanReadable.md index aabb92001..078a787fa 100644 --- a/Wiki/SyntaxMeaningsThatAreActuallyHumanReadable.md +++ b/Wiki/SyntaxMeaningsThatAreActuallyHumanReadable.md @@ -101,6 +101,7 @@ * `:min-text-length`: Appears to select elements whose underlying source content has at least that amount of characters. Is completely disassociated from the actual on-page visible text by an order of several magnitudes. * `:watch-attr`: Claims to be able to reconsider a blocking if something new happens to the element (e.g. to its element types). * `:-abp-has(:scope >`: Almost identical to `:-abp-has(>`, but is used to prevent some bugs seen in the latter that I've forgot what they were about. +* `:matches-attr`: Similar to `[href*="text"]`, but adds support for RegEx. #### Blocking * `127.0.0.1` / `0.0.0.0` / `::1` / `0` / `::`: Used by "*hosts*" system files to signify that network requests to such a domain shall be redirected to a local-only IP address, thus preventing it from loading. uBO treats it the same as `||`. It only supports whole domains; using `/` or any other non-alphanumeric-or-period characters is not accepted. * `$3p`: Same as `$third-party`.