[PR #117] [MERGED] feat: InfoCards support #147

Closed
opened 2026-03-04 00:04:07 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/YouG-o/YouTube-No-Translation/pull/117
Author: @YouG-o
Created: 10/14/2025
Status: Merged
Merged: 10/14/2025
Merged by: @YouG-o

Base: mainHead: feat/Infocards-Titles


📝 Commits (1)

📊 Changes

4 files changed (+444 additions, -3 deletions)

View changed files

📝 CHANGELOG.md (+3 -0)
📝 src/content/observers.ts (+14 -3)
src/content/titles/infoCards.ts (+177 -0)
src/content/titles/infoCardsTeasers.ts (+250 -0)

📄 Description

Feat

  • InfoCards Support: Original titles are now restored for video annotations (infocards) in video descriptions and their corresponding overlay teasers
    • Dedicated modular architecture with infoCards.ts and infoCardsTeasers.ts
    • Smart matching system using Map to link translated and original titles
    • Overlay teasers automatically display original titles when hovering over infocards
    • Individual observers for each teaser to prevent YouTube from reverting changes
    • Automatic detection and cleanup when switching between different teasers
    • Observer for infocard container to detect dynamically loaded cards

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/YouG-o/YouTube-No-Translation/pull/117 **Author:** [@YouG-o](https://github.com/YouG-o) **Created:** 10/14/2025 **Status:** ✅ Merged **Merged:** 10/14/2025 **Merged by:** [@YouG-o](https://github.com/YouG-o) **Base:** `main` ← **Head:** `feat/Infocards-Titles` --- ### 📝 Commits (1) - [`64963e4`](https://github.com/YouG-o/YouTube-No-Translation/commit/64963e4634075cf3d6b89a9d4db9d2b05aeb7647) feat: InfoCards support ### 📊 Changes **4 files changed** (+444 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+3 -0) 📝 `src/content/observers.ts` (+14 -3) ➕ `src/content/titles/infoCards.ts` (+177 -0) ➕ `src/content/titles/infoCardsTeasers.ts` (+250 -0) </details> ### 📄 Description ### Feat - **InfoCards Support**: Original titles are now restored for video annotations (infocards) in video descriptions and their corresponding overlay teasers - Dedicated modular architecture with `infoCards.ts` and `infoCardsTeasers.ts` - Smart matching system using Map to link translated and original titles - Overlay teasers automatically display original titles when hovering over infocards - Individual observers for each teaser to prevent YouTube from reverting changes - Automatic detection and cleanup when switching between different teasers - Observer for infocard container to detect dynamically loaded cards --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-04 00:04:07 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/YouTube-No-Translation#147
No description provided.