Browser Sync Plug-in

The existing one is not working, we can make it simpler by splitting it into two parts, 1. local sync via files and 2. remote hosted full sync across devices.

Local sync…

We can do onbeforeunload or onunload on a website to save stuff before closing, or maybe onclose would be better? Not sure. Anyway, Somehow we make sure closing the browser won’t miss any changes. We can start with bookmarks only, stored locally in a place set by the user on first use. That place can be common across other browsers too, e.g., user/home/browsersync.json or whatever it is, so then when i open another browser, I can set the same path and this would sync all browsers that I want synced… Maybe there’s a better way I don’t know of. bookmarks could be a selection like “sync bookmarks,” and then if there are differences, it can ask to remove from source or add to destination, much like in a backup thing like freefilesync. The bookmark one would be the first and later we would be able to add other things like plugins (dependend on if the plugin exists for the other browser, e.g. all Chrome-based would be ok but some would be missing on firefox, in which case, ignore). Or specify an equivalent maybe? Or better perhaps to have separate lists for each main type?