Comment by pwdisswordfish2
5 years ago
"No fancy fonts, no javascript, no nothing."
Truthfully, there is some Javascript. For example, onclick(). Voting without Javascript requires some extra effort.
5 years ago
"No fancy fonts, no javascript, no nothing."
Truthfully, there is some Javascript. For example, onclick(). Voting without Javascript requires some extra effort.
True, but doesn't this even save bandwidth because it doesn't need to reload the whole page just to update that detail? Either way it still works without JS, which can't be said about most modern websites.
"... which can't be said about most modern websites."
While I understand and agree with your point, I have personally found this quoted portion to be a false assumption.
To me, "works" means I can retrieve the content of the page without using JS. If the websites we are discussing are ones where the primary purpose is reading, like HN, most will "work" for me without JS, so long as I do not rely on try using a "modern browser" to retrieve the content. In fact, I cannot even think of a single website meant for reading that I cannot read without a Javascript-enabled browser.
Any newspaper website with a paywall or cookiewall or anti-adblock thingy maybe?
That's not much readable without some trickery
1 reply →
> without some extra effort
Thanks for the riddle! I guess you could use iframes?
Edit: Ohhh and you could use data-urls as iframe src, so as not to make a large number of requests.
This is JavaScript done right and worth keeping enabled.