Skip to content

Commit 8c95515

Browse files
committed
Add clarification for Chrome Extensions Manifest v3
GAPI is not supported for Chrome Extensions with Manifest v3 due to the no remotely hosted code requirement. Updated docs to reflect this
1 parent e296cd6 commit 8c95515

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

docs/faq.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,8 @@ The JavaScript client library does not directly support logging the user out of
2929
Since logging out of the application also logs the user out of the Google account, it is not recommended to log the user out unless the user requests this explicitly.
3030

3131
For a workaround that allows your application to log the user out programatically, see [this topic](https://groups.google.com/forum/?fromgroups=#!topic/google-api-javascript-client/PCs8xXV4wxk) in the JavaScript client library discussion group.
32+
33+
34+
### Is it possible to use the JavaScript client library in a Chrome Extension?
35+
36+
Chrome Extensions using Manifest v3 do not allow [remotely hosted code](https://developer.chrome.com/docs/extensions/mv3/intro/mv3-overview/#remotely-hosted-code), so the Javascript client library cannot be used in this case.

docs/start.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,8 @@ Google APIs support [CORS](http://www.w3.org/TR/cors/). If your application need
8585

8686
The JavaScript client library works with the same browsers supported by [Google Apps](https://support.google.com/a/answer/33864) except that mobile browsers are currently not fully supported. It only works within HTML documents with a `` element served using the `https` _(preferred)_ and `http` protocols. However, `