keithjgrant / omnibear

A Micropub browser extension
MIT License
36 stars 8 forks source link

Switch from localStorage to storage API #89

Open keithjgrant opened 5 years ago

keithjgrant commented 5 years ago

Also just chiming in since I saw the notifications, and I may have mentioned this elsewhere, but you're not really meant to use local storage with extensions.

There is an api for storing data with extensions: https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/storage

Originally posted by @grantcodes in https://github.com/keithjgrant/omnibear/pull/85#issuecomment-476178458