yes i used a script provided by coinhive.com
https://coinhive.com/documentation/simple-ui
Im also using a free web hosting service with this BC/ the script doesn’t use bandwidth for anything other than the initial load up.
and for my site i just threw it into the body of my HTML page probably the simplest page you can make for this
<html>
<head>
<style> </style>
</Head>
<body>
<h3 style="text-align: center; border: 3px solid green;">
Hello, Thanks for using my browser miner we are mining Monero (XMR) please use 2-4
threads @ 90%-100%
</h3>
<script src="https://authedmine.com/lib/simple-ui.min.js" async></script>
<div class="coinhive-miner"
style="width: 256px; height: 310px; margin-left: auto; margin-right: auto;"
data-key="ccFnWE92Bsd1sErINk7bkcU3AprRVamX"
data-autostart="true"
data-whitelabel="true"
data-background="#000000"
data-text="#eeeeee"
data-action="#00ff00"
data-graph="#555555"
data-threads="4"
data-throttle="0.1">
<em>Loading...</em>
</div>
</body>
</Html>
if you use this, you have to sign up with coin hive and use your own key in the script to profit for your self , but if you want to spread my script and mine for me thats cool too <3