diff options
author | Ajay <[email protected]> | 2023-12-23 13:16:19 -0500 |
---|---|---|
committer | Ajay <[email protected]> | 2023-12-23 13:16:19 -0500 |
commit | 8e366b1450f464f6c1046d0644d8d0a16bf2aeb3 (patch) | |
tree | 3a32d1856f9979823c427281d046cbccedb90eaf /public/options | |
parent | 58d503636324b29269957410e060571e387c24b9 (diff) | |
download | SponsorBlock-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/options')
-rw-r--r-- | public/options/options.html | 25 |
1 files changed, 25 insertions, 0 deletions
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__ |