[GH-ISSUE #84] Video Title / Description taken from incorrect video #59

Closed
opened 2026-03-04 00:03:28 +03:00 by kerem · 6 comments
Owner

Originally created by @daves003 on GitHub (Aug 23, 2025).
Original GitHub issue: https://github.com/YouG-o/YouTube-No-Translation/issues/84

Originally assigned to: @YouG-o on GitHub.

Description

I have a similar issue to #41: Video title and description get replaced with the ones from a different video.
The issue happens on every page (home, playlist, watch) and is persistent across:

  • signed in or out of youtube
  • different firefox tab container
  • rebooting

It seems the wrong title/desc somehow got into the cache and gets reused every time. I think I had those two videos next to each other in my "watch later" playlist. The cache pollution might be becaue I removed the other video (where the title got taken from) from the list and this one moved up one spot, but that's just speculation.
I think a simple "delete from cache" option would fix this, at least most of the time. It does revert if I uncheck the title/description replacement option and reload the page.

Environment

Browser: Firefox 142.0
Extension Version: 2.11.0
OS: Arch Linux
YouTube Language: German
YouTube Account: bot Logged In and Logged Out

Example Video

Video Link: https://www.youtube.com/watch?v=vGHpSRsmcYo

Correct (replacements disabled)
Image

After enabling replacements
Image

I also get some log messages:

14:54:28.590 [YNT][Titles] Persistent title cache loaded content.js:55:15
14:54:28.590 [YNT][Description] Persistent description cache loaded content.js:55:15
14:54:28.590 [YNT][Titles] Initializing title translation prevention content.js:55:15
14:54:28.590 [YNT][Description] Initializing description translation prevention content.js:55:15
[...]
14:54:29.830 [YNT][Main Title] Updated main title from : I Did Nothing For  Hours to Beat This "Impossible" Map... to : Orbit Culture Are UNSTOPPABLE….”Hydra” Reaction! (video id : vGHpSRsmcYo) content.js:55:15
14:54:29.830 [YNT][Main Title] Updated page title from : I Did Nothing For  Hours to Beat This "Impossible" Map... - YouTube to : Orbit Culture Are UNSTOPPABLE….”Hydra” Reaction! - YouTube content.js:55:15
14:54:29.830 [YNT][Main Title] Updated embed title from : I Did Nothing For  Hours to Beat This "Impossible" Map... to : Orbit Culture Are UNSTOPPABLE….”Hydra” Reaction! (video id : vGHpSRsmcYo) content.js:55:15
14:54:29.831 [YNT][Main Title] Updated page title from : Orbit Culture Are UNSTOPPABLE….”Hydra” Reaction! - YouTube to : Orbit Culture Are UNSTOPPABLE….”Hydra” Reaction! - YouTube content.js:55:15
[...]
14:54:29.843 [YNT][Description] Description updated to original content.js:55:15
14:54:29.976 [YNT][Description] Description content changed by YouTube, restoring original content.js:55:15

Title HTML:

<div id="title" class="style-scope ytd-watch-metadata">
    <ytd-badge-supported-renderer class="style-scope ytd-watch-metadata" system-icons="" hidden=""><!--css-build:shady--><!--css_build_scope:ytd-badge-supported-renderer--><!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js--><dom-repeat id="repeat" as="badge" class="style-scope ytd-badge-supported-renderer"><template is="dom-repeat"></template></dom-repeat></ytd-badge-supported-renderer>
    <h1 class="style-scope ytd-watch-metadata" style="display: flex;"><span id="categoryPillParent"><span id="categoryPill"><span style="display: none;" class="sponsorBlockCategoryPill" aria-label="This entire video is labeled as this category and is too tightly integrated to be able to separate"><span class="sponsorBlockCategoryPillTitleSection"><img class="sponsorSkipLogo sponsorSkipObject" src="moz-extension://cc4955b4-f0b6-4dd6-bcc0-c81b5206b392/icons/IconSponsorBlocker256px.png"><span class="sponsorBlockCategoryPillTitle"></span></span><img src="moz-extension://cc4955b4-f0b6-4dd6-bcc0-c81b5206b392/icons/close.png" class="categoryPillClose"></span></span></span>
      <yt-formatted-string force-default-style="" class="style-scope ytd-watch-metadata" title="I Did Nothing For 8 Hours to Beat This &quot;Impossible&quot; Map..." data-ynt-modified="true">Orbit Culture Are UNSTOPPABLE….”Hydra” Reaction!</yt-formatted-string>
    </h1>
    <ytd-badge-supported-renderer class="style-scope ytd-watch-metadata" system-icons="" hidden=""><!--css-build:shady--><!--css_build_scope:ytd-badge-supported-renderer--><!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js--><dom-repeat id="repeat" as="badge" class="style-scope ytd-badge-supported-renderer"><template is="dom-repeat"></template></dom-repeat></ytd-badge-supported-renderer>
  </div>

Other Extensions

  • Enhancer for YouTube
  • Return YouTube Dislike
  • SponsorBlock for YouTube
  • uBlock Origin
  • Firefox Multi-Account Containers
Originally created by @daves003 on GitHub (Aug 23, 2025). Original GitHub issue: https://github.com/YouG-o/YouTube-No-Translation/issues/84 Originally assigned to: @YouG-o on GitHub. ## Description I have a similar issue to #41: Video title and description get replaced with the ones from a different video. The issue happens on every page (home, playlist, watch) and is persistent across: - signed in or out of youtube - different firefox tab container - rebooting It seems the wrong title/desc somehow got into the cache and gets reused every time. I think I had those two videos next to each other in my "watch later" playlist. The cache pollution might be becaue I removed the other video (where the title got taken from) from the list and this one moved up one spot, but that's just speculation. I think a simple "delete from cache" option would fix this, at least most of the time. It does revert if I uncheck the title/description replacement option and reload the page. ## Environment Browser: Firefox 142.0 Extension Version: 2.11.0 OS: Arch Linux YouTube Language: German YouTube Account: bot Logged In and Logged Out ## Example Video Video Link: https://www.youtube.com/watch?v=vGHpSRsmcYo **Correct** (replacements disabled) <img width="569" height="259" alt="Image" src="https://github.com/user-attachments/assets/92ac0ad8-fc8a-49b6-b3c2-c16200ab9d15" /> **After enabling replacements** <img width="569" height="259" alt="Image" src="https://github.com/user-attachments/assets/37f0cb14-cb0e-46c7-a64f-6c139ce3b834" /> I also get some log messages: ``` 14:54:28.590 [YNT][Titles] Persistent title cache loaded content.js:55:15 14:54:28.590 [YNT][Description] Persistent description cache loaded content.js:55:15 14:54:28.590 [YNT][Titles] Initializing title translation prevention content.js:55:15 14:54:28.590 [YNT][Description] Initializing description translation prevention content.js:55:15 [...] 14:54:29.830 [YNT][Main Title] Updated main title from : I Did Nothing For Hours to Beat This "Impossible" Map... to : Orbit Culture Are UNSTOPPABLE….”Hydra” Reaction! (video id : vGHpSRsmcYo) content.js:55:15 14:54:29.830 [YNT][Main Title] Updated page title from : I Did Nothing For Hours to Beat This "Impossible" Map... - YouTube to : Orbit Culture Are UNSTOPPABLE….”Hydra” Reaction! - YouTube content.js:55:15 14:54:29.830 [YNT][Main Title] Updated embed title from : I Did Nothing For Hours to Beat This "Impossible" Map... to : Orbit Culture Are UNSTOPPABLE….”Hydra” Reaction! (video id : vGHpSRsmcYo) content.js:55:15 14:54:29.831 [YNT][Main Title] Updated page title from : Orbit Culture Are UNSTOPPABLE….”Hydra” Reaction! - YouTube to : Orbit Culture Are UNSTOPPABLE….”Hydra” Reaction! - YouTube content.js:55:15 [...] 14:54:29.843 [YNT][Description] Description updated to original content.js:55:15 14:54:29.976 [YNT][Description] Description content changed by YouTube, restoring original content.js:55:15 ``` Title HTML: ``` <div id="title" class="style-scope ytd-watch-metadata"> <ytd-badge-supported-renderer class="style-scope ytd-watch-metadata" system-icons="" hidden=""><!--css-build:shady--><!--css_build_scope:ytd-badge-supported-renderer--><!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js--><dom-repeat id="repeat" as="badge" class="style-scope ytd-badge-supported-renderer"><template is="dom-repeat"></template></dom-repeat></ytd-badge-supported-renderer> <h1 class="style-scope ytd-watch-metadata" style="display: flex;"><span id="categoryPillParent"><span id="categoryPill"><span style="display: none;" class="sponsorBlockCategoryPill" aria-label="This entire video is labeled as this category and is too tightly integrated to be able to separate"><span class="sponsorBlockCategoryPillTitleSection"><img class="sponsorSkipLogo sponsorSkipObject" src="moz-extension://cc4955b4-f0b6-4dd6-bcc0-c81b5206b392/icons/IconSponsorBlocker256px.png"><span class="sponsorBlockCategoryPillTitle"></span></span><img src="moz-extension://cc4955b4-f0b6-4dd6-bcc0-c81b5206b392/icons/close.png" class="categoryPillClose"></span></span></span> <yt-formatted-string force-default-style="" class="style-scope ytd-watch-metadata" title="I Did Nothing For 8 Hours to Beat This &quot;Impossible&quot; Map..." data-ynt-modified="true">Orbit Culture Are UNSTOPPABLE….”Hydra” Reaction!</yt-formatted-string> </h1> <ytd-badge-supported-renderer class="style-scope ytd-watch-metadata" system-icons="" hidden=""><!--css-build:shady--><!--css_build_scope:ytd-badge-supported-renderer--><!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js--><dom-repeat id="repeat" as="badge" class="style-scope ytd-badge-supported-renderer"><template is="dom-repeat"></template></dom-repeat></ytd-badge-supported-renderer> </div> ``` ## Other Extensions - Enhancer for YouTube - Return YouTube Dislike - SponsorBlock for YouTube - uBlock Origin - Firefox Multi-Account Containers
kerem 2026-03-04 00:03:28 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@YouG-o commented on GitHub (Aug 23, 2025):

Yep, this is really embarassing... I'll see what a can do to release a quickfix, and also add a cache cleaner button in the popup / settings page.

<!-- gh-comment-id:3216972986 --> @YouG-o commented on GitHub (Aug 23, 2025): Yep, this is really embarassing... I'll see what a can do to release a quickfix, and also add a cache cleaner button in the popup / settings page.
Author
Owner

@daves003 commented on GitHub (Aug 23, 2025):

Ty. Let me know if you need any more info/help

<!-- gh-comment-id:3216995005 --> @daves003 commented on GitHub (Aug 23, 2025): Ty. Let me know if you need any more info/help
Author
Owner

@YouG-o commented on GitHub (Aug 23, 2025):

Does it happens for a lot of videos or just a few? Have you watched thoses videos or not? (to know if the cache get "corrupt" when the video is watched or when browsing)

<!-- gh-comment-id:3217000367 --> @YouG-o commented on GitHub (Aug 23, 2025): Does it happens for a lot of videos or just a few? Have you watched thoses videos or not? (to know if the cache get "corrupt" when the video is watched or when browsing)
Author
Owner

@daves003 commented on GitHub (Aug 23, 2025):

I've only noticed it on this one, so very rarely. I did watch part of the linked video, but not all of it and I think I never watched the other one, not really sure though. I have a strong suspicion it happened when modifying the playlist, possibly while watching the video.

<!-- gh-comment-id:3217002791 --> @daves003 commented on GitHub (Aug 23, 2025): I've only noticed it on this one, so very rarely. I did watch part of the linked video, but not all of it and I think I never watched the other one, not really sure though. I have a strong suspicion it happened when modifying the playlist, possibly while watching the video.
Author
Owner

@YouG-o commented on GitHub (Aug 23, 2025):

Just released v2.12.0
Improved cache management & Added a btn for cache clearing in the popup.

Now that the add-on is popular on Mozilla, it need manual approval so the release won't be available before a few days unfortunately. You can still get it from the release and install it manually if you want to try.

I could'nt reproduce your issue, so I can't tell if it is fixed or not so let me know if you encounter it again, especially if notice a specific pattern. I will have a deeper look at this issue next week.

<!-- gh-comment-id:3217143420 --> @YouG-o commented on GitHub (Aug 23, 2025): Just released [v2.12.0](https://github.com/YouG-o/YouTube_No_Translation/releases/tag/v2.12.0) Improved cache management & Added a btn for cache clearing in the popup. Now that the add-on is popular on Mozilla, it need manual approval so the release won't be available before a few days unfortunately. You can still get it from the [release](https://github.com/YouG-o/YouTube_No_Translation/releases) and install it manually if you want to try. I could'nt reproduce your issue, so I can't tell if it is fixed or not so let me know if you encounter it again, especially if notice a specific pattern. I will have a deeper look at this issue next week.
Author
Owner

@daves003 commented on GitHub (Aug 29, 2025):

Sorry for the late reply! I had to wait until Firefox pushes the update since I sadly couldn't get it installed manually.

It updated now to 2.12.3 and the wrong title/desc fixed itself even without me needing to use the "clear cache" function.
Thank you so much for the quick fix!

<!-- gh-comment-id:3237620174 --> @daves003 commented on GitHub (Aug 29, 2025): Sorry for the late reply! I had to wait until Firefox pushes the update since I sadly couldn't get it installed manually. It updated now to 2.12.3 and the wrong title/desc fixed itself even without me needing to use the "clear cache" function. Thank you so much for the quick fix!
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#59
No description provided.