- Inject Send to Tablet into the bookings_checkin page's top/bottom context menus (left of Confirm Check-In) and a dedicated banner above the tabs - Popup now auto-pushes to the default tablet instead of just pre-selecting it, with a terminal-key-authed reset route so reception can clear a stuck-busy tablet from the extension popup - Replace the extension icon with a person+checkmark glyph matching the app's own UserCheck icon and accent colour Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
44 lines
1.1 KiB
JSON
44 lines
1.1 KiB
JSON
{
|
|
"manifest_version": 3,
|
|
"name": "Send to Check-In Tablet",
|
|
"version": "0.1.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"
|
|
}
|
|
}
|