Access old-style Firefox extension's preferences when porting to WebExtensions
问题 My XUL-based Firefox extension stores data in preferences. Is there a way to access this data once when migrating to a WebExtension version? I am aware of https://wiki.mozilla.org/WebExtensions/FAQ#Does_the_WebExtensions_API_provide_access_to_preferences.3F but hope there is a solution for this specific use-case. 回答1: Depending on the number of preferences, there are a few options: discard them and let your users set them again after upgrading read them using an external program which