Skip to content

Commit

Permalink
outdated util
Browse files Browse the repository at this point in the history
  • Loading branch information
hanydd committed Dec 11, 2024
1 parent 448bcf5 commit 704b9b5
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -230,14 +230,6 @@ export default class Utils {
return referenceNode;
}

isContentScript(): boolean {
return window.location.protocol === "http:" || window.location.protocol === "https:";
}

isHex(num: string): boolean {
return Boolean(num.match(/^[0-9a-f]+$/i));
}

async addHiddenSegment(videoID: VideoID, segmentUUID: string, hidden: SponsorHideType) {
if (
(chrome.extension.inIncognitoContext && !Config.config.trackDownvotesInPrivate) ||
Expand Down

0 comments on commit 704b9b5

Please sign in to comment.