mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2024-11-10 09:07:45 +01:00
Don't save downvotes in incognito
This commit is contained in:
parent
7896b474db
commit
8c60f25d4a
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue