Hacker News new | ask | show | jobs
by threeseed 3301 days ago
Yes because ordinary users never, ever opt in to things they shouldn't. And because of that one opt-in mistake suddenly they have invisible service workers mining Bitcoins which they could never learn about since the discovery mechanism for service workers is currently non-existent.

Again, the concept of background tasks isn't necessarily a bad thing. But it needs to be locked down to specific use cases not a free for all allowing arbitrary JS to be executed.

1 comments

So limit the amount of CPU/bw/etc. they can use, just like mobile platforms do for background apps?
Installing an app is a higher bar than tapping the "get out of my way" button on a modal dialog that some website just shoved in your face.
Oh good. It can only burn 10% of my battery and bandwidth to make someone else rich. That's fair.