Critiques pour Undo Close Tab
Undo Close Tab par Manuel Reimer
Avis de Manuel Reimer
Réponse du développeur
mis en ligne : il y a 5 ansActually 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)
579 notes
- Noté 5 sur 5par Sara, il y a 5 joursThis extension is necessary to using any browser. It has saved me hundreds of times in the past year.
- Noté 5 sur 5par P. H., il y a un mois
- Noté 5 sur 5par BeLuna, il y a 3 moisSollte endlich mal Standard von Firefox sein. Ich empfehle den Kontexteintrag für den Tab standardmäßig zu aktivieren, dafür das symbol in der Taskbar nicht standardmä´ßig zu aktivieren. (pin to adressbar by default: no) Da man das symbol selber eigentlich nicht braucht, wir brauchen nicht endlos viele Knöpfe, ein Rechtsklick reicht ;)
- Noté 5 sur 5par okup, il y a 3 mois
- Noté 5 sur 5par AntBee, il y a 3 mois
- Noté 4 sur 5par 阳熙来, il y a 4 mois
- Noté 5 sur 5par 囶 ., il y a 4 moisLM22.1 a Must , especially when you have double right click to close Tab on the Window. for accidental closure of a Tab
- Noté 5 sur 5par Utilisateur ou utilisatrice 15037318 de Firefox, il y a 4 mois
- Noté 5 sur 5par Raginmond, il y a 5 mois
- Noté 5 sur 5par Aldunn, il y a 6 moisThis Add-on makes navigating the web so much easier. Thank you!
- Noté 5 sur 5par Mehdi-13, il y a 6 mois
- Noté 3 sur 5par chirer, il y a 6 mois
- Noté 5 sur 5par tc97, il y a 6 mois
- Noté 5 sur 5par Utilisateur ou utilisatrice 13437937 de Firefox, il y a 7 mois
- Noté 5 sur 5par たやまみ, il y a 7 mois
- Noté 5 sur 5par va hé, il y a 7 moisHi, 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.Réponse du développeur
mis en ligne : il y a 7 moisThe 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. - Noté 5 sur 5par Premchand, il y a 7 mois
- Noté 5 sur 5par JackelPB, il y a 8 mois
- Noté 4 sur 5par Utilisateur ou utilisatrice 14171529 de Firefox, il y a 8 mois
- Noté 5 sur 5par bioxzard, il y a 8 mois
- Noté 5 sur 5par david demri, il y a 8 mois
- Noté 5 sur 5par Александр, il y a 8 mois