mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2024-11-12 18:04:20 +01:00
Disable dearrow promotion
This commit is contained in:
parent
7338af3b38
commit
5b2eb9748a
1 changed files with 3 additions and 1 deletions
|
@ -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")
|
||||||
|
|
Loading…
Reference in a new issue