diff options
author | jbukl <noreply@github.com> | 2023-10-21 12:33:51 -0400 |
---|---|---|
committer | jbukl <noreply@github.com> | 2023-10-21 13:42:52 -0400 |
commit | 379fdcf2280939c72e1be4e4f38567149a108873 (patch) | |
tree | 73bd72e5d30813b699e4dcea0a2efa5a4e7abc8a /docs/permissions.md | |
parent | e39d18aaf1b8541adf927ded6c12ac4f24972759 (diff) |
fix: clipboard getImage, review comments
implement getImage for offscreen requests
move offscreen files, offscreen prep is done in sw prep
update permissions document for offscreen
rearrange permissions
Diffstat (limited to 'docs/permissions.md')
-rw-r--r-- | docs/permissions.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/permissions.md b/docs/permissions.md index b337bb31..4fa7ab83 100644 --- a/docs/permissions.md +++ b/docs/permissions.md @@ -23,6 +23,11 @@ Yomichan will sometimes need to inject stylesheets into webpages in order to properly display the search popup. +* `offscreen` __(Manifest v3 only)_ <br> + Yomitan uses this permission to create a secondary backend document that has DOM access, given that Manifest v3 + service workers do not. Service workers can then reach out to out to this document in order to complete + actions that require access to DOM APIs, such as any that require clipboard access. + * `clipboardWrite` <br> Yomichan supports simulating the `Ctrl+C` (copy to clipboard) keyboard shortcut when a definitions popup is open and focused. |