WebMemex / webmemex-extension

📇 Your digital memory extension, as a browser extension
https://webmemex.org
Other
208 stars 45 forks source link

Listen to / sync with browser bookmarks #12

Closed Treora closed 7 years ago

Treora commented 7 years ago

We want some easy way to explicitly mark an item as important. Perhaps solvable just by listening to the normal browser add/delete bookmark events.

We could try keep the 'memory bookmarks' in sync with the browser bookmarks (and mirror their folder structure with groups/tags/links?). Questions arise when syncing memory (but not browser bookmarks) between multiple browsers, or when importing from (/ syncing with) other bookmarking services, etcetera.

blackforestboi commented 7 years ago

Another idea is to just listen to the onCreated event of the bookmarks-API: https://developer.chrome.com/extensions/bookmarks#event-onCreated

If we cannot listen to it, maybe just periodically check of new bookmarks were added by querying the bookmarks API.

Treora commented 7 years ago

Another idea is to just listen to the onCreated event of the bookmarks-API: https://developer.chrome.com/extensions/bookmarks#event-onCreated

Exactly what I meant with listening to normal browser bookmark events.

I recommend using the MDN docs by the way rather Chrome's, as it is adapted for cross-browser development.

Treora commented 7 years ago

Let's first figure out how we want approach bookmarking at all, and then consider ways of intergation with browser's bookmarks.