mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-06 11:37:02 +03:00
Disable dearrow promotion
This commit is contained in:
@@ -9,8 +9,10 @@ import { isVisible } from "./utils/pageUtils";
|
|||||||
import { asyncRequestToServer } from "./utils/requests";
|
import { asyncRequestToServer } from "./utils/requests";
|
||||||
|
|
||||||
let tooltip: Tooltip = null;
|
let tooltip: Tooltip = null;
|
||||||
|
const showDeArrowPromotion = false;
|
||||||
export async function tryShowingDeArrowPromotion() {
|
export async function tryShowingDeArrowPromotion() {
|
||||||
if (Config.config.showDeArrowPromotion
|
if (showDeArrowPromotion
|
||||||
|
&& Config.config.showDeArrowPromotion
|
||||||
&& !isOnMobileYouTube()
|
&& !isOnMobileYouTube()
|
||||||
&& !isOnInvidious()
|
&& !isOnInvidious()
|
||||||
&& document.URL.includes("watch")
|
&& document.URL.includes("watch")
|
||||||
|
|||||||
Reference in New Issue
Block a user