Of course people could (and do) build malicious mining scripts that try to use way too many resources, just like people could (and do) make malicious ads that spam you with INCREASE YOUR DICK SIZE BY 20 INCHES IN 5 MINUTES popups, but that's not an inherent problem with the model itself.
However, a large portion of devices on the internet run on batteries, and don't have huge quantities of reserve power.
Back to things such as desktop computers, though: am I supposed to close my browser before doing anything CPU intensive?
Someday, will I need to close StackOverflow to avoid negatively impacting the time it takes to compile my code? That's a trade-off I'm not willing to make.
I think the battery concern is valid enough and it's something that I didn't really consider since it doesn't affect me personally much[0]. I still think the tradeoff of not having ads is worth it though. Perhaps let users choose whether they want ads or mining?
[0] My portable devices are a ThinkPad with a slice battery that lasts me 9 hours of continuous normal use and a phone with a 20kmAh battery bank so I often forget battery life is a problem for some people
And it's unclear such resources are being 'stolen' if it's stated in the site ToS.
Cryptocurrency mining is a lot less deleterious than ads. Mining doesn't need to track your behavior, it doesn't generate misleading native content, and it doesn't distract you from what you're trying to do.
Sign me up!
disclaimer: I was one of the founders of Tidbit, https://www.eff.org/cases/rubin-v-new-jersey-tidbit, the first(?) crypto mining ad replacer.
Unless I, as a user, explicitly consented to crypto mining, no such thing should be allowed to take place. Same thing goes for auto playing videos.