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 --- ext/bg/permissions.html | 31 +++++++++++++++++++------------ 1 file changed, 19 insertions(+), 12 deletions(-) (limited to 'ext/bg/permissions.html') diff --git a/ext/bg/permissions.html b/ext/bg/permissions.html index 57b4b215..45c65a65 100644 --- a/ext/bg/permissions.html +++ b/ext/bg/permissions.html @@ -84,17 +84,6 @@ -
-
-
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. - The installation of this component is optional and is not included by default. -
-
-
clipboardWrite
@@ -115,7 +104,21 @@
- + +
+
+
+
+
nativeMessaging (optional)
+
+ Yomichan has the ability to communicate with an optional native messaging component in order to support + parsing large blocks of Japanese text using + MeCab. + The installation of this component is optional and is not included by default. +
+
+
+
@@ -164,6 +167,10 @@ + + + + -- cgit v1.2.3