How to prevent cryptojacking in a webview?

Anyone know how to prevent cryptojacking scripts in a webview? What approach should I go with?

I figured maybe add the NoCoin chrome extension but I have no clue how to implement this or possibly have a custom script in preload?