[GH-ISSUE #98] ISSUE: Firefox on Ubuntu freezing #67

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

Originally created by @Jonatan7BR on GitHub (Sep 9, 2025).
Original GitHub issue: https://github.com/YouG-o/YouTube-No-Translation/issues/98

Originally assigned to: @YouG-o on GitHub.

Description

While watching videos a video playlist, the browser tab freezes (or the whole browser), and the CPU usage goes to max. Closing the browser and opening it again solves for some time.
I couldn't confirm if this also happens on a single video.
It happens on Firefox on Ubuntu but not on Windows 11.

Steps to Reproduce (if you noticed a specific pattern)

  1. Start watching a video playlist on YouTube
  2. It randomly freezes the browser tab or the whole browser after some time.

Environment

  • Browser: Firefox 142.0.1
  • Extension Version: 2.12.3
  • OS: Ubuntu 24.10 LTS
  • YouTube Language: Brazilian Portuguese
  • YouTube Account: logged in

Example Video (Required if the issue happened on a video page)

Might happen in any video

Extension Settings

  • Title translation prevention
  • Description translation prevention
  • Audio language preference
  • Subtitles language preference
  • YouTube Data API v3
Originally created by @Jonatan7BR on GitHub (Sep 9, 2025). Original GitHub issue: https://github.com/YouG-o/YouTube-No-Translation/issues/98 Originally assigned to: @YouG-o on GitHub. ## Description While watching videos a video playlist, the browser tab freezes (or the whole browser), and the CPU usage goes to max. Closing the browser and opening it again solves for some time. I couldn't confirm if this also happens on a single video. It happens on Firefox on Ubuntu but not on Windows 11. ## Steps to Reproduce (if you noticed a specific pattern) 1. Start watching a video playlist on YouTube 2. It randomly freezes the browser tab or the whole browser after some time. ## Environment - Browser: Firefox 142.0.1 - Extension Version: 2.12.3 - OS: Ubuntu 24.10 LTS - YouTube Language: Brazilian Portuguese - YouTube Account: logged in ## Example Video (Required if the issue happened on a video page) Might happen in any video ## Extension Settings <!-- Please check which features you have enabled in the extension popup: --> - [X] Title translation prevention - [X] Description translation prevention - [X] Audio language preference - [X] Subtitles language preference - [ ] YouTube Data API v3 ## Other YouTube-related extensions you are using <!-- Please list any other browser extensions/add-ons you have installed that interact with YouTube --> <!-- This helps identify possible conflicts or side effects. For example : DeArrow can cause conflicts as it also interact with videos titles -->
kerem 2026-03-04 00:03:33 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@YouG-o commented on GitHub (Sep 10, 2025):

It would be great if you could reproduce your issue with your browser's console open, to see if you notice something weird in the logs.

<!-- gh-comment-id:3273640784 --> @YouG-o commented on GitHub (Sep 10, 2025): It would be great if you could reproduce your issue with your browser's console open, to see if you notice something weird in the logs.
Author
Owner

@SOwOphie commented on GitHub (Sep 14, 2025):

Firefox 142.0.1 on Gentoo here. I am observing a memory leak that does not show up in about:memory. The tab process is also pegged at 100% load. From the profiler trace it looks like it is updating the page title like crazy? I'm unfortunately not too familiar with web debugging tools. Let me know if there is anything else I can capture.

<!-- gh-comment-id:3289848209 --> @SOwOphie commented on GitHub (Sep 14, 2025): Firefox 142.0.1 on Gentoo here. I am observing a memory leak that does not show up in `about:memory`. The tab process is also pegged at 100% load. From the [profiler trace](https://share.firefox.dev/4nttKmS) it looks like it is updating the page title like crazy? I'm unfortunately not too familiar with web debugging tools. Let me know if there is anything else I can capture.
Author
Owner

@YouG-o commented on GitHub (Sep 15, 2025):

@SOwOphie

Firefox 142.0.1 on Gentoo here. I am observing a memory leak that does not show up in about:memory. The tab process is also pegged at 100% load. From the profiler trace it looks like it is updating the page title like crazy? I'm unfortunately not too familiar with web debugging tools. Let me know if there is anything else I can capture.

Have you noticed a specific pattern or does it happen every time? Where? On a regular video page or when playing a playlist like the issue's author?

Edit: Could not reproduce the issue on my side so waiting for a deeper investigation, I added a debounce on page title mutation observer (crazy I did not already) as a temporary 'fix'. It will at least not be high CPU consummer waiting for a proper solution.
I'm anyway working on a new method for titles and descriptions translation prevention, replacing them directly in the YT response. This way it will no more need any DOM modification so I won't have no deal with all those mutations anymore.

<!-- gh-comment-id:3291445362 --> @YouG-o commented on GitHub (Sep 15, 2025): @SOwOphie > Firefox 142.0.1 on Gentoo here. I am observing a memory leak that does not show up in `about:memory`. The tab process is also pegged at 100% load. From the [profiler trace](https://share.firefox.dev/4nttKmS) it looks like it is updating the page title like crazy? I'm unfortunately not too familiar with web debugging tools. Let me know if there is anything else I can capture. Have you noticed a specific pattern or does it happen every time? Where? On a regular video page or when playing a playlist like the issue's author? Edit: Could not reproduce the issue on my side so waiting for a deeper investigation, I added a debounce on page title mutation observer (crazy I did not already) as a temporary 'fix'. It will at least not be high CPU consummer waiting for a proper solution. I'm anyway working on a new method for titles and descriptions translation prevention, replacing them directly in the YT response. This way it will no more need any DOM modification so I won't have no deal with all those mutations anymore.
Author
Owner

@Jonatan7BR commented on GitHub (Sep 17, 2025):

I've tried to reproduce the bug with the console open, but nothing unusual happened.

However, yesterday my browser kinda froze. At the time, there were two YouTube video tabs open. Couldn't open the other tab's console or task manager at the time, so I'm not sure if the extension is the cause.

I say "kinda froze" because the unpaused video kept on playing, but I couldn't type anything on other tabs. Even closing the browser window took some time.

<!-- gh-comment-id:3302853840 --> @Jonatan7BR commented on GitHub (Sep 17, 2025): I've tried to reproduce the bug with the console open, but nothing unusual happened. However, yesterday my browser kinda froze. At the time, there were two YouTube video tabs open. Couldn't open the other tab's console or task manager at the time, so I'm not sure if the extension is the cause. I say "kinda froze" because the unpaused video kept on playing, but I couldn't type anything on other tabs. Even closing the browser window took some time.
Author
Owner

@YouG-o commented on GitHub (Sep 19, 2025):

v2.14.1 is available on Firefox. It should fix the issue of the page and video title updating indefinitely. I’m pretty sure this was causing your problem. Please update to the latest version, and if the issue happens again, let me know.

<!-- gh-comment-id:3312426135 --> @YouG-o commented on GitHub (Sep 19, 2025): v2.14.1 is available on Firefox. It should fix the issue of the page and video title updating indefinitely. I’m pretty sure this was causing your problem. Please update to the latest version, and if the issue happens again, let me know.
Author
Owner

@SOwOphie commented on GitHub (Sep 21, 2025):

Have you noticed a specific pattern or does it happen every time? Where? On a regular video page or when playing a playlist like the issue's author?

I noticed it while on my Watch Later playlist, but it didn't always spike up instantly.

With the new release, I've decided to take one for the team and devote an evening to intense "testing" while keeping an eye on my resource usage. No unbounded growth so far after a few hours, I think it would have happened by now with the old release. Looks fixed to me. Thanks!

<!-- gh-comment-id:3316301066 --> @SOwOphie commented on GitHub (Sep 21, 2025): > Have you noticed a specific pattern or does it happen every time? Where? On a regular video page or when playing a playlist like the issue's author? I noticed it while on my Watch Later playlist, but it didn't always spike up instantly. With the new release, I've decided to take one for the team and devote an evening to intense "testing" while keeping an eye on my resource usage. No unbounded growth so far after a few hours, I think it would have happened by now with the old release. Looks fixed to me. Thanks!
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#67
No description provided.