aboutsummaryrefslogtreecommitdiffhomepage
path: root/public
diff options
context:
space:
mode:
authorAjay <[email protected]>2023-12-23 13:16:19 -0500
committerAjay <[email protected]>2023-12-23 13:16:19 -0500
commit8e366b1450f464f6c1046d0644d8d0a16bf2aeb3 (patch)
tree3a32d1856f9979823c427281d046cbccedb90eaf /public
parent58d503636324b29269957410e060571e387c24b9 (diff)
downloadSponsorBlock-8e366b1450f464f6c1046d0644d8d0a16bf2aeb3.tar.gz
SponsorBlock-8e366b1450f464f6c1046d0644d8d0a16bf2aeb3.zip
Move unsubmitted segments to local storage to remove limits
Also add a way to export local storage Fixes #1933
Diffstat (limited to 'public')
m---------public/_locales0
-rw-r--r--public/options/options.html25
2 files changed, 25 insertions, 0 deletions
diff --git a/public/_locales b/public/_locales
-Subproject 0c9f99989481a29522dcd338e821295f15eeb13
+Subproject 7f2d4e63dc53facfeed96aae1086c2bc3329b51
diff --git a/public/options/options.html b/public/options/options.html
index 545b0fdc..01a3b345 100644
--- a/public/options/options.html
+++ b/public/options/options.html
@@ -512,6 +512,31 @@
</div>
</div>
+ <div data-type="private-text-change" data-sync-type="local" data-sync="*" data-confirm-message="exportOptionsWarning">
+ <h2>__MSG_exportOtherData__</h2>
+
+ <div>
+ <div class="option-button trigger-button inline">
+ __MSG_exportOptionsCopy__
+ </div>
+ <div class="option-button download-button inline">
+ __MSG_exportOptionsDownload__
+ </div>
+ <label for="importLocalOptions" class="option-button inline">
+ __MSG_exportOptionsUpload__
+ </label>
+ <input id="importLocalOptions" type="file" class="upload-button hidden" />
+ </div>
+
+ <div class="option-hidden-section hidden spacing indent">
+ <textarea class="option-text-box" rows="10" style="width:80%"></textarea>
+
+ <div class="option-button text-change-set">
+ __MSG_setOptions__
+ </div>
+ </div>
+ </div>
+
<div data-type="button-press" data-sync="resetToDefault" data-confirm-message="confirmResetToDefault">
<div class="option-button trigger-button">
__MSG_resetToDefault__