Browser-based cryptocurrency mining resurfaced in 2017, leveraging the easy integration of JavaScript APIs for mining which has contributed to its growing adoption and also the rise of malicious services.
When a handler function is called as an event listener, the value of this is the EventTarget on which the event listener is registered.