Live data from Hacker News

Apparently CodePen 2.0 sends data to their servers as you type

news.ycombinator.com

1–10 of 69 posts

Apparently CodePen 2.0 sends data to their servers as you type

#1
They send all typed into editor input to codepen.dev almost immediately (you would see in 1-2 sec after you typed your secret that it appears in respective Network/Response tab) even before one saved it. I tested this with a unique marker: after typing it into index.html, CodePen ran a build with "save:false", and the marker then appeared verbatim in the HTML served from the generated "*.codepen.dev preview". Thus, if you ever entered some secrets in there by mistake consider them compromized even if you did not publish/save the pen

Re: Apparently CodePen 2.0 sends data to their servers as you type

#6
post #2

because this is how autocomplete logic works i guess? Frontend cannot guess language and completions for you

Well, except for the cases when you happen to have the entire VM for your language running in the same tab where you program lives, and they both are all JS.

Probably harder, and wouldn't work equally well for everyone, but it would be possible to have "guess language and autocomplete" entirely client-side, especially when it comes to JavaScript of all languages.

Re: Apparently CodePen 2.0 sends data to their servers as you type

#7
post #4

You're gonna be shocked how many input fields do this for various UX features :)

HotJar and similar services are (were?) popular as well, and those record your mouse pointer movements and clicks as well, then displays that as an overlay over the application, so it's essentially a "screen recording" of your session of the application.
Post reply on HN