aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorAjay Ramachandran <[email protected]>2021-07-31 21:01:36 -0400
committerAjay Ramachandran <[email protected]>2021-07-31 21:01:36 -0400
commitba37f5885a3b5b3ab36a6d9ec137644bb94e4053 (patch)
treee53a9010ad88dc92463e7161f254203bedece6ce /src
parent2a3a04a504029be0f544d4c4523c4dd6e37ad2b1 (diff)
downloadSponsorBlock-ba37f5885a3b5b3ab36a6d9ec137644bb94e4053.tar.gz
SponsorBlock-ba37f5885a3b5b3ab36a6d9ec137644bb94e4053.zip
Submit user agent
Diffstat (limited to 'src')
-rw-r--r--src/content.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/content.ts b/src/content.ts
index 8007707d..3a9ac67b 100644
--- a/src/content.ts
+++ b/src/content.ts
@@ -1536,7 +1536,8 @@ async function sendSubmitMessage() {
videoID: sponsorVideoID,
userID: Config.config.userID,
segments: sponsorTimesSubmitting,
- videoDuration: video?.duration
+ videoDuration: video?.duration,
+ userAgent: `${chrome.runtime.id}/v${chrome.runtime.getManifest().version}`
});
if (response.status === 200) {