|
|
|
|
|
by 10165
3312 days ago
|
|
"Javascript Required."
"Oh snap! Your browser doesn't support Javascript." I have seen so many of these Javascript-only "websites" posted on HN I am wondering is this coming from some web development template? How difficult is it to have a page with text for those not using Javascript? Something like <html class=nojs>
<p>This website was designed for browsers that run Javascript. Are you using one? Here are some examples of browsers that work well with our website: browser1, browser2, etc. Alternatively, a no-JS version of the website is available <a href=https://blockstack-site-api.herokuapp.com/v1/blog-rss>here</a>.</p>
</html>
There are of course other ways to do this. The point is that it can be done and is not difficult.For those not using or with Javascript disabled: https://github.com/blockstack/blockstack-core And a blog curl -o 1.htm https://blockstack-site-api.herokuapp.com/v1/blog-rss
tr -cd '\12\40-\176' < 1.htm > 2.htm
xyz 2.htm
where xyz is some program that displays html or rss. |
|
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/no...