Files
chrome-extensions-samples/apps/samples/diff/README.md
MichaelDimmitt 3c82896d8f Fix image in all sample readmes (#529)
* fix images in readme

* fix all sample readmes by pointing all images to correct apps location
2021-02-25 09:49:17 +11:00

21 lines
1.1 KiB
Markdown

<a target="_blank" href="https://chrome.google.com/webstore/detail/neifiophhpiohjlhiohlhlekkfokcepk">![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store")</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
![screenshot](/apps/samples/diff/assets/screenshot_1280_800.png)