NanoAdblocker / NanoCore

An adblocker
GNU General Public License v3.0
457 stars 22 forks source link

Fine tune $cname support in Nano Highlighter and Nano Linter #323

Open jspenguin2017 opened 4 years ago

jspenguin2017 commented 4 years ago

$~cname is syntactically allowed, but Highlighter does not recognize ~. Note that I don't see when negated $cname would be used in practice.

Since $cname is not effective on all platforms, Linter should emit a warning just like ##^.

The Linte should also emit a warning if $cname is used in a block rule without $important.