News for hackers. Stuff that matters.
Re:This Month in Ladybird - April 2026 by geophph on Saturday May 02, 2026 @06:02PM (#47991015)
> strava.com : Login works now that Navigator.getBattery throws the spec-mandated error type instead of one of our own (#8770).

what’s Strava want with my battery level?

Re:This Month in Ladybird - April 2026 by yurishimo on Saturday May 02, 2026 @06:09PM (#47991080)
Maybe it uses some that battery API as a heuristic for a lower-power version of the site? Or maybe they have a web-only version in developing markets? Low battery means it should query for your location less often to save battery?

Totally spitballing here. Strava being a website that requests battery does not seem wildly outlandish to me, albeit it is a bit suspicious in general.

Re:This Month in Ladybird - April 2026 by einpoklum on Saturday May 02, 2026 @06:18PM (#47991146)
> it uses some that battery API as a heuristic for a lower-power version of the site?

As a naive user I would expect websites to not be able to receive information about my battery state. With that information they can track my mobile phone usage pattern, and with some cross-referencing gain even more specific private information.

Re:This Month in Ladybird - April 2026 by lukan on Saturday May 02, 2026 @06:37PM (#47991288)
I think it is great that the API exists, but it is not great, that no permission from the user is needed to access it.
Re:This Month in Ladybird - April 2026 by charcircuit on Saturday May 02, 2026 @06:55PM (#47991428)
Bots trying to brute force accounts may not have the API implemented like a real device may.
Re:This Month in Ladybird - April 2026 by fooqux on Saturday May 02, 2026 @09:42PM (#47992485)
Sure, and my desktop computer just reports 100% battery level? Which can't be easily replicated by a static header in the bot?

This would be a silly thing to use to identify bots.

Re:This Month in Ladybird - April 2026 by charcircuit on Saturday May 02, 2026 @10:01PM (#47992590)
It's not silly if it works.
Re:This Month in Ladybird - April 2026 by NBPEL on Saturday May 02, 2026 @09:38PM (#47992447)
Most likely for generating unique fingerprint for tracking
Re:This Month in Ladybird - April 2026 by nonameiguess on Sunday May 03, 2026 @06:00AM (#47995331)
Strava's a route tracker. Assuming you can use it through the website, it probably controls how often it polls location, trading off accuracy for power consumption.