Skip to content

Commit

Permalink
Fix isPurpleScreen = false for version with countdown
Browse files Browse the repository at this point in the history
  • Loading branch information
younesaassila committed Jul 10, 2024
1 parent e2aed80 commit e58c8c9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/background/handlers/onBeforeVideoWeaverRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,7 @@ export default function onBeforeVideoWeaverRequest(
if (isDuplicate) return text;

const channelName = findChannelFromVideoWeaverUrl(details.url);
const isPurpleScreen = textLower.includes(
"https://help.twitch.tv/s/article/ad-experience-on-twitch"
);
const isPurpleScreen = textLower.includes("https://help.twitch.tv/");
const proxy =
details.proxyInfo && details.proxyInfo.type !== "direct"
? getUrlFromProxyInfo(details.proxyInfo)
Expand Down

0 comments on commit e58c8c9

Please sign in to comment.