tablet-checkin/backend/extension-src/manifest.json
jtricerolph fbd1443e35 Extension: inject Send-to-Tablet next to the arrival reminder banner too
New injection point on bookings_view pages — NewBook's own 'This Booking
is due to Arrive today. Do you want to go to Check-In?' banner
(.newbook_message.plain), confirmed from a real sample 2026-09-01. Shares
the row-injection's button/panel logic rather than duplicating it;
makeSendButton/togglePanel now take a variant ('block' for the list row's
table cell, 'inline' for this banner's flowing text context). Booking ID
extraction differs per shape: the list row has a checkbox value, this
banner's Check In button only carries it inside its onclick attribute's
URL, no separate structured attribute.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-01 20:30:18 +00:00

43 lines
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/*"
],
"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"
}
}