How pftsafety/ptw works
This appears to be a small browser-based scanning app: the file names identify home and scanner pages, while the service worker explicitly caches those pages and two QR-scanning libraries. The available evidence does not show the pages’ scanning workflow, result handling, or how the manual and PDF are presented, so those relationships are left unspecified.
Main entry points: sw.js Service worker · index.html Home page · scanner.html Scanner page · scanner-manifest.json Scanner manifest
Components 9
Scanner app
- Home page
index.html - Scanner page
scanner.html - Service worker
sw.js - Scanner manifest
scanner-manifest.json
Reference files
- User manual
user-manual.html - Record PDF
tbt-record.pdf
Other components
- User
- html5-qrcode
- jsQR
Connections 5
- Service worker → Home page: caches and refreshes
sw.js - Service worker → Scanner page: caches and refreshes
sw.js - Service worker → Scanner manifest: caches and refreshes
sw.js - Service worker → html5-qrcode: caches and refreshes
sw.js - Service worker → jsQR: caches and refreshes
sw.js