mirror of
https://github.com/GoogleChrome/chrome-extensions-samples.git
synced 2026-03-27 13:29:34 +07:00
Google API javascript client library loader for Chrome Packaged Apps
Provides the Google API javascript client 'gapi' as appropriate for hosted websites, or if in a Chrome packaged app implement a minimal set of functionality that is Content Security Policy compliant and uses the chrome identity api.
Status
This library is likely not suitable for use without additional modifications.
Usage
To be expanded upon, but essentially:
- Add 'identity' permission to manifest.
- Reference this script instead of the apis.google.com online version.
- Call gapi methods as usual.