Initially, at least, it was as simple as adding to the block list:
But, I would expect to see more as time passes things getting harder to block. Now, programs like AdGuard and uBlock, etc, are not AV programs so expecting them to pick this up and block it w/o knowing crypto-mining via this method was occurring is a bit absurd. Once they became aware they added blocks.
I do understand people being skeptical of ad blockers these days. There have been some less than wonderful developments such as AdBlock Plus making money to allow some ads, etc. That said, just because some people decided to go in the wrong direction does not mean everyone has and jumping to generalizations is not the best thing.