aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/settings.html
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-10-15 19:22:30 -0400
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-10-15 19:22:30 -0400
commit099909287f23bbc9e2deee2e4cd8cf9b17c88618 (patch)
tree85871790a70eadfffd51a39ffc3cfc170c483d23 /ext/bg/settings.html
parent4443ad370e00db06334305e6223c3432c33ac992 (diff)
Show warning messages if persistant storage fails
Only Firefox seems to support persistent storage properly.
Diffstat (limited to 'ext/bg/settings.html')
-rw-r--r--ext/bg/settings.html12
1 files changed, 11 insertions, 1 deletions
diff --git a/ext/bg/settings.html b/ext/bg/settings.html
index 0eb8277d..41b94583 100644
--- a/ext/bg/settings.html
+++ b/ext/bg/settings.html
@@ -489,8 +489,18 @@
<div>
<button class="btn btn-default" id="storage-refresh"><span class="btn-inner-middle">Refresh</span></button>
- <button class="btn btn-default storage-hidden ignore-form-changes" id="storage-persist-button"><span class="storage-persist-button-inner"><input type="checkbox" class="btn-inner-middle" id="storage-persist-button-checkbox" readonly /><span class="btn-inner-middle">Persistent Storage</span></span></button>
+ <button class="btn btn-default storage-hidden ignore-form-changes" id="storage-persist-button"><span class="storage-button-inner"><input type="checkbox" class="btn-inner-middle storage-button-checkbox" id="storage-persist-button-checkbox" readonly /><span class="btn-inner-middle">Persistent Storage</span></span></button>
</div>
+
+ <p></p>
+
+ <div data-show-for-browser="firefox-mobile"><div class="alert alert-warning storage-persist-fail-warning storage-hidden">
+ <p>It may not be possible to enable Persistent Storage on Firefox for Android.</p>
+ </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>
+ </div></div>
</div>
<div>