webextension-pixiv-toolkit icon indicating copy to clipboard operation
webextension-pixiv-toolkit copied to clipboard

Recovery history

Open TestPolygon opened this issue 5 years ago • 3 comments

The first thing: What is it? What does it do? Why do I see this message that I can "Recover history"?

The second: It does not work. (?)

I see "Recovery history (Total: 4000)". I click on it. I see the progress bar. I reload the page. And I see "Recovery history (Total: 4000)" again. It does not work (I assume).

TestPolygon avatar Sep 10 '20 15:09 TestPolygon

I have just installed the extension. I watched one art. And I already have the active "Recovery history (Total: 1)" button.

TestPolygon avatar Sep 10 '20 16:09 TestPolygon

Tested. It works for me. Need more information.

When you visit a artwork, it will be saved in history which using indexeddb and it also be saved in "history recovery area" which using chrome extension storage. The indexeddb is maintained by browser and it will be delete by browser in some situations which will cause history data lost. But the chrome extension storage is maintained by extension, so if when history data lost you will have a chance to recovery some lateset history data.

leoding86 avatar Sep 11 '20 13:09 leoding86

Well, even if it works, it's not looking working. It's not obviously (even for the people familiar with web development) that this button do.

It would be nice if this button will be inactive if there is no need. And add a short description at least in title that it does.

Also is did not find any info that the exclusion (eviction) policy applies on web extension's indexedDB. Only this question: https://stackoverflow.com/questions/62700649/is-the-browser-extension-storage-persistent Do you have any other info about it?

TestPolygon avatar Sep 14 '20 13:09 TestPolygon