### Steps to reproduce <!--- Provide a link to a live example or a clear set of steps to reproduce the issue --> 1. Add these rules: `example.org#?#body > div[class="":has(h1)` `example.org#%#alert(1);` 2. Go here - http://example.org/ ### Expected behavior <!--- Tell us what should happen --> I think that JS rules should still work. ### Actual behavior <!--- Tell us what happens instead --> JS rules don't work. The real case is here - https://github.com/AdguardTeam/AdguardFilters/issues/41420 It seems that this rule: ``` cosmopolitan.lt,moteris.lt,panele.lt,manonamai.lt,tavovaikas.lt,delfi.lt#?#a[href="javascript:void(-1);":-abp-has(a[title="[x] Uždaryti"]) ``` from `EasyList Lithuania` is inccorect and causes that JS rules don't work. <details><summary>Screenshot:</summary> <!--- Drag and drop, upload or paste your screenshot to this area -->  </details> ### Your environment <!--- Please include all relevant details about the environment you experienced the bug in --> * AdGuard for Windows 7.2.2943 NIGHTLY (CL 1.5.60)