control-panel-for-twitter icon indicating copy to clipboard operation
control-panel-for-twitter copied to clipboard

Sync or export/import settings

Open ThiefMaster opened this issue 2 years ago • 6 comments

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.

ThiefMaster avatar Jan 24 '23 00:01 ThiefMaster

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

zopieux avatar Jan 27 '23 22:01 zopieux

Oh, I didn't mean mobile. I meant e.g. between home and work desktop or desktop and laptop.

ThiefMaster avatar Jan 27 '23 22:01 ThiefMaster

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:

zopieux avatar Jan 28 '23 01:01 zopieux

+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.

grand-lotus-iroh avatar May 02 '23 16:05 grand-lotus-iroh

  • [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

insin avatar Sep 13 '23 03:09 insin

+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.

marlonjames71 avatar Aug 11 '24 17:08 marlonjames71