Legacy extension to WebExtension - data migration

Hello,

I’ve seen some threads about data migration written a long time ago, so wanted to double check:

Our legacy firefox extension is saving data in JSON files under a folder in the current profile folder. With WebExtensions, we cannot access those files. Is there a way to access them that we’ve missed?

The only suggested migration path I’ve seen is to implement an intermediate extension that transfers the data somewhere else, then upgrade to the webextension format. But I don’t see that working for us for a variety of reasons.

Thanks for any insight you can provide.
Robin

There are 2 possible options:

1- Make an interim embedded WebExtension then pass the data from the legacy code to the WebExtension and then save it with WebExtension storage.

2- Create an import option in the WebExtension so users can open the the old storage with file input, and import the data into the new WebExtension.

1 Like