New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disabling JavaScript in Chrome doesn't trigger <noscript> #9
Comments
It could be a couple things, I know Chrome has a history of ignoring (or forgetting) how Another issue could be your Doctype, to my knowledge Have you tried testing it in FireFox? |
In Firefox it indeed works like a charm. For the sake of my current project, I hope no one is running Chrome and has JS disabled at the same time. Weird. |
Hi @DivineDominion and @aicarlson, Browsers pre-load images before any HTML, CSS or JS is applied. This makes it basically the same if you put an image in the This because as long as there is a
So in short: If you would like to create a fallback for non JS users (even though they will load two images). Then you could do something like:
Instead of:
You can read more about this in the "Truly Responsive Images with responsive-images.js" article under the heading "No src attribute?". Let me know what you think. :) |
Yep. Makes sense. |
If you know how to test for the
<noscript>
path, please add a note to the Readme. Disabling JS in Chrome does prevent script execution. Meanwhile, the<noscript>
tag is ignored, it seems.What's your setup to test this?
The text was updated successfully, but these errors were encountered: