mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-06 03:27:03 +03:00
Disable dearrow promotion
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user