From 8cb212a77bc4cb88dcbd9e841d5397c5b6443609 Mon Sep 17 00:00:00 2001 From: Ajay Ramachandran Date: Fri, 11 Jun 2021 18:17:40 -0400 Subject: [PATCH] Allow not counting time in private tabs Closes https://github.com/ajayyy/SponsorBlock/issues/703 --- public/_locales/en/messages.json | 3 +++ public/options/options.html | 13 +++++++++++++ src/config.ts | 2 ++ src/content.ts | 4 ++-- src/options.ts | 9 +++++++++ 5 files changed, 29 insertions(+), 2 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 @@

+
+ + +
+
+
+
+