How to stop websites from using your computer to mine Bitcoin (and more) – CNET

Mining cryptocurrencies is a great way to earn small amounts of residual income (that could possibly be worth much more in the future). This is becoming an alternative revenue source some websites (and people with more nefarious intentions) are banking on.

Salon.com, for example, is giving readers the option to opt out of advertisements in exchange for letting the site use their CPUs to mine Monero, a cryptocurrency that’s easier to mine than Bitcoin and has a current market cap of $4.6 billion.

Of course, where there’s room for a legitimate way to earn money, corruption is soon to follow.

Anti-malware software firm Malwarebytes and IT security company ESET both warned of sneaky uses of JavaScript files that use the CPU of visitors to mine cryptocurrencies without their knowledge (or explicit permission). This can come in the form of malicious software that is installed on a user’s computer, an undetected JavaScript file that mines in the background or a pop-under window that can continue to mine coins even after the browser is closed.

If you’re not sure how to determine if your computer is being used to mine coins without your knowledge, make sure to read our article on detecting coin mining. And if it is, how can you put a stop to it? Here are four ways to stop your computer from mining coins without your permission.

vCard QR Code

vCard.red is a free platform for creating a mobile-friendly digital business cards. You can easily create a vCard and generate a QR code for it, allowing others to scan and save your contact details instantly.

The platform allows you to display contact information, social media links, services, and products all in one shareable link. Optional features include appointment scheduling, WhatsApp-based storefronts, media galleries, and custom design options.

Now Playing: Watch this: Cryptojacking: The hot new hacker trick for easy money

1:43

Should you block coin mining?

Whether you should allow websites to use your computer to mine coins is entirely up to you. In most cases, it’s entirely harmless. But the trouble is how ethical it is for a company to use your computer for something other than what you intended.

When a website is upfront about coin mining, there is no harm in supporting its content or service by allowing it to harness your computing power. It’s a great trade-off if you’re not a fan of advertisements.

That said, mining can affect the performance (and battery life) of your computer and (marginally) increase your power bill. As long as you understand this and give consent, there is no issue. It’s when websites decide to do it in the background, without your knowledge, that it becomes unethical.

How to stop sites from mining coins with your CPU

Assuming your computer doesn’t have a malicious coin mining program installed, there are a number of ways to block coin mining while you browse.

Disable JavaScript on specific sites

If you suspect a website is using your computer to mine cryptocurrencies without your permission, you can simply block JavaScript altogether.

The problem, however, is that this is a very aggressive way to block mining and will break many websites. Facebook, for instance, will not load without JavaScript enabled.

Coin mining blockers

If you don’t want to use an ad blocker or just want to specifically block coin mining, there are a handful of extensions available 

These extensions work by blacklisting known domains and mining scripts. They’re regularly updated and are among the best hands-off approaches to block mining. On the flip side, if you want to support a website by allowing it to mine, you can whitelist it. 

Anti-malware software

While browsers haven’t yet adapted to blocking cryptocurrency miners (or at least making them an opt-in option), some anti-malware software has. Malwarebytes, for example, offers cryptocurrency miner blocking in its premium subscription.


🕐 Top News in the Last Hour By Importance Score

# Title 📊 i-Score
1 ‘Breaking our spirits was the plan’: the lifelong impact of having gone to boarding school 🔴 70 / 100
2 Florida State relents on Monday return to campus after outcry 🔴 65 / 100
3 Heroes, zeros from Knicks’ Game 1 win over Pistons: Jalen Brunson recovers from slow start for huge game 🔵 55 / 100
4 Sir Chris Hoy opens up on heartbreaking reality of his and wife Sarra's health struggles 🔵 45 / 100
5 Inside Colin Farrell's family life with his two sons after actor shared he is putting his disabled son James, 21, in long term care 🔵 45 / 100
6 Tenko stars had real life romance away from WW2 show 🔵 45 / 100
7 Oti Mabuse admits ‘it’s time’ as she makes huge Strictly move three years after exit 🔵 45 / 100
8 The world's richest woman in 2025 – worth £76bn and owner of huge £18m apartment 🔵 35 / 100
9 Smart Thermostat Installation Guide: How to Handle It Yourself 🔵 35 / 100
10 Shohei Ohtani and Wife Mamiko Tanaka Welcome First Baby 🔵 35 / 100

View More Top News ➡️