The JavaScript client library does not support local pages and the file://
protocol. The application must be hosted on a server (can be localhost).
Chrome Extensions using Manifest v3 do not allow remotely hosted code, so the Javascript client library cannot be used in this case.