4 ms·
I respect Do Not Track on my site. If you enable that the Mixpanel code will not be loaded. On the other hand, nearly all my network interactions are AJAX. I ju
by TACIXAT 11y ago
I respect Do Not Track on my site. If you enable that the Mixpanel code will not be loaded. On the other hand, nearly all my network interactions are AJAX. I just tested it and you can't even login with NoScript running (because I hash your password client side before sending it). My site was actually pretty laughable without JS, I'll have to make something that warns people.
I'm a programmer though. When I wanted to build a site I threw in some basic HTML, grabbed a CSS framework, and then I wrote a ton of lines of JS. That's just how building webpages makes sense to me.
- pdkl95 11y ago> warns people That can be an acceptable solution (or at least a workaround). It is always important to provide usable error messages when writing software. It is reasonable for some things to not work without JS. That's the whole point behind progressive enhancement, which is really just defensive programming. You never assume things worked, for the same reason you should always be checking return values for errors. How you respond to an error is something the programmer has to decide because sometimes you can simply continue without some feature, while other times making sure the user sees an error message is important.