热爱。 发表于 2021-1-13 11:49:50

火狐navigator.battery获取不到电池信息.

火狐84.0.2版本, 操作系统win10, 之前可以获取, 获取电池信息, 最近获取不到了, 一直为null , 尝试了多种方法, 还是不行,
在chrom上可以获取到.

data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAXgAAADeCAYAAAA3rxvhAAAgAElEQVR4nO2dzW8bR5qHeclNRv4H32eOwfKgDKJcZnz2PyAFaVhxPBfa98xiNvCCyNBeUfDsHhTAysxAEZyx7IiKaY0QK8ohA6wQCQoIg5YBW4BDrmSbIDbRYBbGbw/sj6rqevtDaoqt9u8BXtgsdldXfz39dlWzVQIhhJBCUhp1AwghhAwHCp6QE+bJ/BT+9Zvk5YQcFVHw/X4fU1NTWF5ejizLFZ0+ytU+2lnMc5S6TjWHWCu38FG5i+5xqml3UT9uHRL7NYzP1fAoi3mOUldG5Evwp2C/p0Xctw1MVx2sWGdq4/pcCW+Y82V1nIzoOIzM4CcnJzE+Pq4J3VaWGyj40UPBx5IvwWfEqRd8irr2axivlvCGF0uNo7dplILv9/shodvKkvKPWgNPay8tn1/ieXkBuyU3nCfuFE/wY3kb/VrD/W4D/agFdPooV1/CqXZQutxByRf0P1Hzyi53UJr/GQDQmFfK3HC25XIAwPZLv6zc/Kdb+DOcah+N5r773Us0ALSb+/6y4H4O5smAdhd1pzvIwEpqFnYYlJVa+MjpAQC6tV3Ua4f+7MFnZXp3WnUavx7/e3v9O05Ln7bUwkLDUo+/jB4Wyl3s+N/tYSdqffdrGJ9zMD3nnlj+ieFmX8YJt7KklLkx3ZLLAQAtxy8b3/Au7w1Mz9WwslF2vxtI4tFGWTu5H22UlXlkji3412y/ryyVcX1fLRnsj0eAfX+Jx4kieFfSg3mU40fZn+Jxokm5jetzXvvydxzG9sFnKvn2Np6Wt/EPAAOpN/A8dD6o5U/wY2nBvyiYF4gQnT7Kiowb84qYff6JWnUftY4yT9IMvtNHWRF2Y96r52c4ivADkQ/EH1xkBuLPjHYXdf9kOsRaeRdroR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ZzMzM4osvblsjVZdNlOArXtatCFqb3ihXRO3Vo8u3gkplHloivzUfFry0XEv9YnsIISSHJBb8rVt/tUZmgreUd5pVow/dnV7Jrr0IfBwhXpvgbe0R6hfbQwghOSRxF83q6t+Ov7QMBV8VzZqN4G31U/CEkNPE/wPlZUvUZjM1OwAAAABJRU5ErkJggg==



xuyuehang 发表于 2021-1-14 14:48:52

https://developer.mozilla.org/zh-CN/docs/Web/API/Navigator/battery
显示已废弃
页: [1]
查看完整版本: 火狐navigator.battery获取不到电池信息.