You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For example, all rules from the "Domain-Based Blocklist" section of the above filter are not processed.
Even if you manually enter the rule ||0ukr.net^ in the "User rules" menu section, it is also not processed by the extension. However, if you rewrite this rule to ||0ukr.net$document, it is processed successfully.
@yarynanowak The rule ||0ukr.net^ blocks a request made to 0ukr.net, but it won't block 0ukr.net if you type that address into the search box. For the rule to work for document requests, you need the $document modifier.
We plan to improve the description in our knowledge base.
For the rule to work for document requests, you need the $document modifier.
@alexx7311 Is this a feature of AdGuard rule processing? I ask because uBlock Origin and Brave process the rule in the ||0ukr.net^ format without any problems, blocking access to the document (Strict blocking).
AdGuard Extension version
4.3.13
Browser version
Firefox 123.0.1 (64-bit)
OS version
Linux
What filters do you have enabled?
Others
What Stealth Mode options do you have enabled?
No response
Issue Details
When I add (
"Filters > Custom"
menu) the Ukrainian Security Filter (https://www.awwwwesome.org/data/filters/USF/adblock.txt), AdGuard does not process rules that fully comply with Adblock-style syntax.For example, all rules from the "Domain-Based Blocklist" section of the above filter are not processed.
Even if you manually enter the rule
||0ukr.net^
in the "User rules" menu section, it is also not processed by the extension. However, if you rewrite this rule to||0ukr.net$document
, it is processed successfully.In my opinion, this is a bug, since the
||0ukr.net^
rule fully complies with the syntax and recommendations for creating rules available at: https://adguard.com/kb/general/ad-filtering/create-own-filters/Expected Behavior
AdGuard should process rules that fully match the Adblock syntax (for example,
||0ukr.net^
)Screenshots
Screenshot 1:
Additional Information
No response
The text was updated successfully, but these errors were encountered: