Shortly after we launched some adblockers and even antiviruses began blocking Coinhive. We have outlined our ideas about this issue in our previous blog post and we're happy to report that we have a solution: AuthedMine.
AuthedMine enforces an explicit opt-in from the end user to run the miner. We have gone through great lengths to ensure that our implementation of the opt-in can not be circumvented and we pledge that it will stay this way. The AuthedMine miner will never start without the user's consent.
In turn, we hope that Adblockers and Antiviruses acknowledge the legitimate use and value of Cryptominers when the user gives an explicit opt-in. There is no need for them to block the AuthedMine implementation.
If you already implemented Coinhive on your website, you don't have to do anything. Our previous solutions will continue to work exactly as they did. However, we want to encourage you to use our new opt-in solution if you can.
If you want to switch, for the Simple UI
and the Captcha all you have to do is
authedmine.com instead of
the ones hosted on
coinhive.com. You only lose the
autostart ability, but will benefit from not being adblocked.
I.e. for the new AuthedMine Captcha:
<script src="https://authedmine.com/lib/captcha.min.js" async></script>
And the Simple Miner UI:
<script src="https://authedmine.com/lib/simple-ui.min.js" async></script>
equally simple. You just have to load the
coinhive.min.js. The API works exactly as before, but
miner.start() call will now present an opt-in screen to
Please refer to our AuthedMine documentation for all the details.
We urge you to please read this blog post and our
AuthedMine documentation carefully.
You will find that there's no need to block
any files on this domain and we promise it will stay this way.
If you have any questions, please get in touch. We strongly believe in the future of this project. We want to do this right and we hope you will support us.
posted on Oct 16, 2017, the Coinhive Team