From 7677bd6775cb065f5bf1038b0469eccecd3ffe1b Mon Sep 17 00:00:00 2001 From: Khai Truong Date: Thu, 11 Jul 2024 22:53:27 +0700 Subject: [PATCH] Add contextMenus permission --- docs/permissions.md | 3 +++ ext/permissions.html | 8 ++++++++ 2 files changed, 11 insertions(+) diff --git a/docs/permissions.md b/docs/permissions.md index d20d25f97d..342866ff4f 100644 --- a/docs/permissions.md +++ b/docs/permissions.md @@ -18,6 +18,9 @@ Yomitan needs to inject content scripts and stylesheets into webpages in order to properly display the search popup. +- `contextMenus`
+ Yomitan adds a context menu interface that lets you look up highlighted words. + - `offscreen` _(Chrome only)_
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 diff --git a/ext/permissions.html b/ext/permissions.html index e8449e25a4..6ce73d5037 100644 --- a/ext/permissions.html +++ b/ext/permissions.html @@ -72,6 +72,14 @@

+
+
+
contextMenus
+
+ Yomitan adds a context menu interface that lets you look up highlighted words. +
+
+
clipboardWrite