Cosmetic rules with wildcard do not work on some domains
I'm not sure if it happens on other domains, but it occurs on .com.ru
AdGuard AdBlocker version 4.2.228/4.2.240
Steps to reproduce:
- Add these rules:
flightradar24.*##body
flightradar24.*#%#alert(1);
- Navigate to - https://flightradar24.com.ru/faq/
Expected Behavior
Rules should be applied - website should be blank and there should be message 1.
Actual Behavior
Rules are not applied on websites with .com.ru domain.
Same problem here, uses example in https://adguard.com/kb/general/ad-filtering/create-own-filters/
[$url=/\[a-z\]+\\.example\\.com^/]##.textad like [$url=/\[a-z\]+\\.smzb618\\.com^/]##.menu which does not work with site https://smzb618.com/live/297468?sjsc_source_code=x8g8s.
And only [$domain=smzb618.*]##.menu or [$domain=smzb618.com]##.menu works, so is there anything wrong ?
I‘ve tried
[$domain=/smzb618.+/]##.menu
[$domain=/smzb618\.+/]##.menu
[$domain=/smzb618.\+/]##.menu
[$domain=/smzb618\.\+/]##.menu
[$domain=\/smzb618.+/]##.menu
[$domain=\/smzb618\.+/]##.menu
[$domain=\/smzb618.\+/]##.menu
[$domain=\/smzb618\.\+/]##.menu
[$domain=/smzb618.+\/]##.menu
[$domain=/smzb618\.+\/]##.menu
[$domain=/smzb618.\+\/]##.menu
[$domain=/smzb618\.\+\/]##.menu
[$domain=\/smzb618.+\/]##.menu
[$domain=\/smzb618\.+\/]##.menu
[$domain=\/smzb618.\+\/]##.menu
[$domain=\/smzb618\.\+\/]##.menu
[$url=/smzb618.+/]##.menu
[$url=/smzb618\.+/]##.menu
[$url=/smzb618.\+/]##.menu
[$url=/smzb618\.\+/]##.menu
[$url=/smzb618.+\/]##.menu
[$url=/smzb618\.+\/]##.menu
[$url=/smzb618.\+\/]##.menu
[$url=/smzb618\.\+\/]##.menu
[$url=\/smzb618.+/]##.menu
[$url=\/smzb618\.+/]##.menu
[$url=\/smzb618.\+/]##.menu
[$url=\/smzb618\.\+/]##.menu
[$url=\/smzb618.+\/]##.menu
[$url=\/smzb618\.+\/]##.menu
[$url=\/smzb618.\+\/]##.menu
[$url=\/smzb618\.\+\/]##.menu
[$url=||smzb618.com*]##.menu
[$url=||smzb618.com^]##.menu
nothing happened either.
Environment:
AdguardBrowserExtension Version 4.2.241 TSWebExtension v1.0.5 TSUrlFilter v2.2.8 Scriptlets v1.9.101 ExtendedCss v2.0.56
Microsoft Edge Version 120.0.2210.133 (64 bit)
Microsoft Windows 10.0.19044.3930
There are compatibility notes in the end of description of the each modifier in the AdGuard rules. They state that these modifiers are not fully supported in the extension yet. They will be supported in v4.4 though.
There are compatibility notes in the end of description of the each modifier in the AdGuard rules. They state that these modifiers are not fully supported in the extension yet. They will be supported in v4.4 though.
Thank you for reply. Waiting for the update!