This page is part of the documentation for the Chrome Apps platform, which was deprecated in 2020. Chrome Apps in Kiosk Mode used by Enterprise and Education customers will no longer be supported after April 2027, marking their end of life. Additionally, all remaining Chrome Apps used in managed environments by Enterprise and Education organizations will reach their end of life in October 2028. Learn more about migrating your app.

Disabled Web Features

Though Chrome Apps use the web platform, some web features have been disabled or else are used in a different way. Mainly this is to avoid security issues and to improve programming practices. Below is a summary of the disabled features of the web platform and potential work-arounds:

DisabledWork-around
alertUse a custom lightbox/popup.
Browser chrome APIsN/A.
confirmUse a custom lightbox/popup.
document.cookiePackaged app pages are not rendered on the server, so there is no need to use these.
document.closeN/A.
document.openN/A.
document.writeUse document.createElement.
External resourcesUse the webview tag for iframes. See Embed Content and Webview Tag API. Video and audio are allowed to have non-local URLs.
FlashUse HTML5 Platform.
Form submissionUse JavaScript to process form content (listen for submit event, process data locally first before sending to server).
javascript: urlsYou cannot use bookmarklets for inline javascript on anchors. Use the traditional click handler instead.
localStorageUse IndexedDB or the Storage API (which also syncs to the cloud).
NavigationLinks open up with the system web browser. window.history and window.location are disabled.
Non-sandboxed pluginsN/A.
showModalDialogUse a custom lightbox/popup.
Synchronous XMLHttpRequestUse async-only XMLHttpRequest: Getting Rid of Synchrounous XXRs.
User Text selectionBy default, users can no longer select text like they can on a web page. To make areas of the app's text selectable, apply the CSS style, -webkit-user-select: text;.
webSqlUse IndexedDB or Filesystem API.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2026年07月03日 UTC.