EltonChou / TwitterMediaHarvest

Download twitter media with only one-click.
https://chrome.google.com/webstore/detail/media-harvest-twitter-med/hpcgabhdlnapolkkjpejieegfpehfdok
MIT License
374 stars 32 forks source link

[BUG] Can't Export History from Firefox 4.2.0 Version #152

Closed EricPTG closed 1 month ago

EricPTG commented 1 month ago

Describe the bug I used the latest .xpi file to update my Media Harvest Firefox extension from 4.2.0 to 4.2.5, but both versions are listed as separate entries and I can't seem to get my download history to export from the 4.2.0 version. I referenced this page from another user:https://github.com/EltonChou/TwitterMediaHarvest/issues/139 but when entering the export command into the console I get an error every time.

To Reproduce Steps to reproduce the behavior:

  1. Go to the Media Harvest Extension History page
  2. Open Firefox's Console and paste "await browser.runtime.sendMessage({action: 4})"
  3. See error

Expected behavior From my understanding I should be given a JSON file to import into the 4.2.5 version of the extension.

Screenshots image

Desktop (please complete the following information):

EltonChou commented 1 month ago

v4.2.0 doesn't have history exporting feature and this feature is for development usage.

EricPTG commented 1 month ago

Unfortunate to hear. Is there anyway to transfer the data between versions then or should I just start off fresh?

EltonChou commented 1 month ago

The history was stored in the Indexed DB. If you know how to manipulate it, you can export the history easily.

EricPTG commented 1 month ago

Sounds good. Thank you for your help!