uc.css.js icon indicating copy to clipboard operation
uc.css.js copied to clipboard

Keep closed tabs on cache for a few seconds extra after they closed [bfcache on closed tabs]

Open ericpa06 opened this issue 3 years ago • 2 comments

Another humble suggestion, which most likely can't be done through javascript, if I had to take a guess: sometimes you close a tab accidentally, it would be interesting if the tab still remained open "hidden" for just a few seconds, like 5 seconds or so, in case you changed your mind, or had accidentally closed the tab to begin with, so that way when you opened, it would be instantaneously. I think some chromium browsers experimented with this feature but it seems that most decided to not go with it? Also there is a bugzilla report on this, but I think the discussion is somewhat stuck.

https://bugzilla.mozilla.org/show_bug.cgi?id=1655199

Again, I have no idea on how viable or hard this would be. Like, for instance, if you were watching a youtube video and closed that tab, it would be somewhat annoying having to deal with a delay of 5 seconds until the audio stopped playing because that tab was only then actually removed from memory, so probably when dealing with a tab playing a video or a song, the behavior would be like pause the video playing, hide the tab, wait 5 seconds, and then actually close it... Anyway, just some food for thought, sorry to bother you.

ericpa06 avatar May 06 '22 13:05 ericpa06

It's a cool idea, and I think it would be possible to do it with autoconfig. But it's a pretty big project and I don't have much free time recently. I'll leave this open though, I might wind up working on it at some point.

aminomancer avatar May 06 '22 14:05 aminomancer

Thank you very much for your attention and consideration, yeah, I imagine this would be super complicated, maybe in the future . Also, I'm pretty surprise that this could be possible through autoconfig, it's quite amazing the amount of things one can do through scripting.

ericpa06 avatar May 09 '22 01:05 ericpa06