Blog » AuthedMine – Non-Adblocked

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.

Here is an example of the opt-in screen for the JavaScript API.

Transitioning to AuthedMine

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[(/documentation/captcha) all you have to do is to load the new JavaScript files from 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>

The switch to our new JavaScript API is equally simple. You just have to load the authedmine.min.js instead of the coinhive.min.js. The API works exactly as before, but the miner.start() call will now present an opt-in screen tothe user.

<script src="https://authedmine.com/lib/authedmine.min.js"></script>

Please refer to our AuthedMine documentation for all the details.

A Note to Adblock and Antivirus Vendors

We urge you to please read this blog post and our AuthedMine documentation carefully. You will find that there's no need to block authedmine.com or 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 October 16, 2017, the Coinhive Team

© 2019 coinhive
Legal Information Documentation