This is an adblock list to block "browser-based crypto mining". Currently there are a few websites added into the lists. If you see other websites supporting these deeds, then feel free to raise an Issue or Pull request for it to be taken care of.
Make sure you have an adblocker installed in your desktop or mobile browsers that uses Adblock Plus' filter list:
- AdBlock (Active by default)
- Adblock Plus
- uBlock Origin
- AdGuard Browser Extension (Included by default)
- Adblock Browser for Android and iOS devices
- Brave Browser (Included by default)
- Opera Browser (Included by default from Opera 50)
Then click or import below link into your adblocker:
You can also use the 1blocker package if you use 1Blocker on iOS or Mac. Simply open the file in 1Blocker on iOS or MacOS to import it.
For the blocking based on the HOSTS file use the below link:
You can simply copy and paste the contents of above file into your hosts file. The locations of your hosts file depends on your system:
- Linux:
/etc/hosts
- MacOS:
/etc/hosts
- Windows:
C:\Windows\System32\drivers\etc\hosts
Whichever OS you use, you will require escalated privileges to edit the file (either use sudo
for Linux/MacOS or administrative account on Windows). Or you can use command below for linux
sudo -- sh -c 'curl -sS https://raw.githubusercontent.com/hoshsadiq/adblock-nocoin-list/master/hosts.txt >> /etc/hosts'
You may use the hosts file with below applications to block these miners on whole networks. Simply add the link to the above hosts file in each system.
- pfSense with pfBlockerNG
- Pi-hole
Mining (Opt-in and opt-out) will be blocked by default. If you see that mining is important, you would have to whitelist the website you actually want to support.