Earlier quoted context omitted.
That's what was attempted with Greasemonkey and Tampermonkey, wasn't it? Userscripts and so on.
I loved using those tools, but I think many browser extensions today are more involved than small shim scripts. A lot of them have CRUD operations, data editing interfaces, css/image assets, etc. I was thinking about something a bit more composed like create-react-app.
Show HN: No Coin – A browser extension to block coin miners
51–60 of 269 posts
Re: Show HN: No Coin – A browser extension to block coin miners
#52Earlier quoted context omitted.
In uBlock you can just click the big off button and then click it on again. I see that No Coin has a 'disable for 1 minute' button, which is slightly different, but probably not worth a separate extension for most people. https://github.com/gorhill/uBlock/wiki/How-to-whitelist-a-we...
OTOH I'm ok with ads, but not ok with miners. So wouldn't make sense have an ad blocker that doesn't block ads. People seems allergic to browser extensions this days. I also get the "why is this an extension and not a filter?" on a non ad-related extension.
That's why I'm skeptical of new browser extensions for things that the ones I have can already cover.
Doesn't mean everybody else has to feel like that (e.g. I honestly hadn't considered someone might want to install this but not a generic configurable blocker - even if you aren't aggressively blocking ads uBlock would be useful for me)
Re: Show HN: No Coin – A browser extension to block coin miners
#53Re: Show HN: No Coin – A browser extension to block coin miners
#54I really like the idea of a proof-of-work captcha, but can it work? The hash requirement needs to be low enough for mobile devices, but scraping and automation are usually done on powerful servers. Is there an equilibrium where it's comfortable for end users, but a real deterrent for servers?
Re: Show HN: No Coin – A browser extension to block coin miners
#55Is there a way to exploit the miner scripts? I mean in a way: Never trust the client? If the proof is calculated on the client, how does the server confirm that the proof is correct?
Re: Show HN: No Coin – A browser extension to block coin miners
#56The extension is simply blocking a list of blacklisted domains in blacklist.txt. Some way to detect that a non-visible page or service worker is using excessive CPU time or GPU assets would be useful. How long until porn sites start doing mining in the background?
>How long until porn sites start doing mining in the background? How long have porn sites being doing mining in the background ? Remember that porn sites are always the front line of innovation on the web, some are probably already doing it
Often stated, rarely with any actual support.
Re: Show HN: No Coin – A browser extension to block coin miners
#57Is there a way to exploit the miner scripts? I mean in a way: Never trust the client? If the proof is calculated on the client, how does the server confirm that the proof is correct?
The point of proof-of-work algorithms is to be hard to compute but easy to verify.
As a simplified example, a proof-of-work might be to take some input and find a corresponding salt that leads to a sha256 with 10 leading zeros. The user works hard to find that salt (the proof-of-work) using some brute force search, but the server easily verifies that the proof is correct because checking a sha256 is easy.
So the proof is verifiable by the definition of the algorithm.
Re: Show HN: No Coin – A browser extension to block coin miners
#58Earlier quoted context omitted.
According to the reddit thread on the matter, even at TPB's scale they were looking at only a month . I wonder why CoinHive isn't using WebGL for this.
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
#59Earlier quoted context omitted.
CPU mining is so unprofitable, but I suppose with thousands of users..
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
#60And what do I see here? That before it even started people are fighting it.
Found this solution better than ads and infinetely loading ad-tech JS files.