Closed eklem closed 5 years ago
Check if key/value with Zapier webhook is set in indexedDB, if so, update href for bookmarklet, show button with link and hide form for inserting Zapier link
Store the following
The last part is to open up for having several search engines in nowsearch.xyz. Should be optional.
Check out Sanity.io for later use.
Will most probably work with Sanity.io through the http api. Need three info nuggets:
Just use localstorage for now: https://codepen.io/cfjedimaster/pen/KodaKb
Closer now, so keeping the indexedDB approach. Check the promise-example to get further: https://dexie.org/docs/Tutorial/Getting-started
Now able to add a stringified object to a content-field. Can pick up each table row with [where key equals...](https://dexie.org/docs/WhereClause/WhereClause.equals())
This is the way to go. Will make it easy to combine a lot of different services in one key/value table.
Storing stuff like no tomorrow.
Then it can be universally used, and no problem with people sharing secret keys.