I was wondering how to have visitors on my website mine monero for me and if it is legal or not. I know that if I don't tell them its illegal, but I plan on telling them in the footer of my website. Thanks in advance.
As long as you ask for their permission I can't see why it could be considered illegal. Coinhive considers it a viable alternative to adverts thus not illegal. In addition I don't think mining on peoples computers using a webpage is any worse than reselling customer information to advertisers.