Yandex Browser Blog

December 2016
Beware Evil APIs
7 December 2016, 16:01

Sometimes web standards are used for purposes other than those for which they were created. One example is the innocuous-seeming Battery Status API, which was intended to help users save power on their devices by allowing web sites to check a device’s battery level and switch to energy-saving mode when charge is low. Another use has been found, and it’s setting off alarm bells.