A script for browser mining cryptocurrency, Monero
The main problem in the case of this and similar services is that the use of computing capacities of computers unbeknownst to their owners. You need to put them in and give them a choice.
Coin Hive does not allow users using the visual interface or otherwise learn about the presence of the miner. The situation could fix the link to open the page with the miner and to control its operation. In this case, the user would be able to support computational website or community to which he belongs.
It's an interesting idea that could be useful, but the trouble is that many prefer to abuse the service, profiting at the expense of others. However, if you find this project useful, you are advised to ask details. Most importantly, don't forget to inform your website visitors about what is mining.
The application of the algorithm Proof-of-Work to solve these and other problems, which usually fit another, can simultaneously improve the efficiency of already employed resources to help them monetize. For example, using cryptocurrency mining, you can reward users for completing certain tasks in the process network games or social network.
According to the materials of the site Crypto Mining Blog