[GH-ISSUE #73] FEATURE REQUEST: Please make reloading of tabs a suggestion #54

Closed
opened 2026-03-04 00:03:25 +03:00 by kerem · 3 comments
Owner

Originally created by @Thunder33345 on GitHub (Jul 29, 2025).
Original GitHub issue: https://github.com/YouG-o/YouTube-No-Translation/issues/73

Originally assigned to: @YouG-o on GitHub.

Problem

When i install this plugin, it reloads all my youtube tabs, making my CPU utilization spike into the 100%s
https://github.com/YouG-o/YouTube_No_Translation/blob/main/src/background/background.ts#L97-L114
I have 100+ youtube tabs in background, which are normally hibernated in background, taking up no system resources, reloading all of it brings the tabs back into foreground, spiking my CPU usage into 100%

Proposed Solution

Make the automatic reload a suggestion instead of an automatic action

I see that there's custom landing for initial opening of the config page
https://github.com/YouG-o/YouTube_No_Translation/blob/main/src/background/background.ts#L92-L94
I would appreciate if reloading of tabs is prompted as a suggestion on the welcome page, instead of automatically doing it without confirmation

This would make the first time experience much more welcoming, rather than sending the user's CPU into full blast
anyone who hoard tabs will appreciate this option, and know to politely decline instead

Alternative Solution

If prompting user is still extra friction, consider checking for discarded first would be appreciated
https://developer.chrome.com/docs/extensions/reference/api/tabs#properties_1

discarded
Whether the tab is discarded. A discarded tab is one whose content has been unloaded from memory, but is still visible in the tab strip. Its content is reloaded the next time it is activated.

Avoiding reload of tabs that are discarded would prevent waking up 100 hibernated tabs, which since they arent loaded yet, it wouldnt result in the new plugin not functioning

I still would prefer a prompt instead of an automatic action as it may interrupt user's background playback and anything else unsaved might be lost (like an unsent comment)

Additional Context (Optional)

Image

CPU utilization increases to 100% after the plugin reloads all my youtube tabs, took me awhile to notice it also reloaded tabs on my other workspaces

Originally created by @Thunder33345 on GitHub (Jul 29, 2025). Original GitHub issue: https://github.com/YouG-o/YouTube-No-Translation/issues/73 Originally assigned to: @YouG-o on GitHub. ## Problem When i install this plugin, it reloads all my youtube tabs, making my CPU utilization spike into the 100%s <https://github.com/YouG-o/YouTube_No_Translation/blob/main/src/background/background.ts#L97-L114> I have 100+ youtube tabs in background, which are normally hibernated in background, taking up no system resources, reloading all of it brings the tabs back into foreground, spiking my CPU usage into 100% ## Proposed Solution Make the automatic reload a suggestion instead of an automatic action I see that there's custom landing for initial opening of the config page https://github.com/YouG-o/YouTube_No_Translation/blob/main/src/background/background.ts#L92-L94 I would appreciate if reloading of tabs is prompted as a suggestion on the welcome page, instead of automatically doing it without confirmation This would make the first time experience much more welcoming, rather than sending the user's CPU into full blast anyone who hoard tabs will appreciate this option, and know to politely decline instead ## Alternative Solution If prompting user is still extra friction, consider checking for discarded first would be appreciated https://developer.chrome.com/docs/extensions/reference/api/tabs#properties_1 > `discarded` > Whether the tab is discarded. A discarded tab is one whose content has been unloaded from memory, but is still visible in the tab strip. Its content is reloaded the next time it is activated. Avoiding reload of tabs that are `discarded` would prevent waking up 100 hibernated tabs, which since they arent loaded yet, it wouldnt result in the new plugin not functioning I still would prefer a prompt instead of an automatic action as it may interrupt user's background playback and anything else unsaved might be lost (like an unsent comment) ## Additional Context (Optional) <img width="820" height="442" alt="Image" src="https://github.com/user-attachments/assets/68074cb9-c6f4-4e41-95b6-0380b623b134" /> CPU utilization increases to 100% after the plugin reloads all my youtube tabs, took me awhile to notice it also reloaded tabs on my other workspaces
kerem 2026-03-04 00:03:25 +03:00
Author
Owner

@YouG-o commented on GitHub (Jul 29, 2025):

Yep, sorry about that.

You're the second person to complain about performance issues during installation because of too many YouTube tabs being open.
I still chose to do it anyway because I was super annoyed by people who don’t understand that the extension can’t access tabs that were loaded before installation, and then leave a bad review saying it doesn’t work.

I’ll definitely make it so that tabs in hibernation are ignored during the install refresh in the next update. They are auto-reloaded when opened by user anyway so they don't even need to be reloaded by the extension.
As for the prompt / alert message, I’ll think about what to put in place.

<!-- gh-comment-id:3131396791 --> @YouG-o commented on GitHub (Jul 29, 2025): Yep, sorry about that. You're the second person to complain about performance issues during installation because of too many YouTube tabs being open. I still chose to do it anyway because I was super annoyed by people who don’t understand that the extension can’t access tabs that were loaded before installation, and then leave a bad review saying it doesn’t work. I’ll definitely make it so that tabs in hibernation are ignored during the install refresh in the next update. They are auto-reloaded when opened by user anyway so they don't even need to be reloaded by the extension. As for the prompt / alert message, I’ll think about what to put in place.
Author
Owner

@YouG-o commented on GitHub (Jul 29, 2025):

I removed auto reload on install and added a warning on the Welcome page with a button to reload only active tabs.

Image

Hope it will be visible enough to not bring back "It doesn't work" people 😁

<!-- gh-comment-id:3131513729 --> @YouG-o commented on GitHub (Jul 29, 2025): I removed auto reload on install and added a warning on the Welcome page with a button to reload only active tabs. <img width="675" height="818" alt="Image" src="https://github.com/user-attachments/assets/73e7ff6c-c916-4009-ab27-a9babeda4cf0" /> Hope it will be visible enough to not bring back "It doesn't work" people 😁
Author
Owner

@Thunder33345 commented on GitHub (Jul 29, 2025):

I removed auto reload on install and added a warning on the Welcome page

Thank you very much!!!

Hope it will be visible enough to not bring back "It doesn't work" people 😁

Hopefully, there's still complaints by others, i do think that only reloading loaded tab is an acceptable compromise
I probably wouldnt have made this issue if only my active tab is automatically reloaded (there was only one, which is the subscription page, and rest are hibernated)

<!-- gh-comment-id:3133669947 --> @Thunder33345 commented on GitHub (Jul 29, 2025): > I removed auto reload on install and added a warning on the Welcome page Thank you very much!!! > Hope it will be visible enough to not bring back "It doesn't work" people 😁 Hopefully, there's still complaints by others, i do think that only reloading loaded tab is an acceptable compromise I probably wouldnt have made this issue if only my active tab is automatically reloaded (there was only one, which is the subscription page, and rest are hibernated)
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#54
No description provided.