diff --git a/Wiki/SyntaxMeaningsThatAreActuallyHumanReadable.md b/Wiki/SyntaxMeaningsThatAreActuallyHumanReadable.md index 96691f390..19f305fcd 100644 --- a/Wiki/SyntaxMeaningsThatAreActuallyHumanReadable.md +++ b/Wiki/SyntaxMeaningsThatAreActuallyHumanReadable.md @@ -94,7 +94,6 @@ * `: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. - #### 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`. @@ -105,6 +104,7 @@ * `$redirect-rule`: Similar to `$redirect`, but is only applied if it's already blocked by *another* entry or dynamic rule(set). * `@@||` + `$ghide`: Same as `@@||` + `$generichide`. * `@@` + `$cname`: Prevents another site from being strict-blocked if the domain shows up in its CNAME response. `$~cname`, and `$cname` for blocking, also exist, but are poorly documented. Only applies to Firefox and Tor Browser. +* `$denyallow` + `,domain=`: Allows choosing which third-party domain requests to allowlist, instead of which ones to block, while visiting specified domains. ## Adblock Plus, Adblock and AdGuard only: * `$webrtc`: Prevents such resources from being downloaded through the titular JavaScript API. The uBO equivalent seems to be `##+js(nowebrtc)`, but conversion is not done automatically. @@ -129,6 +129,7 @@ * `#%#AG_`: A few extra scriptlets for whom documentation appears to be non-existent. * `#%#` without `//scriptlet`: Appears to insert JavaScript code that is written into the list, as opposed to from an embedded file. Requires heavy privileges. * `!+ PLATFORM`: Similar to `!#if`, but is only used during the AdGuard team's compiling of included lists. It has no effect on custom lists. +* `:matches-property`: I'm honestly not sure about this one. #### Blocking * `$match-case`: Makes the criteria case-sensitive. * `$$script`: Uses very advanced criteria to block scripts that meet them. @@ -137,6 +138,7 @@ * `$cookie=` + `maxAge`: Changes the cookie to have an expiration time in seconds. * `$cookie=` + `same-site`: Changes the cookie to use the "Lax" mode of `samesite` known from the `Set-Cookie` browser HTTP response system. * `$mp4`: Seems to be equivalent to `$redirect=noopmp4`, but does not require any AdGuard trust rights. Allegedly to be obsoleted soon. +* `@@` + `$urlblock`: Turns off file-request blocking entirely while on that domain. ## AdGuard for [Windows/Mac/Android] only: