summaryrefslogtreecommitdiff
path: root/docs/permissions.md
diff options
context:
space:
mode:
authormarv <rotrobmin@gmail.com>2024-02-02 20:44:14 -0800
committerGitHub <noreply@github.com>2024-02-03 04:44:14 +0000
commit97c5c741137ecc363630c58797901f1eb829c1bb (patch)
tree050bd42fc633d728d1687d51db93714efabbfe81 /docs/permissions.md
parente598a97f27747bef0f850dcce2ad7bdeab89e0cd (diff)
Add Prettier Formatting for Markdown Files and Pre-Commit Hook (#543)
* Install prettier, add prettierignore * Add precommit hook for md * Prettier format md files
Diffstat (limited to 'docs/permissions.md')
-rw-r--r--docs/permissions.md16
1 files changed, 8 insertions, 8 deletions
diff --git a/docs/permissions.md b/docs/permissions.md
index 92d5e06f..d20d25f9 100644
--- a/docs/permissions.md
+++ b/docs/permissions.md
@@ -1,39 +1,39 @@
# Yomitan Permissions
-* `<all_urls>` <br>
+- `<all_urls>` <br>
Yomitan requires access to all URLs in order to run scripts to scan text and show the definitions popup,
request audio for playback and download, and connect with Anki.
-* `storage` and `unlimitedStorage` <br>
+- `storage` and `unlimitedStorage` <br>
Yomitan uses storage permissions in order to save extension settings and dictionary data.
`unlimitedStorage` is used to help prevent web browsers from unexpectedly
deleting dictionary data.
-* `declarativeNetRequest` <br>
+- `declarativeNetRequest` <br>
Yomitan uses this permission to ensure certain requests have valid and secure headers.
This sometimes involves removing or changing the `Origin` request header,
as this can be used to fingerprint browser configuration.
-* `scripting` <br>
+- `scripting` <br>
Yomitan needs to inject content scripts and stylesheets into webpages in order to
properly display the search popup.
-* `offscreen` _(Chrome only)_ <br>
+- `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
actions that require access to DOM APIs, such as any that require clipboard access.
-* `clipboardWrite` <br>
+- `clipboardWrite` <br>
Yomitan supports simulating the `Ctrl+C` (copy to clipboard) keyboard shortcut
when a definitions popup is open and focused.
-* `clipboardRead` _(optional)_ <br>
+- `clipboardRead` _(optional)_ <br>
Yomitan supports automatically opening a search window when Japanese text is copied to the clipboard
while the browser is running, depending on how certain settings are configured.
This allows Yomitan to support scanning text from external applications, provided there is a way
to copy text from those applications to the clipboard.
-* `nativeMessaging` _(optional, unavailable on Firefox for Android)_ <br>
+- `nativeMessaging` _(optional, unavailable on Firefox for Android)_ <br>
Yomitan has the ability to communicate with an optional native messaging component in order to support
parsing large blocks of Japanese text using
[MeCab](https://en.wikipedia.org/wiki/MeCab).