control-panel-for-twitter
control-panel-for-twitter copied to clipboard
Sync or export/import settings
Would be great to quickly get the same settings on all your computers. Sync would be preferred, but event a simple import/export with e.g. JSON to copy and paste would already help.
This doc is 8yo (!) but it says different device types (mobile / desktop) won't get extension settings synced: https://wiki.mozilla.org/Services/Sync/Addon_Sync
Oh, I didn't mean mobile. I meant e.g. between home and work desktop or desktop and laptop.
Yeah, gotcha. I was just settings expectations (assuming the doc is still current).
To the point of this issue, I believe it's a matter of using the correct storage.sync
API for storing preferences:
https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/storage/sync
https://developer.chrome.com/docs/extensions/reference/storage/#storage-areas
instead of storage.local
which by design won't be synced across devices:
https://github.com/insin/tweak-new-twitter/blob/master/options.js#L370
Hell, this is probably a 9 byte diff fix. :smile:
+1 for desktop import / export .JSON (or whatever) and optional sync. It would be cool if I could store an export file into my password manager and whenever I play around with new browsers I can more easily use this plugin.
- [x] Export - currently in the debug options (click the last paragraph in the options 5 times to reveal)
- [ ] Import - WIP: https://github.com/insin/control-panel-for-twitter/tree/import-config
- [ ] Expose in new options section
+1 for this. The experience of applying the settings across multiple browsers is time consuming. Would be much better if we could export the settings and import them on the extension in another browser. Check out how Untrap does it. Something like that would be perfect.