This is how you can mine cryptocurrency Monero (XMR) on your browser. If you put code on your website, people who visit your page also mine for you. You can see it in action on my donate page. I only show user interface version, but there is version with out it. There is a risk, It is that any website you are using can use it without you knowing it.
Before you can do this you need to know little bit of HTML and you need an account to coinhive.com. First here is what it should look like.
First you need to load miner.min.js. Just add next line in your websites code anywhere.
Next make <div> with coinhive-miner class where you want your miner to be. Then select the size of UI Miner by using the code like this:
Next you have to specify your site-key by putting next code:
And the last lets put something to the people who use ad block. Next code goes inside of <div>:
Now you have fully working cryptocurrency miner.
Here is full code:
Basicly just put that code in your website and you should be okay.
More information you can find HERE.
To get your money out of Coinhive you need Monero-wallet. Here is the simpple one mymonero.com. Minimum amount you can get out is 0,5XMR