Revisiones de Undo Close Tab
Undo Close Tab por Manuel Reimer
Respuesta de Manuel Reimer
Respuesta del desarrollador
publicado el hace 5 añosActually 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)
569 revisiones
- Se valoró con 5 de 5por Aldunn, hace 5 díasThis Add-on makes navigating the web so much easier. Thank you!
- Se valoró con 5 de 5por Mehdi-13, hace 8 días
- Se valoró con 3 de 5por chirer, hace 18 días
- Se valoró con 5 de 5por tc97, hace 20 días
- Se valoró con 5 de 5por Usuario de Firefox 13437937, hace un mes
- Se valoró con 5 de 5por たやまみ, hace un mes
- Se valoró con 5 de 5por va hé, hace un mesHi, unfortunately the addon seems installed but doesn't show anywhere on my Firefox ... I would like to understand why it doesn't and how to fix that ...?
I don't know how to contact the creator of this addon anywhere else than here unfortunately.
HELP ???
Edit : Thanks for the answer, it works perfectly now.Respuesta del desarrollador
publicado el hace un mesThe correct place to discuss issues is GitHub, which is linked in the Add-on description.
By default the Add-on does not place a button. It is "hidden" in the "puzzle piece icon" of Firefox. You can find the Add-on there and use the "Pin to toolbar" option from the "gear icon" next to its entry. - Se valoró con 5 de 5por Premchand, hace 2 meses
- Se valoró con 5 de 5por JackelPB, hace 2 meses
- Se valoró con 4 de 5por Usuario de Firefox 14171529, hace 2 meses
- Se valoró con 5 de 5por bioxzard, hace 2 meses
- Se valoró con 5 de 5por david demri, hace 2 meses
- Se valoró con 5 de 5por Александр, hace 3 meses
- Se valoró con 5 de 5por Usuario de Firefox 18862493, hace 3 mesesThis extension is a no-brainer. I used the shortcut ctrl+shift+t all the time already. But through this extension, I can just use my mouse. Great and simple!
- Se valoró con 5 de 5por EroWalker, hace 3 meses
- Se valoró con 5 de 5por Usuario de Firefox 14275792, hace 3 meses
- Se valoró con 5 de 5por Emme, hace 4 meses
- Se valoró con 5 de 5por Randy Knight, hace 4 meses
- Se valoró con 5 de 5por DoveBoy, hace 4 meses
- Se valoró con 5 de 5por Fer, hace 4 meses
- Se valoró con 2 de 5por beeters, hace 4 mesesNearly useless. Doesn't let you choose which closed tab to undo, only does the most recent one. No option to customize icon colors. I haven't tested if the extension even works without browsing history saved and in private mode, but I wouldn't be surprised if that's an oversight too.
Respuesta del desarrollador
publicado el hace 4 mesesRight click on the toolbar button to get the list of recently closed tabs. Pick the one to restore. - Se valoró con 5 de 5por 毕月乌, hace 4 meses
- Se valoró con 5 de 5por Usuario de Firefox 14631705, hace 4 meses