https://raw.githubusercontent.com/uBlockOrigin/uAssets/maste...
You'd always be one step behind. Reacting rather than acting.
I recommend
Firefox
NoScript
RequestPolicy
And if you want:
Ublock Origin
Umatrix
uBlock origin’s additional blacklists blocks it
uMatrix blocks it.
Noscript blocks it.
https://addons.mozilla.org/en-US/firefox/addon/nominer-block...
An extension that tries to identify and stop all forms of js mining is probably hard to maintain and equally subvertable.
As long as the effort to block an entity is much lower than the effort to subvert the blocking the concept will probably work.
Especially since curating blocklists is somewhat more scalable than subverting the list.
Since the hackers have access to the adguard plugin, they can just test and adjust until their code passes.
And they can even make it dynamic.