I know you want to avoid drive by miners, but I develop a browser miner for WordPress for rewards sites that users activity log in and consent to and I noticed that if the tab is not active that it does not mine.
Perhaps a settings for the users who want to earn points and rewards for doing crypto mining via browser could right click and enable to be active as I do not want to keep that tab always on the forfront while doing development while testing so I know users do not want to as well.
Again, I do understand the need to keep silent miners out of the picture but browser miner for virtual rewards with consent should not be punished. Thanks!
I confirmed that Chrome does not have this same behavior, and if you have dual monitors, you can just put an active tab on another screen to bypass, but my users may not be as fiat rich as I am.