AdguardTeam / FiltersCompiler

A tool that compiles & validates filters
GNU Lesser General Public License v3.0
52 stars 12 forks source link

Convert `xhr` to `xmlhttprequest` #42

Closed AdamWr closed 5 years ago

AdamWr commented 5 years ago

For example: @@||fwmrm.net/crossdomain.xml$xhr,domain=viafree.dk|viafree.no https://github.com/AdguardTeam/FiltersRegistry/blob/c69e7994d7ef834cec61b911e59fcc4aeaeb8889/filters/ThirdParty/filter_249_NorwegianList/diff.txt#L64

$xhr should be converted to $xmlhttprequest and probably ,xhr to ,xmlhttprequest

Maybe other modifiers should be also converted - https://github.com/NanoAdblocker/NanoCore2/blob/master/notes/filter_syntax.md#convenience-options

css to stylesheet and frame to subdocument