You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Instead of letting a tab timeout after n minutes, unload the tab if it is not within the n most recent tabs visited.
This should be a stack, so if I open a new tab and close it again, it should count as 0.
In other words: Create a stack. When user visits a tab, push it on the stack. If the tab is already in the stack, move it to the top. When the user closes a tab, remove it from the stack. If the stack size is > n: unload the lowest tab in the stack.
The text was updated successfully, but these errors were encountered:
On Sat, Aug 8, 2020 at 4:19 AM Ole Tange ***@***.***> wrote:
Instead of letting a tab timeout after n minutes, unload the tab if it is
not within the n most recent tabs visited.
This should be a stack, so if I open a new tab and close again, it should
count as 0.
In other words: Create a stack. When user visits a tab, push it on the
stack. If the tab is already in the stack, move it to the top. When the
user closes a tab, remove it from the stack. If the stack size is > n:
unload the lowest tab in the stack.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#42>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAMHN6SZJ3ECN3ROOZX6VLR7URETANCNFSM4PYS2MNA>
.
Instead of letting a tab timeout after n minutes, unload the tab if it is not within the n most recent tabs visited.
This should be a stack, so if I open a new tab and close it again, it should count as 0.
In other words: Create a stack. When user visits a tab, push it on the stack. If the tab is already in the stack, move it to the top. When the user closes a tab, remove it from the stack. If the stack size is > n: unload the lowest tab in the stack.
The text was updated successfully, but these errors were encountered: