diff extension/css/youtube.css @ 34:64e90e9ada72

icon-path based removals: YouTube "Ask", Drive "Summarize this"
author Paul Fisher <paul@pfish.zone>
date Sat, 11 Oct 2025 22:49:28 -0400
parents 25c53854dd9d
children
line wrap: on
line diff
--- a/extension/css/youtube.css	Mon Oct 06 11:44:47 2025 -0400
+++ b/extension/css/youtube.css	Sat Oct 11 22:49:28 2025 -0400
@@ -1,10 +1,4 @@
-/*
- * Currently disabled because there's no good way to select only buttons
- * that aren't the "Ask" button in a locale-independent way.
- * All the yt-button-view-model elements look the same to CSS.
-
-ytd-watch-metadata #flexible-item-buttons > yt-button-view-model
+ytd-watch-metadata #flexible-item-buttons > yt-button-view-model:has(path[d~="M480-80q0-83-31.5-156T363-363q-54-54-127-85.5T80-480q83"]) /* "Ask" */
 {
     display: none !important;
 }
- */