{"id":18652971,"url":"https://github.com/chromeos/kiosk-mode-ext","last_synced_at":"2025-11-05T15:30:32.557Z","repository":{"id":68372033,"uuid":"462868420","full_name":"chromeos/kiosk-mode-ext","owner":"chromeos","description":null,"archived":false,"fork":false,"pushed_at":"2022-03-24T18:34:24.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-12-27T13:46:36.688Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chromeos.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-02-23T18:58:50.000Z","updated_at":"2022-03-24T18:40:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"1ee26ba6-6dca-4a5a-b230-427e428cf40e","html_url":"https://github.com/chromeos/kiosk-mode-ext","commit_stats":{"total_commits":10,"total_committers":3,"mean_commits":"3.3333333333333335","dds":"0.30000000000000004","last_synced_commit":"af07364fd3f944d88bd2682e2ae7005df8c836d2"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chromeos%2Fkiosk-mode-ext","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chromeos%2Fkiosk-mode-ext/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chromeos%2Fkiosk-mode-ext/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chromeos%2Fkiosk-mode-ext/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chromeos","download_url":"https://codeload.github.com/chromeos/kiosk-mode-ext/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239466389,"owners_count":19643580,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T07:09:37.672Z","updated_at":"2025-11-05T15:30:32.520Z","avatar_url":"https://github.com/chromeos.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Kiosk Mode Extension Sample\n\n## What is this?\n\nThis is a sample demonstrating calling kiosk APIs from an extension in kiosk mode.\n\n## Explanation of Files\n\n### background.js\n\n`background.js` handles receiving calls from external websites listed in the `externally_connectable` key of the `manifest.json` file. When receiving a message, the extension then calls specific APIs that are not normally exposed on the webpage or not available to be called from a webpage, such as [restart](https://developer.chrome.com/docs/extensions/reference/runtime/#method-restart) which is only available to kiosk applications.\n\n### manifest.json\n\nThe `manifest.json` file describes the extension and provides key metadata about the extension. One important thing to note here is the `externally_connectable` field in the manifest. This field allows websites from that wildcard location `*://chromeos.dev/*` to call the extension. We have a [sample PWA](https://chromeos.dev/) deployed to that URL currently for users that are interested in testing the extension with a PWA.\n\nNote that you will need to replace these 2 fields in the manifest.json file accordingly to match your self hosted extension information:\n- key\n- version\n### manifest.xml\n\nThis is for self hosting the extension you want to test your PWA with. For more information on self hosting, the Chrome Enterprise Team has written [this document](https://docs.google.com/document/d/1pT0ZSbGdrbGvuCsVD2jjxrw-GVz-80rMS2dgkkquhTY/edit#heading=h.3cujn7pq4oul) which goes over in great detail self hosting extensions and accessing them within your organization.\n\nNote that you will need to replace these 3 fields in the manifest.xml file accordingly to match your self hosted extension information:\n- appid\n- codebase\n- version\n\n## Extra documentation\n\n* [Sending messages from web pages](https://developer.chrome.com/docs/extensions/mv3/messaging/#external-webpage)\n* [Managing extensions in your enterprise](https://docs.google.com/document/d/1pT0ZSbGdrbGvuCsVD2jjxrw-GVz-80rMS2dgkkquhTY/edit#)\n* [Chrome Extensions](https://developer.chrome.com/docs/extensions/mv3/)\n\u003c!-- TODO(@nohe427): add Chrome OS documentation when available --\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchromeos%2Fkiosk-mode-ext","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchromeos%2Fkiosk-mode-ext","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchromeos%2Fkiosk-mode-ext/lists"}