NiklasGollenstede / unload-tabs

WebExtension that unloads tabs and prevents tabs from loading
https://addons.mozilla.org/addon/unload-tabs/
Mozilla Public License 2.0
69 stars 13 forks source link

Reload frame loop in MangaDex #44

Open TsukiZero opened 1 year ago

TsukiZero commented 1 year ago

Under unknown conditions, a MangaDex tab won't be properly unloaded, and attempting to use ANY tab as normal after will cause the content to flesh a dull gray with a low frequency that gradually goes up until no tab of the same window can be accessed properly, displaying the Firefox default "loading content" circle as if the tab froze.

NiklasGollenstede commented 1 year ago

Uhm. That sounds odd. Though more likely a Firefox bug than one of this extension. Really all this extension does is provide the menu options, then switch tabs if the active one is to be unloaded, and then use the discard function that Firefox explicitly provides for extensions to unload tabs. (The days where extensions could and needed to resort to dark sorcery ate long gone 🙃.)

Does it make a difference whether the active tab or one in the background is target of the unloading?

TsukiZero commented 1 year ago

I think it has to do with hitting "Unload Tab" while it has already started loading scripts in the MangaDex tab, but I have no clue on how that happened.

It was in background when I Unloaded it (but it didn't exactly unload, don't know why), then when switching to it I noticed it was loaded and focused on the other tab for a moment because I was gonna read it after. After some minutes, shenanigans happened. Since you say it is very likely a Firefox bug, I will take your word for it, because of how often Firefox breaks what shouldn't be broken.