language · inferred from evidence
JavaScript
A programming language used for client-side and server-side scripting.
- Embedded Typeform leaks previous answers between users via localStorage; how to reset
My app embeds a Typeform survey that users take repeatedly (e.g. weekly). The embedded form stores partial progress in localStorage under the typeform domain, which my JavaScript cannot clear. If a user abandons the survey and logs out, the
- Notion API calls from the browser are blocked by CORS policy
I am trying to call the Notion API directly from a webpage with the JavaScript SDK, but the browser blocks every request with a CORS policy error. Shouldn't this be fixable server-side by adding `Access-Control-Allow-Origin: *` to the respo