aboutsummaryrefslogtreecommitdiffhomepage
path: root/public
diff options
context:
space:
mode:
authorAjay Ramachandran <[email protected]>2021-06-11 18:17:40 -0400
committerAjay Ramachandran <[email protected]>2021-06-11 18:17:40 -0400
commit8cb212a77bc4cb88dcbd9e841d5397c5b6443609 (patch)
treebdb8ae94216e5fb4dd9d8e173b927367d86053e2 /public
parent29b29e3f6e817f8cce2ccc2c9177ccc2779c2ddd (diff)
downloadSponsorBlock-8cb212a77bc4cb88dcbd9e841d5397c5b6443609.tar.gz
SponsorBlock-8cb212a77bc4cb88dcbd9e841d5397c5b6443609.zip
Allow not counting time in private tabs
Closes https://github.com/ajayyy/SponsorBlock/issues/703
Diffstat (limited to 'public')
-rw-r--r--public/_locales/en/messages.json3
-rw-r--r--public/options/options.html13
2 files changed, 16 insertions, 0 deletions
diff --git a/public/_locales/en/messages.json b/public/_locales/en/messages.json
index d2b49402..a48335e6 100644
--- a/public/_locales/en/messages.json
+++ b/public/_locales/en/messages.json
@@ -200,6 +200,9 @@
"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. :)"
},
+ "enableViewTrackingInPrivate": {
+ "message": "Enable Skip Count Tracking In Private/Incognito tabs"
+ },
"enableQueryByHashPrefix": {
"message": "Query By Hash Prefix"
},
diff --git a/public/options/options.html b/public/options/options.html
index 5feb6ba9..6b5bb717 100644
--- a/public/options/options.html
+++ b/public/options/options.html
@@ -310,6 +310,19 @@
<br/>
<br/>
+ <div option-type="toggle" sync-option="trackViewCountInPrivate" private-mode-only="true">
+ <label class="switch-container" label-name="__MSG_enableViewTrackingInPrivate__">
+ <label class="switch">
+ <input type="checkbox" checked>
+ <span class="slider round"></span>
+ </label>
+ </label>
+
+ <br/>
+ <br/>
+ <br/>
+ </div>
+
<div option-type="toggle" sync-option="refetchWhenNotFound">
<label class="switch-container" label-name="__MSG_enableRefetchWhenNotFound__">
<label class="switch">