Recensioni per Undo Close Tab
Undo Close Tab di Manuel Reimer
Risposta di Manuel Reimer
Replica dello sviluppatore
pubblicato il 4 anni faActually you are the first one actually noticing this. The closed tab history is only kept for up to the *last* session but if you tend to close Firefox pretty often this, of course, may be a problem.
The reason for this is that I can't just rely on the Firefox built in sessions API and its closed tab history. If I do so, then, after some restarts, you will run into a bug that causes random tabs or even windows to restore as the internal IDs get reused which causes duplicated IDs. See here: https://bugzilla.mozilla.org/show_bug.cgi?id=1538119
To work around this problem, I move the Firefox internal closed tab history into a list in my Add-on to clear it. From this point I use a combination of my internal list (for tabs from the last session) and the Firefox built-in list (for tabs closed since browser start). This way I can be sure that no duplicated IDs will exist at any time and always the expected tabs or windows get restored. The only downside is that my internal list does not survive a browser restart. I could save it into storage but this could be a potential privacy problem for people who don't use session restore (and before you ask: Mozilla does not tell Add-ons about the session restore enabled status).
So currently with the existing bugs there are only two options:
a) Accept the small downside of only having last closed tabs for up to the last browser session
b) Randomly restore stuff you don't expect.
As most people don't even remember that they had interesting tabs open for more than one session into the past and random restores can be really annoying, I decided to go with a)
The reason for this is that I can't just rely on the Firefox built in sessions API and its closed tab history. If I do so, then, after some restarts, you will run into a bug that causes random tabs or even windows to restore as the internal IDs get reused which causes duplicated IDs. See here: https://bugzilla.mozilla.org/show_bug.cgi?id=1538119
To work around this problem, I move the Firefox internal closed tab history into a list in my Add-on to clear it. From this point I use a combination of my internal list (for tabs from the last session) and the Firefox built-in list (for tabs closed since browser start). This way I can be sure that no duplicated IDs will exist at any time and always the expected tabs or windows get restored. The only downside is that my internal list does not survive a browser restart. I could save it into storage but this could be a potential privacy problem for people who don't use session restore (and before you ask: Mozilla does not tell Add-ons about the session restore enabled status).
So currently with the existing bugs there are only two options:
a) Accept the small downside of only having last closed tabs for up to the last browser session
b) Randomly restore stuff you don't expect.
As most people don't even remember that they had interesting tabs open for more than one session into the past and random restores can be really annoying, I decided to go with a)
541 recensioni
- Valutata 5 su 5di Utente Firefox 13751670, 2 giorni fa
- Valutata 5 su 5di Utente Firefox 15711806, 5 giorni fa
- Valutata 5 su 5di alicekey, 7 giorni fa
- Valutata 5 su 5di Skajd, 8 giorni fa
- Valutata 5 su 5di Kotov, 20 giorni fa
- Valutata 5 su 5di Bullfinch, 22 giorni fa
- Valutata 5 su 5di Utente Firefox 12097049, un mese fa
- Valutata 5 su 5di Utente Firefox 11448708, un mese fa
- Valutata 5 su 5di Utente Firefox 18534444, un mese fa
- Valutata 5 su 5di Utente Firefox 18680413, 2 mesi fa
- Valutata 5 su 5di sujamma, 2 mesi fa
- Valutata 5 su 5di Utente Firefox 13583898, 2 mesi fa
- Valutata 1 su 5di Utente Firefox 13756137, 2 mesi fa
- Valutata 5 su 5di Phare, 2 mesi fa
- Valutata 5 su 5di grantmk, 3 mesi faThis is such a simple extension, but so useful! I deleted it last week, thinking I didn't really need it, but I soon missed it. After a week I ended up reinstalling it for quick access to my recently closed tabs.
- Valutata 5 su 5di Utente Firefox 5584905, 3 mesi fa
- Valutata 5 su 5di Utente Firefox 11803080, 3 mesi fa
- Valutata 5 su 5di Utente Firefox 14235874, 4 mesi faCan you change the color of the logo? Current logo color is purple when using the default theme 'firefox Alpenglow', which has a very low visibility.
Replica dello sviluppatore
pubblicato il 4 mesi faThat could be a hard one as Mozilla really makes it difficult to integrate with the existing themes.
But I maybe found something that is worth trying. Can you create a GitHub issue for this? - Valutata 5 su 5di iEatIce, 4 mesi fa
- Valutata 4 su 5di ΛΝDΗΣΣ, 4 mesi facan we got option for left click function? we don't always want undo the last closed tab and using the right click, mix list of the closed tab with the menu option...
- Valutata 5 su 5di Vasiliy, 4 mesi fa
- Valutata 5 su 5di Minoblue, 4 mesi fa
- Valutata 4 su 5di roku, 4 mesi faoverall the extension is good. can you add keyboard shortcut to make it more convenient?
Replica dello sviluppatore
pubblicato il 4 mesi faFirefox has built-in "Ctrl + Shift + T". This works even without any extension installed.
But you can create an additional shortcut "calling into" my extension using:
https://support.mozilla.org/en-US/kb/manage-extension-shortcuts-firefox - Valutata 5 su 5di ziro, 5 mesi fa
- Valutata 5 su 5di Leo, 5 mesi faLove it!
Love it!
Love it!
Thank you so much for this extension, which has saved my forgetful mind so many times!