diff options
author | Ajay Ramachandran <[email protected]> | 2021-07-31 21:01:36 -0400 |
---|---|---|
committer | Ajay Ramachandran <[email protected]> | 2021-07-31 21:01:36 -0400 |
commit | ba37f5885a3b5b3ab36a6d9ec137644bb94e4053 (patch) | |
tree | e53a9010ad88dc92463e7161f254203bedece6ce | |
parent | 2a3a04a504029be0f544d4c4523c4dd6e37ad2b1 (diff) | |
download | SponsorBlock-ba37f5885a3b5b3ab36a6d9ec137644bb94e4053.tar.gz SponsorBlock-ba37f5885a3b5b3ab36a6d9ec137644bb94e4053.zip |
Submit user agent
-rw-r--r-- | src/content.ts | 3 |
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) { |