How does this work?
It mines Monero using JavaScript. Best suited for sites where you sit on one page for a long time, and where there's lots of visitors.
Often, it turns out that it isn't the site owner doing it, but rather, they were hacked, and someone injected the JavaScript.
https://www.wired.com/story/cryptojacking-cryptocurrency-min...