summaryrefslogtreecommitdiff
path: root/docs/permissions.md
diff options
context:
space:
mode:
authorDarius Jahandarie <djahandarie@gmail.com>2023-10-22 06:41:56 +0000
committerGitHub <noreply@github.com>2023-10-22 06:41:56 +0000
commit264bfe8c64e78016551f35df497eb6cd65f2965d (patch)
tree73ec5415972a7e6cdf0b213b0896344ad0a194b2 /docs/permissions.md
parentaaa570a89ce4b285b42f26258de24b1bde4a76c3 (diff)
parent379fdcf2280939c72e1be4e4f38567149a108873 (diff)
Merge pull request #278 from jbukl/offscreen-clipboard
Fix chromium clipboard access
Diffstat (limited to 'docs/permissions.md')
-rw-r--r--docs/permissions.md5
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.