Even hackers use Coinhive to check money from websites they hacked by silently injecting the script. Now the company is looking for ways to compensate for losses caused by this case.
Many anti-virus software, including Malwarebytes and Kaspersky, started blocking the script to prevent the user's computer CPU from being exploited to dig virtual money.
You can also install open source browser utilities like No Coin or minerBlock to block virtual money digging tools like Coinhive.
See also: How to block websites using your CPU to dig virtual money