OLD | NEW |
1 <h1>Disabled Web Features</h1> | 1 <h1>Disabled Web Features</h1> |
2 <!-- --> | 2 <!-- --> |
3 | 3 |
4 <p> | 4 <p> |
5 Though Chrome Apps use the web platform, | 5 Though Chrome Apps use the web platform, |
6 some web features have been disabled | 6 some web features have been disabled |
7 or else are used in a different way. | 7 or else are used in a different way. |
8 Mainly this is to avoid security issues and | 8 Mainly this is to avoid security issues and |
9 to improve programming practices. | 9 to improve programming practices. |
10 Below is a summary of the disabled features | 10 Below is a summary of the disabled features |
(...skipping 30 matching lines...) Expand all Loading... |
41 <td><code>document.open</code></td> | 41 <td><code>document.open</code></td> |
42 <td>N/A.</td> | 42 <td>N/A.</td> |
43 </tr> | 43 </tr> |
44 <tr> | 44 <tr> |
45 <td><code>document.write</code></td> | 45 <td><code>document.write</code></td> |
46 <td>Use document.createElement.</td> | 46 <td>Use document.createElement.</td> |
47 </tr> | 47 </tr> |
48 <tr> | 48 <tr> |
49 <td>External resources</td> | 49 <td>External resources</td> |
50 <td>Use the <code>webview</code> tag for iframes. | 50 <td>Use the <code>webview</code> tag for iframes. |
51 See <a href="app_external.html">Embed Content</a> | 51 See <a href="app_external">Embed Content</a> |
52 and <a href="webview_tag.html">Webview Tag API</a>. | 52 and <a href="webview_tag">Webview Tag API</a>. |
53 Video and audio are allowed to have non-local URLs.</td> | 53 Video and audio are allowed to have non-local URLs.</td> |
54 </tr> | 54 </tr> |
55 <tr> | 55 <tr> |
56 <td>Flash</td> | 56 <td>Flash</td> |
57 <td>Use HTML5 Platform.</td> | 57 <td>Use HTML5 Platform.</td> |
58 </tr> | 58 </tr> |
59 <tr> | 59 <tr> |
60 <td>Form submission</td> | 60 <td>Form submission</td> |
61 <td>Use JavaScript to process form content | 61 <td>Use JavaScript to process form content |
62 (listen for submit event, process data locally first | 62 (listen for submit event, process data locally first |
(...skipping 30 matching lines...) Expand all Loading... |
93 <tr> | 93 <tr> |
94 <td>User Text selection</td> | 94 <td>User Text selection</td> |
95 <td>By default, | 95 <td>By default, |
96 users can no longer select text like they can on a web page. | 96 users can no longer select text like they can on a web page. |
97 To make areas of the app's text selectable, | 97 To make areas of the app's text selectable, |
98 apply the CSS style, <code>-webkit-user-select: text;</code>.</td> | 98 apply the CSS style, <code>-webkit-user-select: text;</code>.</td> |
99 </tr> | 99 </tr> |
100 <tr> | 100 <tr> |
101 <td>webSql</td> | 101 <td>webSql</td> |
102 <td>Use IndexedDB or | 102 <td>Use IndexedDB or |
103 <a href="app_storage.html">Filesystem API</a>.</td> | 103 <a href="app_storage">Filesystem API</a>.</td> |
104 </tr> | 104 </tr> |
105 </table> | 105 </table> |
106 | 106 |
107 <p class="backtotop"><a href="#top">Back to top</a></p> | 107 <p class="backtotop"><a href="#top">Back to top</a></p> |
OLD | NEW |