nick
It uses other signals too, like what other sites you’ve visited with that checkbox on it, what CloudFlare has seen your IP address doing in the past, etc.
The google one is able to see if you’re logged into a google account and take that into account.
There’s even a new variant of the Google captcha that is invisible and doesn’t even bother to show a checkbox.
This reminds me of a great video about this sort of principle in reverse: https://youtu.be/wBBnfu8N_J0
lemmy.world is down right now and your app is showing the raw HTML that is being returned (a CloudFlare 502 page)
The IDE support based on JSDoc is typescript (at least it is in all the ones I know about). They’re just using TypeScript’s JSDoc annotation support under the hood.
I’m not sure what you mean about the “heavy JS env” though, it’s just calling tsc
in your package.json
or whatever build script you’re using (or even if none, it’s one command).
Whatever you do, I’d recommend using Typescript to give you some type safety with your JS.