set: new version for chrome, add getBattery

This commit is contained in:
Andrei O 2022-03-29 04:37:45 +03:00
parent baa7aaea31
commit 1dcc7cdd60
No known key found for this signature in database
GPG Key ID: B961E5B68389457E
2 changed files with 3 additions and 2 deletions

View File

@ -17,6 +17,7 @@ const primitivesNav = {
geolocation: window.navigator.geolocation, geolocation: window.navigator.geolocation,
onLine: window.navigator.onLine, onLine: window.navigator.onLine,
sendBeacon: window.navigator.sendBeacon.bind(window.navigator), sendBeacon: window.navigator.sendBeacon.bind(window.navigator),
getBattery: window.navigator.getBattery.bind(window.navigator),
}; };
for (let prop in window.navigator) { for (let prop in window.navigator) {

View File

@ -3,8 +3,8 @@
"name": "__MSG_appName__", "name": "__MSG_appName__",
"description": "__MSG_appDesc__", "description": "__MSG_appDesc__",
"default_locale": "en", "default_locale": "en",
"version": "1.0.0", "version": "1.1.0",
"version_name": "1.0.0", "version_name": "1.1.0",
"permissions": [], "permissions": [],
"content_scripts": [ "content_scripts": [
{ {