On Tuesday, November 29, 2016 at 4:17:21 PM UTC+1, Boris Zbarsky wrote:
> On 11/29/16 2:36 AM, JP de Vries wrote:
> > Here's a real world use case:
> > https://github.com/jpdevries/mab-recommendations/blob/low-battery/proposed/low-battery.md#-responding-to-battery-levels
> 
> This is the theoretical use case, yes.  Is anyone actually doing this in 
> practice, though?  The link is to a recommendation document saying that 
> people _should_ do this...
> 
> > I understand the privacy concerns, but why can't these be handled similar 
> > to the Geolocation API? Ask permission to use / user opts in.
> 
> Because prompting users is generally an antipattern.  If, as a user, you 
> got a battery API prompt on every single page (because the trackers on 
> it were trying to use it), what would be your reaction?
> 
> -Boris

> Is anyone actually doing this in 
practice, though?

I'm not sure.

> Because prompting users is generally an antipattern. If, as a user, you 
got a battery API prompt on every single page (because the trackers on 
it were trying to use it), what would be your reaction?

That would be super annoying. I was thinking more of a click Respond to Battery 
Levels button then approve pattern.
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to