Ignore "Open YouTube Kids" tile
This commit is contained in:
1 parent
62d66eb1f3
commit
e1c8b5284f
2 files changed
+10
No files matched your search
@@ -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/),
|
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).
|
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
|
## [0.41.6] - 2025-09-06
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|||||||
@@ -1251,6 +1251,12 @@ namespace Innertube
|
|||||||
' A tileRenderer can be without a contentType, such as a
|
' A tileRenderer can be without a contentType, such as a
|
||||||
' button that says "Open YouTube Kids" or similar CTAs
|
' button that says "Open YouTube Kids" or similar CTAs
|
||||||
if contentType = ""
|
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)
|
Warning("TileRenderer without contentType", nodeData, context)
|
||||||
return invalid
|
return invalid
|
||||||
end if
|
end if
|
||||||
|
|||||||
Reference in new issue
Block a user