How exactly does coinhive qualify as malware?
/s
Most sites showed a message and gave the users the option und most times also a guide, to prohibit or disable this specific java script. But others like thepiratebay just added it with neither named to the user nor was it easy to disable (without turning off all JavaScripts)
As administrator of an network with 300 computer workstation all connected up with central antivirus, we had up to 10k Virus warnings in the browser caches.