Hacker News new | past | comments | ask | show | jobs | submit login

Hm, this makes me think about my personal website, which uses a fancy Javascript fade-in because I like fancy animations (and the site is partly my playground to do what I want). However, I also have a noscript stylesheet to ensure the website is functional without Javascript.

Does anyone know what that means for e.g. flaky mobile browsers?




<noscript> is only activated if JS is actively disabled. None of these failure modes will trigger it. You can use onerror="foo" on <script> tags though

EDIT: Actually the data saver thing is called "noscript" so you'd hope it'd activate the tags. Network failures though will trigger onerror and leave the rest up to you




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: