Popup footer shows its own installed version (from manifest.json, via chrome.runtime.getManifest()); Terminals page shows the latest bundled version next to the download link (new GET /api/extension/version, reads the same manifest.json). Bumped manifest.json to 0.2.0 for the Today's Arrivals change, and documented in extension-src/README.md that every future change to this folder must bump the version too — nothing else keeps it in sync automatically.
44 lines
1.1 KiB
JSON
44 lines
1.1 KiB
JSON
{
|
|
"manifest_version": 3,
|
|
"name": "Send to Check-In Tablet",
|
|
"version": "0.2.0",
|
|
"description": "Pushes the currently open NewBook booking to a check-in tablet — standalone from NewBook Assistant, see project_checkin memory.",
|
|
|
|
"permissions": ["cookies", "storage", "activeTab", "webNavigation"],
|
|
|
|
"host_permissions": [
|
|
"https://appeu.newbook.cloud/*",
|
|
"https://login.newbook.cloud/*"
|
|
],
|
|
|
|
"optional_host_permissions": ["http://*/*", "https://*/*"],
|
|
|
|
"background": {
|
|
"service_worker": "background.js"
|
|
},
|
|
|
|
"content_scripts": [
|
|
{
|
|
"matches": [
|
|
"https://appeu.newbook.cloud/bookings_lists_checkin*",
|
|
"https://appeu.newbook.cloud/bookings_view/*",
|
|
"https://appeu.newbook.cloud/bookings_checkin/*"
|
|
],
|
|
"js": ["content-script.js"],
|
|
"run_at": "document_idle"
|
|
}
|
|
],
|
|
|
|
"action": {
|
|
"default_popup": "popup/popup.html",
|
|
"default_title": "Send to Check-In Tablet"
|
|
},
|
|
|
|
"options_page": "options/options.html",
|
|
|
|
"icons": {
|
|
"16": "icons/icon16.png",
|
|
"48": "icons/icon48.png",
|
|
"128": "icons/icon128.png"
|
|
}
|
|
}
|