Merge pull request #256 from toasted-nutbread/unlimited-storage

Add unlimited storage permission
This commit is contained in:
Alex Yatskov 2019-10-19 12:01:54 -07:00 committed by GitHub
commit 03c72e9429
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 2 deletions

View File

@ -499,7 +499,11 @@
</div></div> </div></div>
<div data-show-for-browser="chrome"><div class="alert alert-warning storage-persist-fail-warning storage-hidden"> <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></div>
</div> </div>

View File

@ -41,7 +41,8 @@
"permissions": [ "permissions": [
"<all_urls>", "<all_urls>",
"storage", "storage",
"clipboardWrite" "clipboardWrite",
"unlimitedStorage"
], ],
"commands": { "commands": {
"toggle": { "toggle": {