From 14cafbada6f4161f01a102d4a06789aa606e2d01 Mon Sep 17 00:00:00 2001 From: FrostyBiscuit Date: Mon, 17 Feb 2025 17:28:50 +0100 Subject: Hide YouTube ambient mode --- manifest.json | 2 +- package.json | 2 +- styles/websites/youtube.css | 5 +++++ 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/manifest.json b/manifest.json index 86a5445..44b051d 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 2, "name": "Transparent Zen", - "version": "0.1.3", + "version": "0.1.4", "description": "Inject custom styles to make your favorite websites transparent. PLEASE KEEP IN MIND THAT THIS IS STILL WORK IN PROGRESS, SO THINGS MIGHT BREAK!", "browser_specific_settings": { "gecko": { diff --git a/package.json b/package.json index c2815a4..606dd54 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "transparent-zen", - "version": "0.1.3", + "version": "0.1.4", "description": "A browser extension for Zen Browser to inject custom styles to make your favorite websites transparent", "scripts": { "build": "web-ext build --config web-ext-config.mjs", diff --git a/styles/websites/youtube.css b/styles/websites/youtube.css index b51e165..568e425 100644 --- a/styles/websites/youtube.css +++ b/styles/websites/youtube.css @@ -94,6 +94,11 @@ a#thumbnail { /* Youtube Player (incl. embeds) */ #player, #player-container { + #cinematics.ytd-watch-flexy { + /* Disable ambient mode */ + display: none !important; + } + .ytp-popup, .ytp-tooltip { background-color: var(--transparent-background-darker) !important; -- cgit v1.2.3