diff options
author | Ajay <[email protected]> | 2024-01-08 10:58:24 -0500 |
---|---|---|
committer | Ajay <[email protected]> | 2024-01-08 10:58:24 -0500 |
commit | 5b2eb9748a11ec75cb2402fc8bab4ee25c268520 (patch) | |
tree | ae94791bd9cb9a66382034fe09c34f466dceef1d /src/dearrowPromotion.ts | |
parent | 7338af3b384e2297eaf710443121ac840099a9f1 (diff) | |
download | SponsorBlock-5b2eb9748a11ec75cb2402fc8bab4ee25c268520.tar.gz SponsorBlock-5b2eb9748a11ec75cb2402fc8bab4ee25c268520.zip |
Disable dearrow promotion
Diffstat (limited to 'src/dearrowPromotion.ts')
-rw-r--r-- | src/dearrowPromotion.ts | 4 |
1 files changed, 3 insertions, 1 deletions
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") |