diff options
author | FrostyBiscuit <[email protected]> | 2025-02-17 17:28:50 +0100 |
---|---|---|
committer | FrostyBiscuit <[email protected]> | 2025-02-17 17:28:50 +0100 |
commit | 14cafbada6f4161f01a102d4a06789aa606e2d01 (patch) | |
tree | ad7d67e21501146e4f91dda2c106cfb420a38a28 | |
parent | 85d2ce11fe132c71650a259b2323d6099751e39a (diff) |
Hide YouTube ambient mode
-rw-r--r-- | manifest.json | 2 | ||||
-rw-r--r-- | package.json | 2 | ||||
-rw-r--r-- | 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;
|