NiklasGollenstede/unload-tabs

Reload frame loop in MangaDex

TsukiZero opened this issue · 2 comments

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.

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?

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.