Disable dearrow promotion

This commit is contained in:
Ajay 2024-01-08 10:58:24 -05:00
parent 7338af3b38
commit 5b2eb9748a

View file

@ -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")