diff options
Diffstat (limited to 'src/utils.ts')
-rw-r--r-- | src/utils.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/utils.ts b/src/utils.ts index f593253f..747eaba4 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -490,6 +490,8 @@ export default class Utils { } async addHiddenSegment(videoID: VideoID, segmentUUID: string, hidden: SponsorHideType) { + if (chrome.extension.inIncognitoContext) return; + const hashedVideoID = (await this.getHash(videoID, 1)).slice(0, 4) as VideoID & HashedValue; const UUIDHash = await this.getHash(segmentUUID, 1); |