This was done in the past[1] and was widely regarded as a "cryptojacking" scheme serving "malicious" content to users.
[1] https://krebsonsecurity.com/2018/03/who-and-what-is-coinhive...
If it was for profit. Here it's in response to abuse by AI companies.
If it was for profit. Here it's in response to abuse by AI companies.