From 849e4fabe1dffc2851fcb338dae8400d6c8e46ca Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Mon, 8 Feb 2021 17:52:41 -0500 Subject: Native messaging optional permission (#1348) * Refactor PermissionsToggleController to not require a setting * Update nativeMessaging to be optional on Chrome * Update parsing.enableMecabParser setting to request permissions * Update permissions page to use PermissionsToggleController * Update permissions documentation * Disable toggle for permissions which are not optional --- docs/permissions.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'docs') diff --git a/docs/permissions.md b/docs/permissions.md index 49e201a6..b337bb31 100644 --- a/docs/permissions.md +++ b/docs/permissions.md @@ -23,12 +23,6 @@ Yomichan will sometimes need to inject stylesheets into webpages in order to properly display the search popup. -* `nativeMessaging`
- Yomichan 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). - The installation of this component is optional and is not included by default. - * `clipboardWrite`
Yomichan supports simulating the `Ctrl+C` (copy to clipboard) keyboard shortcut when a definitions popup is open and focused. @@ -38,3 +32,10 @@ while the browser is running, depending on how certain settings are configured. This allows Yomichan to support scanning text from external applications, provided there is a way to copy text from those applications to the clipboard. + +* `nativeMessaging` (optional on Chrome)
+ Yomichan 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). + The installation of this component is optional and is not included by default. + This permission is optional on Chrome, but required on Firefox, because Firefox does not permit it to be optional. -- cgit v1.2.3