mirror of
https://github.com/GoogleChrome/chrome-extensions-samples.git
synced 2026-03-28 13:39:44 +07:00
* fix images in readme * fix all sample readmes by pointing all images to correct apps location
21 lines
1.1 KiB
Markdown
21 lines
1.1 KiB
Markdown
<a target="_blank" href="https://chrome.google.com/webstore/detail/neifiophhpiohjlhiohlhlekkfokcepk"></a>
|
|
|
|
|
|
# Diff
|
|
|
|
A non-trivial application to diff two files choosen by the user. This app shows how you can open for reading and for writing files in the user's computer, as long as the file was explicitly selected by the user. It uses the Filesystem API, which is an extension of the HTML5 Filesystem API.
|
|
|
|
## Try it: [Diff Tool Sample](https://chrome.google.com/webstore/detail/diff-tool/knammbkafbpckgibgjilgpcnpacmecme)
|
|
|
|
## APIs
|
|
|
|
* [Local Storage API](http://developer.chrome.com/apps/storage.html) to save history of selected files
|
|
* [Filesystem API](http://developer.chrome.com/apps/app_storage.html) to allow the user to pick arbitrary files from the disk and save them back.
|
|
* [Runtime](http://developer.chrome.com/apps/app.runtime.html)
|
|
* [Window](http://developer.chrome.com/apps/app.window.html)
|
|
|
|
|
|
## Screenshot
|
|

|
|
|