News for hackers. Stuff that matters.
Re:Show HN: No Coin – A browser extension to block coin miners by ComputerGuru on Sunday September 17, 2017 @02:34PM (#15270991)
For context: The Pirate Bay is now launching a javascript-based Monero miner in all visitors' browsers to mine coins for them in the background (possibly as an alternative to ads).
Re:Show HN: No Coin – A browser extension to block coin miners by slg on Sunday September 17, 2017 @02:53PM (#15271087)
As long as there is disclosure of it and the mining is relatively efficient, that is a very interesting business model. The site collects revenue relative to the amount of time users spend on the site and not the number of page/ad views. It is also a pretty seamless way to integrate micropayments from users into a site. Handing over a credit card number or similar is a big barrier to overcome while this requires no setup for the user. As a user I might prefer this to ads in certain circumstances.
Re:Show HN: No Coin – A browser extension to block coin miners by forthefuture on Sunday September 17, 2017 @03:04PM (#15271141)
I'd definitely prefer this to ads in a world where phone software and hardware improved energy capacity and efficiency at a faster rate than applications bloat.

I don't think we've reached that point yet. An iPhone doesn't last a single day if you use it the whole time, it would barely last for hours mining constantly.

Re:Show HN: No Coin – A browser extension to block coin miners by raverbashing on Sunday September 17, 2017 @05:29PM (#15271814)
Are you using tpb in your phone? I don't see why that would be an issue then

Though I agree this monetization tactic doesn't work on mobile

Re:Show HN: No Coin – A browser extension to block coin miners by icebraining on Sunday September 17, 2017 @06:14PM (#15271985)
Why wouldn't you? There are multiple torrent clients for Android (don't know about iOS). Plus if you have a seedbox, you can add torrents from your phone - Transdroid/Transdrone are pretty good.
Re:Show HN: No Coin – A browser extension to block coin miners by r3bl on Sunday September 17, 2017 @05:50PM (#15271890)
To add one more question to the one raverbashing posted: How long do you even keep TPB in the background on your phone for it to consume your entire battery?
Re:Show HN: No Coin – A browser extension to block coin miners by detaro on Sunday September 17, 2017 @03:38PM (#15271297)
Paying 50 cents requires you to keep their mining browser tab open for around a week with your CPU churning. Somehow I don't think that's the solution.
Re:Show HN: No Coin – A browser extension to block coin miners by IamCarbonMan on Sunday September 17, 2017 @03:50PM (#15271352)
WebAssembly with OpenGL could change this.
Re:Show HN: No Coin – A browser extension to block coin miners by mobiletelephone on Sunday September 17, 2017 @05:59PM (#15271925)
No it won't. If everyone is mining more efficiently then the difficulty will rise.
Re:Show HN: No Coin – A browser extension to block coin miners by benchaney on Sunday September 17, 2017 @06:19PM (#15272009)
Most miners already use GPUs (or ASICs depending on the coin). WebGL would let websites get a relatively larger piece of the pie from dedicated miners.
Re:Show HN: No Coin – A browser extension to block coin miners by IamCarbonMan on Sunday September 17, 2017 @07:14PM (#15272233)
As it always is with cryptocurrency. It's not sustainable, but at the moment a wasm + WebGL solution is better than plain JS. That's all I meant.
Re:Show HN: No Coin – A browser extension to block coin miners by mattnewton on Sunday September 17, 2017 @04:00PM (#15271406)
I don't know what they would have to be mining to make cpu's or integrated GPU's make sense, certainly not bitcoin where even if you pay nothing for electricity to are unlikely to be able to do any useful work in the time someone visits your site.
Re:Show HN: No Coin – A browser extension to block coin miners by IamCarbonMan on Sunday September 17, 2017 @04:10PM (#15271458)
PirateBay probably won't make any money. I'm considering adding this to an online game, which would probably generate a modest income. Video and social media sites could definitely benefit as well.
Re:Show HN: No Coin – A browser extension to block coin miners by doguozkan on Sunday September 17, 2017 @10:32PM (#15272953)
I think this would be fine as long as you have the users' consent. I suppose you could even give out rewards to players based on how much they contribute. I see this model in a lot of Android games nowadays (although with ads), you are asked to look at an ad/watch a 30 second video, and in return you get a small amount of in-game currency otherwise only obtainable through spending money.
Re:Show HN: No Coin – A browser extension to block coin miners by detaro on Sunday September 17, 2017 @07:37PM (#15272313)
In the discussion yesterday I estimated 2-5 cents per 24 hours of mining on a users machine (based on quoted hashrates and current prices). That's really not much, even if people actively let it run to help and there is a medium efficiency gain to have somewhere.
Re:Show HN: No Coin – A browser extension to block coin miners by tokenizerrr on Sunday September 17, 2017 @05:34PM (#15271828)
What game is that? I want to be sure to avoid it if you are planning such scummy tactics.
Re:Show HN: No Coin – A browser extension to block coin miners by IamCarbonMan on Sunday September 17, 2017 @05:43PM (#15271865)
It's a card game simulator I have yet to publish. I don't really have a lot of money for server uptime, so it's either ads or this. And it won't be on by default. I'm simply offering users a way to support the site if they like using it, without having to view ads or pay directly (it may or may not affect their electricity bill I guess, but to most people an online game using some extra CPU isn't going to have much impact on them at all).
Re:Show HN: No Coin – A browser extension to block coin miners by tokenizerrr on Sunday September 17, 2017 @05:46PM (#15271877)
You can't afford $9/month? Don't bother implementing this feature and you earned a few months of uptime.
Re:Show HN: No Coin – A browser extension to block coin miners by IamCarbonMan on Sunday September 17, 2017 @06:09PM (#15271964)
None of that comment even close to makes sense.

1. My operating costs are more than $9/month. I don't know where you got that presumed feature but it's wrong.

2. There's nothing to implement. You include a library and a few lines of code to start it and you're done.

3. How would not doing something that could potentially make me money, even if only a little bit, save me money? That makes zero sense.

Re:Show HN: No Coin – A browser extension to block coin miners by tokenizerrr on Sunday September 17, 2017 @06:17PM (#15272005)
You are talking about server costs. Get a server at for example online.net (not affiliated) for $9/month or cheaper. That server is going to be able to run your card game easily.

You don't need to spend hundreds of dollars on AWS.

Re:Show HN: No Coin – A browser extension to block coin miners by IamCarbonMan on Sunday September 17, 2017 @07:10PM (#15272206)
You don't know what my site requires, so you're assuming that whatever hosting you just randomly want to assume is sufficient is enough and so you can discredit my legitimate idea for a possible way to get the required cost to run my site, and possibly also make a little profit. Would you rather have me borrow user's time and attention with ads, or bottom a few of their precious millions of CPU cycles per second? And in case you didn't read what I wrote, I'm not "stealing" anything. The site will be hosted either way, if I have to pay for it out of pocket at a loss then fine. But if people would like to donate CPU time to support the project, there is an off-by-default option to do so, just like there's an off-by-default option to donate money. I fail to see how this is evil.
Re:Show HN: No Coin – A browser extension to block coin miners by tokenizerrr on Sunday September 17, 2017 @07:19PM (#15272256)
Ads obviously, as long as you're not using them to spread different kind of malware. It doesn't matter that much to me personally, I'll be blocking whatever garbage you put out anyway, but ads are objectively the better choice as they dont needlessly wreck the environment any further, nor cause unnecessary wear and tear on the hardware of your users.

Anyway, I'd be very interested in hearing how a card game simulator requires more than 8gb of memory and a decent cpu.

Re:Show HN: No Coin – A browser extension to block coin miners by IamCarbonMan on Sunday September 17, 2017 @07:34PM (#15272301)
God, would you shut up? Jesus, sorry to burst your bubble but people are running their damn CPUs no matter what I do. I heard that some people would prefer client-side mining to ads and I thought I might give that option for those that want it. But I guess that'll cause the Apocalypse next Friday so I'll just go host my application at online.com™ for the low low price of $9 a month, since it's just a card game and can't possibly require anything more than that! Any idiot could see that I don't need to pollute the air and melt the ice caps by trying to give my users options and help support the development of fun internet sites! Could you be any more condescending?
Re:Show HN: No Coin – A browser extension to block coin miners by tokenizerrr on Sunday September 17, 2017 @08:07PM (#15272429)
Nope. If you post your idea on a public forum I will be responding with my opinion. Feel free to stop posting if you don't want my replies.

I'm also genuinely curious what kind of card game has such intensive server requirements because I just don't see it. Maybe you have a legitimate need to contribute to global warming, it just seems unlikely to me.

Re:Show HN: No Coin – A browser extension to block coin miners by IamCarbonMan on Sunday September 17, 2017 @08:19PM (#15272479)
I'm sure it's entirely possible that I can run my application within the arbitrary limitations that you have set for me. I have a MongoDB and Express stack primarily. Sorry that I didn't know that online.com™ can host my application with 8 gigs of RAM for just $9 a month. I came into this damn thread wondering if maybe someone thought this was a good idea from the point of view of user experience. I don't care whatsoever about the planet. Not a bit. If my computer brings about the next Ice Age, fine. I'm a webdev, I saw an idea I liked, you ruthlessly shot me down because apparently it's going to harm you in some way. Honestly, I'd like to make a little money to pay my student loans off with, but that's not about to happen. So maybe, just maybe, I don't care how wonderfully cheap and capable the server you just randomly decided I should use is. I saw a cool idea, I wanted to implement it in an open and honest way for those users that wanted it. Sorry for destroying the planet with curiosity.
Re:Show HN: No Coin – A browser extension to block coin miners by tokenizerrr on Sunday September 17, 2017 @08:30PM (#15272524)
Sounds like olyou should take a refresher ethics course. And if not that, a business course because you're just going to drive your idea into the ground the way you're going. There's your feedback.

By the way, users will instantly close your game if you cause their cpu fans to spin up to 100%

Good luck with your doomed project :)

Re:Show HN: No Coin – A browser extension to block coin miners by IamCarbonMan on Sunday September 17, 2017 @08:36PM (#15272555)
You do know what throttling and debouncing are right? Or do you need to take an actual computer science class?
Re:Show HN: No Coin – A browser extension to block coin miners by tokenizerrr on Sunday September 17, 2017 @08:54PM (#15272614)
Of course. I also know you're not going to earn any remotely significant amount of money from crypto currency mining if you do that.
[dead]
Re:Show HN: No Coin – A browser extension to block coin miners by tokenizerrr on Sunday September 17, 2017 @08:53PM (#15272612)
You're looking to monetize. That makes it a business. If not we're back to square one, skip out on a Starbucks and just pay for your server costs yourself rather than fucking over your users :)

Maybe if you manage to create something worthwhile people will be willing to pay you some money. It's not like you need much of it for a single server. Consider it an opportunity to learn how to not piss away money/time.

Re:Show HN: No Coin – A browser extension to block coin miners by guscost on Sunday September 17, 2017 @09:08PM (#15272678)
> Ads obviously

You'd have a better argument if the TechCrunch homepage didn't use 50% of my CPU just to render all the ads.

Re:Show HN: No Coin – A browser extension to block coin miners by tokenizerrr on Sunday September 17, 2017 @09:20PM (#15272722)
I mean isn't 50% better than the 100% that these crypto miners do? And those miners keep going for as long as you have the page open, not just while scrolling.

Of course inefficient ads are also horrible.

Re:Show HN: No Coin – A browser extension to block coin miners by guscost on Sunday September 17, 2017 @09:36PM (#15272763)
What if you could choose a "support level" or unlock features by donating more resources? I'm thinking out loud here, but I've never heard of customer-donated CPU as a business model and there might be something here. For an author trying to monetize content online all of the "normal" options are pretty bad right now. I think most digital entertainment just isn't very valuable these days, but I'll bet the mining thing has some characteristics that compare favorably to both ads and (micro)payments.

Of course, if it was a viable strategy, wouldn't some malware authors write the malware to do this instead of ransoming files? Has that been tried? Is it a thing?

Re:Show HN: No Coin – A browser extension to block coin miners by tokenizerrr on Sunday September 17, 2017 @09:47PM (#15272809)
The main problem for legitimate operations is that the user will spend far more on electricity than what the site operator will earn, especially with implementations running in the browser which still aren't yet able to be as performant as you would like. With that in mind a direct exchange of currency for features/access makes a lot more sense unless you want to trick your users. Most won't realize why their power bill is so high.

There are malwares that mine crypto currencies, usually while the machine is idle as to not alert the user that something is up with their machine. However these profits are also quite low since you're using mostly low end machines.

Crypto lockers are of course way more evil, but they function just as well on low quality hardware so I can understand why malware authors do it.

Re:Show HN: No Coin – A browser extension to block coin miners by thinkloop on Sunday September 17, 2017 @06:11PM (#15271975)
You prefer s/he didn't provide the option? Dude wants to make some money for his/her effort. Chill.
Re:Show HN: No Coin – A browser extension to block coin miners by tokenizerrr on Sunday September 17, 2017 @06:19PM (#15272012)
Yes. Websites stealing cpu time to mine crypto currency is ridiculous. I'd go as far as calling it malware. It's a waste of my power and will wear out my hardware faster than necessary. It's also bad for the environment due to useless power drain.

If we're talking about a server for a card game you can just get a cheapo dedicated server and you'll be fine. Get a user or two to donate once a month and you will even run a profit. Or skip that Starbucks once a month.

Re:Show HN: No Coin – A browser extension to block coin miners by thinkloop on Sunday September 17, 2017 @07:33PM (#15272297)
> Websites stealing cpu time to mine crypto currency is ridiculous

It is being offered as an option, not being stolen.

> Get a user or two to donate once a month and you will even run a profit. Or skip that Starbucks once a month.

I want to make millions of dollars so that I can build schools for children, why are you limiting the value of my effort and creation?

Re:Show HN: No Coin – A browser extension to block coin miners by tokenizerrr on Sunday September 17, 2017 @07:36PM (#15272309)
Because there is a 99% chance that you are going to fail. Sorry but your card game isn't going to save the world, let's not wreck it while trying.
Re:Show HN: No Coin – A browser extension to block coin miners by thinkloop on Sunday September 17, 2017 @07:41PM (#15272329)
You don't even know what my card game is.

It's a decentralized uncensorable poker game with no rake that makes money from light client-side mining of relatively cpu efficient coins - you don't think I can build a single school from that?

Re:Show HN: No Coin – A browser extension to block coin miners by mhluongo on Sunday September 17, 2017 @07:55PM (#15272382)
And you can use another card game. Get over it, as long as it's disclosed everyone involved are consenting.
Re:Show HN: No Coin – A browser extension to block coin miners by tokenizerrr on Sunday September 17, 2017 @08:02PM (#15272410)
Sure thing. I can also block whatever crap I don't want running in my browser so I'll be doing that. Just giving feedback.
Re:Show HN: No Coin – A browser extension to block coin miners by 3131s on Sunday September 17, 2017 @11:20PM (#15273160)
The real environmental cost of ads is when people actually buy the useless shit being advertised. Also, you definitely have a strange attitude toward mining cryptocoins client-side and are engaging in many assumptions and false notions (that 100% of CPU will be used, that ad-tracking doesn't use just as many cycles, that it's not opt-in, etc.)
Re:Show HN: No Coin – A browser extension to block coin miners by tokenizerrr on Sunday September 17, 2017 @11:33PM (#15273217)
It's actually quite simple, any website that makes my laptop fans spin up gets closed out. None of the websites with ads trigger this behavior. The cryptominers do. If you look at actual CPU usage you will notice the obvious difference.

This makes sense, since the entire idea of crypto currency mining is to use CPU cycles to mine the crypto currency. While ads is just some basic tracking and graphics.

Re:Show HN: No Coin – A browser extension to block coin miners by drusepth on Monday September 18, 2017 @07:32AM (#15274937)
What about what he said implies he's doing it in a scummy way? Something like this, opt in and transparent, would be much preferred over microtransactions or ads, IMO.
Re:Show HN: No Coin – A browser extension to block coin miners by Gaelan on Sunday September 17, 2017 @11:52PM (#15273283)
They’re mining Monero.
Re:Show HN: No Coin – A browser extension to block coin miners by yjftsjthsd-h on Sunday September 17, 2017 @06:54PM (#15272158)
> and the mining is relatively efficient

That's a huge "if"; it's my understanding that most cryptocurrencies are currently only efficient with ASICs.

Re:Show HN: No Coin – A browser extension to block coin miners by slg on Sunday September 17, 2017 @07:19PM (#15272257)
Efficiency doesn't mean profitable. Traditional miners require profitability while this system would only require some unknown level of efficiency. The equipment costs is basically negligible because you are using idle capacity of existing hardware. The marginal revenue also doesn't need to beat electricity costs because the people paying the electricity are not the ones who are receiving the revenue. For example if every $1 of electricity generated $0.90 of revenue, that would be equivalent to the site paying a 10% fee on the micropayments they receive. That would likely be perfectly acceptable to both sides.
Re:Show HN: No Coin – A browser extension to block coin miners by beejamin on Monday September 18, 2017 @03:14AM (#15273921)
Monero is designed to be mined more efficiently with CPUs, or rather, not give such a huge advantage to GPU or dedicated systems (I've read that GPU mining is only 2x the performance of a roughly equivalent CPU, instead of 1000+x as with bitcoin).
Re:Show HN: No Coin – A browser extension to block coin miners by mhluongo on Sunday September 17, 2017 @07:03PM (#15272183)
Bitcoin, sure. Many are resistant and are still mined with GPUs though.
Re:Show HN: No Coin – A browser extension to block coin miners by xg15 on Sunday September 17, 2017 @08:07PM (#15272433)
As long as that's the case, maybe (and even then I don't think it would be) but as it is now, what entity ensures that sites actually use the mining as payment and not simply make you pay the whole time?

How would you negotiate prices if your customers are not even aware how much they are paying?

Re:Show HN: No Coin – A browser extension to block coin miners by amelius on Monday September 18, 2017 @05:53AM (#15274538)
I think browsers and OSes need to improve to make mining in the background possible such that the UX is not hampered in any way. Right now, with Javascript in the same thread as the UI, that seems not really possible.
Re:Show HN: No Coin – A browser extension to block coin miners by ComputerGuru on Monday September 18, 2017 @11:25AM (#15276721)
They already have. It’s called using a web worker.
Re:Show HN: No Coin – A browser extension to block coin miners by amelius on Monday September 18, 2017 @12:27PM (#15277257)
Still, such threads get the same priority as other threads, instead of running in pure idle time.
Re:Show HN: No Coin – A browser extension to block coin miners by jdavis703 on Sunday September 17, 2017 @06:15PM (#15271992)
Most ads are also priced in a way that takes the amount of viewability in to account too, so this feature is not unique to browser mining.
Re:Show HN: No Coin – A browser extension to block coin miners by Freak_NL on Sunday September 17, 2017 @02:55PM (#15271097)
I wonder how many users experience their computer slowing to a crawl with such soft-/malware.
Re:Show HN: No Coin – A browser extension to block coin miners by eyezick on Sunday September 17, 2017 @02:36PM (#15271005)
CPU mining is so unprofitable, but I suppose with thousands of users..
Re:Show HN: No Coin – A browser extension to block coin miners by drxzcl on Sunday September 17, 2017 @03:03PM (#15271134)
It's not unprofitable if you aren't the one carrying the costs. It's inefficient though, that's for sure.
Re:Show HN: No Coin – A browser extension to block coin miners by mikeash on Sunday September 17, 2017 @03:16PM (#15271204)
I recall that for Bitcoin, the profit was something like a billionth of a cent per user-hour. So it would be hard to be profitable even if all you're paying for is a little engineer time to deploy it.

I assumed this whole notion of browser mining as a replacement for ads was just a laugh, but maybe not. Are there coins where it can actually make a noticeable amount of money?

Re:Show HN: No Coin – A browser extension to block coin miners by IamCarbonMan on Sunday September 17, 2017 @07:17PM (#15272249)
That's the reason TPB is using Monero. It was specifically designed to be mined on consumer CPUs with little to no benefit to running on a GPU or ASIC.
Re:Show HN: No Coin – A browser extension to block coin miners by lagadu on Tuesday September 19, 2017 @05:33PM (#15289028)
That's partially incorrect. While XMR is very resistant to ASICs and not very GPU friendly, a high-end consumer GPU will still mine over 2x as much as a high-end consumer CPU.

edit: of course because the majority of users have integrated gpus, cpu mining will typically be faster.

Re:Show HN: No Coin – A browser extension to block coin miners by Houshalter on Sunday September 17, 2017 @03:42PM (#15271312)
Bitcoin quickly moved to GPUs and then ASICs, making mining them with CPUs pointless. Some coins are designed to be very difficult to mine with GPUs or ASICs, so a Browser based miner isn't so ridiculous. Wasm also makes it a bit faster.
Re:Show HN: No Coin – A browser extension to block coin miners by mikeash on Sunday September 17, 2017 @05:35PM (#15271833)
What sort of return per user-hour would you be looking at with one of those?
Re:Show HN: No Coin – A browser extension to block coin miners by ComputerGuru on Sunday September 17, 2017 @02:38PM (#15271019)
According to the reddit thread on the matter, even at TPB's scale they were looking at only < $500 a month.

I wonder why CoinHive isn't using WebGL for this.

Re:Show HN: No Coin – A browser extension to block coin miners by akx on Sunday September 17, 2017 @03:27PM (#15271253)
Quoting CoinHive's site:

> [...] There are solutions to run the Cryptonight algorithm on a GPU instead, but the benefit is about 2x, not 10000x like for other algorithms used by Bitcoin or Ethereum. This makes Cryptonight a nice target for JavaScript and the Browser. [...] Our miner uses WebAssembly and runs with about 65% of the performance of a native Miner. [...]

Re:Show HN: No Coin – A browser extension to block coin miners by Yoric on Sunday September 17, 2017 @03:38PM (#15271295)
Can you actually use WebGL for this? I mean, don't you need a user-visible graphics context? That's a serious question, I have used WebGL only once in my life and that was years ago.

On the other hand, WebGPU looks exactly like the kind of technology that would make web-based GPU-enabled bitcoin mining realistic.

Re:Show HN: No Coin – A browser extension to block coin miners by IamCarbonMan on Sunday September 17, 2017 @07:18PM (#15272251)
It doesn't have to be visible. You can use display: none or whatever to hide it.
Re:Show HN: No Coin – A browser extension to block coin miners by johnday on Sunday September 17, 2017 @04:58PM (#15271651)
You could put it off screen.
Re:Show HN: No Coin – A browser extension to block coin miners by tentaTherapist on Sunday September 17, 2017 @02:59PM (#15271118)
But if most users have integrated graphics, and even with dedicated graphics cards the improvement is nowhere near an order of magnitude, would it be much better?
Re:Show HN: No Coin – A browser extension to block coin miners by benologist on Sunday September 17, 2017 @02:58PM (#15271113)
That $500 was probably what they made within the hours they tested the code, as they do millions of pageviews an hour. Reddit still thinks they're lucky to cover a handful of servers LOL.
Re:Show HN: No Coin – A browser extension to block coin miners by icelancer on Sunday September 17, 2017 @04:12PM (#15271469)
For BTC, sure. For XMR, maybe not. And the site doesn't carry the load.
Re:Show HN: No Coin – A browser extension to block coin miners by Sir_Substance on Sunday September 17, 2017 @03:09PM (#15271170)
Not for XMR. There's quite a few altcoins out there aiming to solve the asic problem with aggressively anti-asic algorithms.
Re:Show HN: No Coin – A browser extension to block coin miners by thinkloop on Sunday September 17, 2017 @06:33PM (#15272065)
There is an interesting position that asic mining is the most democratic and decentralized way. The easier and simpler and cheaper a miner is to produce, the more accessible it is and likely that companies can manufacture and distribute it, turning it into a commodity. Complex proofs that require cpu's, for example, hand a permanent monopoly to Intel and friends. When the nanometer race ends in a few product generations (as we reach the limits of physics), the more commoditized silicon will become, and the more likely we can get a miner for a couple of bucks at the grocery store, or embed it in devices, etc. - making it truly decentralized.
Re:Show HN: No Coin – A browser extension to block coin miners by Sir_Substance on Monday September 18, 2017 @05:03AM (#15274353)
Historically, those companies have held and mined with the current generation of ASICs (that their customers have paid for!), while they develop the next generation.

Once they have the next generation off the production line, they take the used previous generation, box them up and ship them off to their customers, and then plug the new generation into their mining pools.

If we could trust ASIC manufacturers to not sit on the best hardware, you might be right. However, for the moment everyone can get their hands on CPUs and GPUs of roughly the same power, while easily accessible ASICs are several orders of magnitude slower than the current state of the art.

Re:Show HN: No Coin – A browser extension to block coin miners by endlessvoid94 on Sunday September 17, 2017 @03:18PM (#15271215)
What do you mean by unprofitable?

If you have cheap (or free) power, it's absolutely profitable.

EDIT: I see you meant CPU mining, not mining in general. My mistake!

Re:Show HN: No Coin – A browser extension to block coin miners by always_good on Sunday September 17, 2017 @05:01PM (#15271674)
People are fixated on power, but this browser miningware doesn't even pay for the wear on your machine.
Re:Show HN: No Coin – A browser extension to block coin miners by lagadu on Tuesday September 19, 2017 @05:31PM (#15289007)
Not for XMR: a good 6+ core cpu will mine 1/3 to 1/2 of what a 1080ti mines using the native miners.
Re:Show HN: No Coin – A browser extension to block coin miners by SimbaOnSteroids on Sunday September 17, 2017 @03:37PM (#15271289)
How would one implement this? Couldn't you just rip it off their website?