mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2026-04-02 02:58:17 +03:00
import/export settings to file
This commit is contained in:
@@ -460,6 +460,15 @@
|
||||
"exportOptions": {
|
||||
"message": "Import/Export All Options"
|
||||
},
|
||||
"exportOptionsCopy": {
|
||||
"message": "Edit/copy"
|
||||
},
|
||||
"exportOptionsDownload": {
|
||||
"message": "Save to file"
|
||||
},
|
||||
"exportOptionsUpload": {
|
||||
"message": "Load from file"
|
||||
},
|
||||
"whatExportOptions": {
|
||||
"message": "This is your entire configuration in JSON. This includes your userID, so be sure to share this wisely."
|
||||
},
|
||||
|
||||
@@ -355,8 +355,19 @@
|
||||
</div>
|
||||
|
||||
<div data-type="private-text-change" data-sync="*" data-confirm-message="exportOptionsWarning">
|
||||
<div class="option-button trigger-button">
|
||||
__MSG_exportOptions__
|
||||
<h2>__MSG_exportOptions__</h2>
|
||||
|
||||
<div>
|
||||
<div class="option-button trigger-button inline">
|
||||
__MSG_exportOptionsCopy__
|
||||
</div>
|
||||
<div class="option-button download-button inline">
|
||||
__MSG_exportOptionsDownload__
|
||||
</div>
|
||||
<label for="importOptions" class="option-button inline">
|
||||
__MSG_exportOptionsUpload__
|
||||
</label>
|
||||
<input id="importOptions" type="file" class="upload-button hidden" />
|
||||
</div>
|
||||
|
||||
<div class="small-description">__MSG_whatExportOptions__</div>
|
||||
|
||||
Reference in New Issue
Block a user