加密货币成为主要货币以后_如何在您的Web浏览器中阻止加密货币矿工

加密货币成为主要货币以后

加密货币成为主要货币以后_如何在您的Web浏览器中阻止加密货币矿工

Cryptocurrency miners are a new scourge on the web. Web pages can now embed JavaScript code that runs in your web browser to mine themselves Bitcoin or other cryptocurrencies using your computer. The website keeps the cryptocurrency, and you get higher electric bills, 100% CPU usage that drags down your computer, and reduced battery life.

加密货币矿工是网络上的新祸害。 网页现在可以嵌入在您的Web浏览器中运行JavaScript代码,以使用您的计算机挖掘比特币或其他加密货币 。 该网站保留加密货币,您将获得更高的电费,100%的CPU使用率,这将拖累您的计算机,并缩短电池寿命。

This problem first came to popular attention with the CoinHive script, which ran when you visited The Pirate Bay, but there are other mining scripts and other websites using them. In fact, researchers even discovered a method that allows a site to mine cryptocurrency after you’ve closed the browser tab. So what can you do? Thankfully, there is some software that can help.

CoinHive脚本首先引起了人们的关注,该脚本是在您访问海盗湾时运行的,但是还有其他采矿脚本和其他使用它们的网站。 实际上,研究人员甚至发现了一种方法,该方法可以在关闭浏览器选项卡之后允许站点挖掘加密货币 。 所以,你可以做什么? 值得庆幸的是,有些软件可以提供帮助。

为什么我的浏览器不阻止他们? (Why Doesn’t My Browser Block Them?)

Web browser developers are debating ways to stop cryptocurrency miners. For example, Google Chrome’s developers are discussing how to solve the problem in this bug tracker thread.

Web浏览器开发人员正在讨论阻止加密货币矿工的方法。 例如,谷歌浏览器的开发人员正在讨论如何解决此错误跟踪器线程中的问题。

Chrome’s developers don’t want to just keep a blacklist of cryptocurrency miners, so they’re considering adding a permission that prevents web pages from constantly using all your CPU resources without your permission.

Chrome的开发人员不想只保留一份加密货币矿工的黑名单,因此他们正在考虑添加一种权限,以防止未经您的许可便不断使用您的所有CPU资源。

Some adblockers also block cryptocurrency miners, but we don’t recommend using those because the web runs on ads. Blocking all ads will only encourage more websites to use cryptocurrency miners and other terrible things against users without adblock.

一些adblocker也阻止了加密货币矿工,但我们不建议您使用它们,因为网络在广告上运行。 屏蔽所有广告只会鼓励更多网站针对没有adblock的用户使用加密货币矿工和其他可怕的东西。

Hopefully, browser developers will decide on a solution that helps protect everyone from cryptocurrency miners in the future.

希望浏览器开发人员将决定使用一种解决方案,该解决方案将来可以保护所有人免受加密货币矿工的侵害。

选项一:使用阻止矿工的反恶意软件 (Option One: Use Antimalware Software That Blocks Miners)

加密货币成为主要货币以后_如何在您的Web浏览器中阻止加密货币矿工

While web browsers themselves aren’t blocking cryptocurrency miners yet, some antimalware and antivirus programs already are. For example, the Premium version of Malwarebytes, an antimalware tool we highly recommend, now automatically blocks cryptocurrency miners on web pages you visit.

虽然网络浏览器本身尚未阻止加密货币矿工,但已经有一些反恶意软件和防病毒程序。 例如,我们强烈建议您使用Premium版本的Malwarebytes (一种反恶意软件工具)来自动阻止您访问的网页上的加密货币矿工

The integrated Windows Defender antivirus software doesn’t block CoinHive or other cryptocurrency miners on web pages. If you use another antivirus program, it may or may not be blocking cryptocurrency mining scripts like CoinHive—check with your antivirus provider to see if they do.

集成的Windows Defender防病毒软件不会阻止网页上的CoinHive或其他加密货币矿工。 如果您使用其他防病毒程序,则它可能会阻止或可能不会阻止CoinHive之类的加密货币挖掘脚本,请与您的防病毒提供商联系,以查看是否这样做。

选项二:安装“ No Coin”浏览器扩展 (Option Two: Install the “No Coin” Browser Extension)

加密货币成为主要货币以后_如何在您的Web浏览器中阻止加密货币矿工

Alternatively, there are now browser extensions that automatically block cryptocurrency miners for you, and they’re regularly updated with new mining scripts that spring up.

另外,现在有一些浏览器扩展会自动为您阻止加密货币矿工,并且会定期使用不断更新的新挖掘脚本对其进行更新。

We don’t like recommending browser extensions because we’ve seen good extensions go bad and turn into adware too many times, but there’s really no avoiding it in this case—if you refuse to run antivirus or antimalware software that blocks currency miners, you’ll need a browser extension of some sort.

我们不建议您使用浏览器扩展,因为我们已经看到好的扩展会变质并变成广告软件,但是在这种情况下,我们确实无法避免-如果您拒绝运行阻止货币矿工的防病毒软件或反恶意软件,将需要某种浏览器扩展。

We recommend the No Coin extension, available for Google Chrome, Mozilla Firefox, and Opera. It’s open source, is the most popular extension of its type, and does a great job of blocking Coin Hive and other similar cryptocurrency miners. You can even whitelist a certain miner and allow it to run, if you like.

我们建议使用No Coin扩展程序,该扩展程序可用于Google ChromeMozilla FirefoxOpera 。 它是开源的 ,是其类型中最受欢迎的扩展,并且在阻止Coin Hive和其他类似的加密货币矿工方面做得很好。 如果愿意,您甚至可以将某个矿工列入白名单并允许其运行。

The No Coin extension is not available for Microsoft Edge, Apple Safari, or Internet Explorer. If you use one of these browsers, you’ll need another solution—like an antimalware program that blocks cryptocurrency miners.

No Coin扩展名不适用于Microsoft Edge,Apple Safari或Internet Explorer。 如果使用这些浏览器之一,则将需要另一种解决方案,例如阻止加密货币矿工的反恶意软件程序。

There are also other ways to block these scripts, such as editing your hosts file to redirect them and prevent web pages from loading the scripts. However, you’d have to keep the list of blocked miners up to date on your own, so it’s better to use an automatically updating piece of software that can maintain that list for you, like a browser extension or security program.

还有其他阻止这些脚本的方法,例如编辑主机文件以重定向它们并阻止网页加载脚本。 但是,您必须自己更新受阻止矿工的列表,因此最好使用可以为您维护该列表的自动更新软件,例如浏览器扩展程序或安全程序。



Using a cryptocurrency miner to give revenue to a website could be an interesting tradeoff—at least, it could be if websites that used miners informed you that a miner was running and allowed you to make an informed decision. But you probably won’t notice unless you see a web page is maxing out your CPU, and that’s the problem here. Most web pages that use miners don’t provide any indication they’re using your CPU.

使用加密货币矿工为网站赚钱可能是一个有趣的折衷-至少,如果使用矿工的网站通知您矿工正在运行并允许您做出明智的决定,那么这可能是一个有趣的折衷。 但是除非您看到网页使CPU耗尽,否则您可能不会注意到,这就是这里的问题。 大多数使用矿工的网页没有提供任何迹象表明它们正在使用您的CPU。

Image Credit: BTC Keychain on Flickr (modified)

图片来源: Flickr上的BTC钥匙串 (已修改)

翻译自: https://www.howtogeek.com/334018/how-to-block-cryptocurrency-miners-in-your-web-browser/

加密货币成为主要货币以后

相关文章: