Skip to content
Block Crypto Miner JavaScript code automatically.
JavaScript HTML CSS
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.


Type Name Latest commit message Commit time
Failed to load latest commit information.

Crypto Miner Blocker

This Google Chrome extension automatically blocks known crypto web mining scripts.
Install for Google Chrome »

Download Source · About Me · Buy me a Beer

Why block Web Crypto Miners?

Recently and were caught experimenting with CoinHive, a crypto miner for websites. While this looks like a promising solution to the dying ads market, the implementation of webmasters is simply full out wrong as CoinHive itself has concluded:

We're a bit saddened to see that some of our customers integrate Coinhive into their pages without disclosing to their users what's going on, let alone asking for their permission. We believe there's so much more potential for our solution, but we have to be respectful to our end users. [...]

-- CoinHive

A webmaster following the instructions of CoinHive's documentation will by default end up consuming up to 70% of every visitor's CPU until they close the website. While this might not be a problem for desktops engergy-wise, it will drain the battery of laptops and smartphones. And we haven't even talked about the CPU usage slowing the machine down, fan noise, heat and a shorter hardware life.

Until a proper fix is released by CoinHive - for example requiring every visitor's consent before starting mining - I recommend manually adding a few block rules to your favorite ad blocker or installing this extension.


Have you found a web crypto miner that is currently not blocked by this extension? For suggestions, issues or feedback please head over to the issue tracker or open a pull request.

Contributors can easily set up a work environment as follows:

  1. Clone the repository git clone
  2. Open Google Chrome and navigate to chrome://extensions.
  3. Enable Developer Mode by clicking the checkbox in the top right corner.
  4. Click the 'Load unpacked extension' button and select the directory you just cloned.
  5. Enable the extension and start contributing!


Code and documentation copyright 2017 Sander Laarhoven. Code released under the MIT License.

You can’t perform that action at this time.