Adash Verma, a Fossbytes co-founder and an active entrepreneur, describes 6 ways to guarantee nobody mines from your computer in an article for his website.
He says that most of websites are using Coin Hive for mining. These are instruments to block it.
1. Use No Coin chrome extension
“As soon as you visit a website, No Coin will detect and show if any such activity is going on. You’ll see a red symbol as shown in the screenshot below. While this extension blocks any such activity, it also allows you to whitelist a website for a period of time.”
2. Use minerBlock chrome extension
The principle of work is the same. However, right now this service has less miner domains in their list.
3. Block coin mining domains in hosts file
“This is the manual way of blocking particular domains that you don’t find harmful or irritating. Due to such blocking, your browser won’t be able to connect to these domains. We can edit the hosts file and redirect it to 0.0.0.0.
For Windows, navigate to C:\Windows\System32\drivers\etc and edit the hosts document to add 0.0.0.0 coin-hive.com at the end.
Please note that this change blocks the mining scripts which are hosted by coin-hive.com. In case you come across other mining script domains, you can add them further down the line.”
4. Block domains in AdBlocker
Go to section Customize, then redirect to Block an Ad by its URL and insert the following link: https://coin-hive.com/lib/coinhive.min.js
5. Use NoScripts in Firefox
NoScripts might be an option if you use Firefox. However, it is pretty aggressive and blocks too many websites usually.
6. In Opera browser
“With release of Opera 50 web browser, the company brought in-built functionality to block CoinHive scripts and cryptocurrency mining techniques. This will allow the users to make sure that their computers don’t go crazy whenever any website using the digital coin mining technique is encountered. The users can find this option in Settings (Preferences on macOS) > Basic > Block ads and under the Recommended lists of ad filters click NoCoin”.