mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-06 19:47:04 +03:00
Added config option for query by hash prefix
This commit is contained in:
@@ -202,6 +202,12 @@
|
|||||||
"whatViewTracking": {
|
"whatViewTracking": {
|
||||||
"message": "This feature tracks which segments you have skipped to let users know how much their submission has helped others and used as a metric along with upvotes to ensure that spam doesn't get into the database. The extension sends a message to the server each time you skip a segment. Hopefully most people don't change this setting so that the view numbers are accurate. :)"
|
"message": "This feature tracks which segments you have skipped to let users know how much their submission has helped others and used as a metric along with upvotes to ensure that spam doesn't get into the database. The extension sends a message to the server each time you skip a segment. Hopefully most people don't change this setting so that the view numbers are accurate. :)"
|
||||||
},
|
},
|
||||||
|
"enableQueryByHashPrefix": {
|
||||||
|
"message": "Query By Hash Prefix"
|
||||||
|
},
|
||||||
|
"whatQueryByHashPrefix": {
|
||||||
|
"message": "Instead of requesting segments from the server using the videoID, the first 4 characters of the hash of the videoID are sent. This server will send back data for all videos with similar hashes."
|
||||||
|
},
|
||||||
"showNotice": {
|
"showNotice": {
|
||||||
"message": "Show Notice Again"
|
"message": "Show Notice Again"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -305,6 +305,23 @@
|
|||||||
<br/>
|
<br/>
|
||||||
<br/>
|
<br/>
|
||||||
|
|
||||||
|
<div option-type="toggle" sync-option="hashPrefix">
|
||||||
|
<label class="switch-container" label-name="__MSG_enableQueryByHashPrefix__">
|
||||||
|
<label class="switch">
|
||||||
|
<input type="checkbox" checked>
|
||||||
|
<span class="slider round"></span>
|
||||||
|
</label>
|
||||||
|
</label>
|
||||||
|
|
||||||
|
<br/>
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<div class="small-description">__MSG_whatQueryByHashPrefix__</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<br/>
|
||||||
|
<br/>
|
||||||
|
|
||||||
<div option-type="toggle" sync-option="checkForUnlistedVideos">
|
<div option-type="toggle" sync-option="checkForUnlistedVideos">
|
||||||
<label class="switch-container" label-name="__MSG_unlistedCheck__">
|
<label class="switch-container" label-name="__MSG_unlistedCheck__">
|
||||||
<label class="switch">
|
<label class="switch">
|
||||||
|
|||||||
Reference in New Issue
Block a user