mirror of
https://github.com/YouG-o/YouTube-No-Translation.git
synced 2026-04-25 01:56:01 +03:00
[PR #103] [MERGED] Fix/page title memory leak #146
Labels
No labels
ToDo
bug
enhancement
enhancement
help wanted
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/YouTube-No-Translation#146
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/YouG-o/YouTube-No-Translation/pull/103
Author: @YouG-o
Created: 9/16/2025
Status: ✅ Merged
Merged: 9/16/2025
Merged by: @YouG-o
Base:
main← Head:fix/PageTitleMemoryLeak📝 Commits (5)
7407677(temporary)fix: add debounce to page title updates to reduce risk of memory leakse88b7ddfeat: added a debounce to main title observer to prevent potential infinites DOM modifications & high CPU usage989d1f0refactor: replace throttle with debounce for title refresh to prevent missing last mutations4f4232frefactor: replace observer throttles with debounced timers to ensure last mutations are processed8e185b5Merge branch 'main' into fix/PageTitleMemoryLeak📊 Changes
4 files changed (+297 additions, -210 deletions)
View changed files
📝
src/content/observers.ts(+63 -29)📝
src/content/titles/browsingTitles.ts(+99 -88)📝
src/content/titles/mainTitle.ts(+47 -18)📝
src/content/titles/shortsTitles.ts(+88 -75)📄 Description
Added a debounce to page title mutation observer
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.