JavaScript-based mining is cross-platform compatible and works on all modern browsers. In itself, browser-based cryptomining is not illegal and could be seen as a viable business model to replace traditional ad banners. Malwarebytes has been blocking the original Coinhive API and related proxies an average of 8 million times per day, which added up to approximately 248 million blocks in a single month. Drive-by mining is similar to drive-by downloads, due to the way the code is delivered onto unsuspecting users.”]

