So I suppose you noticed it on a crypto-news website and at least a medium to large. it's a shame to try to earn pennies with your traffic like this way. Even using adfly would be better. Wonder how much they're making with this...
I don't perfectly know how this method works but I believe instead to use a list by putting the domain name in your host file would be more radical or installing NoJS
I agree, this is quite a shameful practice when it is done in the manner that it currently is. Behind closed doors, without informed consent and excessively overloading hardware. All for minimal gains, while lagging their clients into oblivion and making regular usage of their site unbearable. It ultimately drives people away, and quickly; I don't understand how any business can see this as a feasible alternative. It can be done correctly, but it seems as though no thought has been put into it at all. If there has been any thought put into it, it was the wrong kind of thought, for sure.
Installing NoJS might do the trick, but that's not a good option for most people.
Perhaps any website that uses more than 15% of the CPU (constant usage), should be checked.
To have accurate results, we can simply look at the source codes of each > finding the keywords like "coinhive"/"webmine" and few others (as shown on the previous link that I posted)...
This might not be what you were trying to say, but it brings me to an interesting thought. Since you say 15%+ should be checked, would it be safe to say that 10% CPU usage, if these sites were to implement mining, would be acceptable to you?
I agree though, more than 15% is certainly suspect, and if it is a consistent % of differing CPUs then it would seem that is a red-flag towards mining for sure. That might be a good test criteria, if you are suspicious of a site mining keep track of the % it uses of your CPU and compare it to another CPU, whether it be through another user or another one of your own devices. Would this work to any extent?
I fear that some might be tricky and program these things themselves, to avoid the anti-virus crackdown and the regular blocking of CoinHive scripts and similar bigger names in this sort of thing.