From e1c8b5284fa583e9854f52595349c95c4ccb8d12 Mon Sep 17 00:00:00 2001 From: Brahim Hadriche Date: Sat, 6 Sep 2025 11:52:13 -0400 Subject: [PATCH] Ignore "Open YouTube Kids" tile --- CHANGELOG.md | 4 ++++ .../src/components/Services/Innertube/NodesParser.bs | 6 ++++++ 2 files changed, 10 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 83c7a328..f845ee84 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [Unreleased] + +- Nothing worth mentioning yet. + ## [0.41.6] - 2025-09-06 ### Fixed diff --git a/playlet-lib/src/components/Services/Innertube/NodesParser.bs b/playlet-lib/src/components/Services/Innertube/NodesParser.bs index 0d67540b..2762e8d4 100644 --- a/playlet-lib/src/components/Services/Innertube/NodesParser.bs +++ b/playlet-lib/src/components/Services/Innertube/NodesParser.bs @@ -1251,6 +1251,12 @@ namespace Innertube ' A tileRenderer can be without a contentType, such as a ' button that says "Open YouTube Kids" or similar CTAs if contentType = "" + eventTrigger = ValidString(ObjectUtils.Dig(nodeData, ["onSelectCommand", "authDeterminedCommand", "authenticatedCommand", "authRequiredCommand", "identityActionContext", "eventTrigger"])) + ' "Open YouTube Kids" tileRenderer + if eventTrigger = "ACCOUNT_EVENT_TRIGGER_YTK_WORMHOLE" + LogWarnNoTelemetry("Skipping tileRenderer without contentType for YouTube Kids") + return invalid + end if Warning("TileRenderer without contentType", nodeData, context) return invalid end if