Block Unwanted Crypto-Mining In Your Browser


Cryptocurrency

We’ve all heard of Bitcoin by now. To make sure we’re on the same page, though, here is a quick definition:

a digital currency in which encryption techniques are used to regulate the generation of units of currency and verify the transfer of funds, operating independently of a central bank:
“decentralized cryptocurrencies such as bitcoin now provide an outlet for personal wealth that is beyond restriction and confiscation” · “as bitcoin gains ground, more companies have started accepting the cryptocurrency” ~ Source: Bing

Cryptocurrency Mining

What is Cryptocurrency Mining? Here is another quick definition for you:

Mining is a record-keeping service done through the use of computer processing power. Miners keep the block chain consistent, complete, and unalterable by repeatedly verifying and collecting newly broadcast transactions into a new group of transactions called a block. Each block contains a cryptographic hash of the previous block, using the SHA-256 hashing algorithm, which links it to the previous block, thus giving the block chain its name. ~ Source: Wikipedia

Ad Blockers And Unwanted Mining

Ad Blockers

Websites are constantly striving to improve their revenue stream. This is a normal goal for any business model. There a few ways by which this can be achieved: garnering more readers by providing quality content, charging a fee outright (known as “pay walling”), and the most obvious being straight out advertising. The Google AdSense system seems to be the most widely used.

The problem with advertising is that people hate it. There are many ways to stop seeing ads on the websites you visit, mostly achieved by using browser add-ons. AdBlock Plus was the big boss in this genre for a long time and may still be. I don’t have the figures at hand to support that presumption.

There are, in some circumstances, good reasons for using an ad blocker. Some ads can be obnoxious. They flash continuously, distracting the reader from being able to focus on an article. Others, of a truly despicable nature in my opinion, are those video clips that start playing without you having to click on anything. Finding the little, barely visible, “x” to turn the darns things off can be a real pain. Then, on some less trustworthy sites, there are very real security concerns. When all is said and done, in typical human fashion, we have stepped on our own toes. Due to the annoying ads, people now tend to block everything, which means nobody can generate advertising income at all! This is a problem for those of us who would like to provide free, quality content to our readers, and to be able to pay the bills, too.

Here is an appropriate quote from our very own Jim Hillier regarding ad blockers:


Personally, I don’t necessarily see ad blockers as the evil incarnate here. Apart from providing a useful security feature by blocking malvertising, most do include a white listing feature which users can employ to selectively block or allow ads. The bigger problem is those users who ignore these white listing features and simply block everything across the board, regardless. ~ Source: Adblocker Blockers Fighting Back

Unwanted Mining

Some sites, in their never-ending search for more money, have resorted to a shady method of achieving this goal. Without the reader’s knowledge, these sites have tapped into their computer’s power to mine cryptocurrency. This would not be such a bad thing, since the cost to the user is mostly unnoticeable, but it is the sneaky approach that angers people. Rightfully so, in my opinion. If you want to use my computer to help you pay the bills, fine, but ask me first. I will probably say yes anyway if I like your site and would like to help support it in some small way. But don’t ask me, and I find out about it? I’ll definitely be pulling the plug on that activity and you won’t be getting a dime from me.

How To Block Unwanted Mining

There are a couple ways you can stop this unwanted use of your computer for cryptocurrency mining:

Antivirus and Anti-malware solutions

malwarebytes-logoMalwarebytes is a product we have used and recommended for years. The Premium version now blocks cryptocurrency mining. You can also check with your current antivirus software provider to find out if it blocks this unwanted mining behavior. As of this writing Windows Defender does not block or report background cryptocurrency mining.

Ad blocker AdGuard recently reported that 220 sites on the Alexa top 100,000 list serve crypto mining scripts to more than 500 million people. In three weeks, AdGuard estimated, the sites generated a collective $43,000. Both AdGuard, antimalware provider Malwarebytes, and a variety of their peers have recently started blocking or restricting access to Coinhive crypto mining. Both AdGuard and Malwarebytes give end users who want to support a site using Coinhive the option of accessing the mining script. ~ Source: ArsTechnica

Browser Add-ons

Browser add-ons can be a tricky business. Many of them start out with the best of intentions, then either get compromised in some way by a black hat hacker, or simply turn to the “Dark Side” and begin collecting data they have no business collecting. Choose wisely when it comes to using browser extensions.

uBlock Origin

ublock-logouBlock Origin (not to be confused with uBlock) is a great add-on. I’ve been using it for quite some time for ad-blocking purposes, but it also blocks sneaky places like coinhive.com. You can get versions for Firefox, Chrome, and Edge.


Note: I quit using AdBlock Plus when it was discovered to be accepting cash from certain sites to not block their ads. This is devious behavior, in my opinion, and most certainly demonstrates a conflict of interests.

No Coin

Another option might be to use this simple, open-source add-on called No Coin. No Coin is available for Firefox, Chrome, and Opera. I have no personal experience with this add-on, but from all accounts it seems popular and does its job. I also like that it is open-source which should help to keep them honest.

Final Thoughts

Use ad blockers wisely. White-list sites you trust and would like to support. (DCT comes to mind.) And block ads on sites that you don’t entirely trust, or whose ads are obnoxious, annoying, and/or intrusive. Blocking all sites all the time only serves to hurt those who are actually trying to help, and possibly make a small income along the way. Small is the key word here. Advertising does not come close to paying the costs of running a quality website.

Note: Contrary to what you might think, it is not necessary to click on those ads to help out a site. Merely having them visible is all it takes.

Richard

About the Author

Richard Pedersen

Richard received his first computer, a C-64, in 1982 as a gift and began dabbling in BASIC. He was hooked! His love for computing has led him from the old “XT” boxes to the more modern fare and from clunky 10MB hard drives to smooth and fast modern day SSD drives. He has run BBS services, Fido mail, and even operated his own computer repair business.

There are 6 comments

Your email address will not be published. Required fields are marked *