aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-10-15 19:41:39 -0400
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-10-15 19:41:39 -0400
commit173a474d5b4df43afce53eb905b220666e36acd4 (patch)
tree8b7eab383e251588cf8febb94f2a68ed4a22d6bf
parent099909287f23bbc9e2deee2e4cd8cf9b17c88618 (diff)
Add unlimited storage permission
-rw-r--r--ext/bg/settings.html6
-rw-r--r--ext/manifest.json3
2 files changed, 7 insertions, 2 deletions
diff --git a/ext/bg/settings.html b/ext/bg/settings.html
index 41b94583..9b1c4366 100644
--- a/ext/bg/settings.html
+++ b/ext/bg/settings.html
@@ -499,7 +499,11 @@
</div></div>
<div data-show-for-browser="chrome"><div class="alert alert-warning storage-persist-fail-warning storage-hidden">
- <p>It may not be possible to enable Persistent Storage on Chrome-based browsers.</p>
+ <p>
+ It may not be possible to enable Persistent Storage on Chrome-based browsers.
+ However, the Yomichan extension has permission for unlimited storage which should
+ prevent Chrome from deleting data.<sup><a href="https://bugs.chromium.org/p/chromium/issues/detail?id=680392#c15" target="_blank" rel="noopener">[1]</a></sup>
+ </p>
</div></div>
</div>
diff --git a/ext/manifest.json b/ext/manifest.json
index 25b86023..fe2b8689 100644
--- a/ext/manifest.json
+++ b/ext/manifest.json
@@ -41,7 +41,8 @@
"permissions": [
"<all_urls>",
"storage",
- "clipboardWrite"
+ "clipboardWrite",
+ "unlimitedStorage"
],
"commands": {
"toggle": {