From 5b2eb9748a11ec75cb2402fc8bab4ee25c268520 Mon Sep 17 00:00:00 2001 From: Ajay Date: Mon, 8 Jan 2024 10:58:24 -0500 Subject: [PATCH] Disable dearrow promotion --- src/dearrowPromotion.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/dearrowPromotion.ts b/src/dearrowPromotion.ts index 13fa8288..f1eec399 100644 --- a/src/dearrowPromotion.ts +++ b/src/dearrowPromotion.ts @@ -9,8 +9,10 @@ import { isVisible } from "./utils/pageUtils"; import { asyncRequestToServer } from "./utils/requests"; let tooltip: Tooltip = null; +const showDeArrowPromotion = false; export async function tryShowingDeArrowPromotion() { - if (Config.config.showDeArrowPromotion + if (showDeArrowPromotion + && Config.config.showDeArrowPromotion && !isOnMobileYouTube() && !isOnInvidious() && document.URL.includes("watch")