allow to remove test2.js with something like :not() pseudo selector e.g. example.org$$script[src="test"]:not([async]) and/or example.org$$script[src="test"]:not([async=""]).
Proposed solution
Allow to select tags not having specified attirbute(s)/value(s) (or possibly special attributes such as :contains())
Alternative solution
CSS-like forward-, backward- , or exact matching to attributes (if not regex) will also help if possible.
Issue Details
In relation to https://github.com/AdguardTeam/CoreLibs/issues/1934 if scripts are like
allow to remove
test2.js
with something like:not()
pseudo selector e.g.example.org$$script[src="test"]:not([async])
and/orexample.org$$script[src="test"]:not([async=""])
.Proposed solution
Allow to select tags not having specified attirbute(s)/value(s) (or possibly special attributes such as
:contains()
)Alternative solution
CSS-like forward-, backward- , or exact matching to attributes (if not regex) will also help if possible.