Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add contextMenus permission #1202

Merged
merged 1 commit into from
Jul 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions docs/permissions.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
Yomitan needs to inject content scripts and stylesheets into webpages in order to
properly display the search popup.

- `contextMenus` <br>
Yomitan adds a context menu interface that lets you look up highlighted words.

- `offscreen` _(Chrome 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
Expand Down
8 changes: 8 additions & 0 deletions ext/permissions.html
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,14 @@ <h2 id="permissions"></h2>
</div>
</div>
</div></div>
<div class="settings-item"><div class="settings-item-inner">
<div class="settings-item-left">
<div class="settings-item-label"><code>contextMenus</code></div>
<div class="settings-item-description">
Yomitan adds a context menu interface that lets you look up highlighted words.
</div>
</div>
</div></div>
<div class="settings-item"><div class="settings-item-inner">
<div class="settings-item-left">
<div class="settings-item-label"><code>clipboardWrite</code></div>
Expand Down