Hacker News new | ask | show | jobs
by majika 4130 days ago
For some reason, the author disallows people from viewing pages on his site without running scripts from his domain and from jquery.com.

You can get around this by opening up your web inspector, and disabling the `hidden: true` rule on the top `container` element.

Nothing on the page (or in related linked pages on his site) seems to require JavaScript.

3 comments

In Firefox, even easier than that:

View/Page Style/No Style

Then reload.

I think the No Style menu item should have a middle finger for an icon.

>For some reason, the author disallows people from viewing pages on his site without running scripts from his domain and from jquery.com.

Sort of ironic for a site that teaches and recommends Unix.

The modern web is scriptable and the days of "no javascript" are over. If you turn off javascript, you are one of less than 2% of the web that does so but you know what you did and the consequences so you also know how to fix the problem.
But the days of accessibility and sane fallbacks shouldn't be over. If a page decides to to generate navigation elements with javascript (like this page), that's weird but ok. But needlessly denying access to anyone who isn't willing or able to run these scripts should remain unacceptable.
Most of the stuff I read online can very well be plain markdown files. Most of the stuff I _do_ however can't work without JS. The fact that we're so reliant on JS indicates that the "modern" web stack is in dire need of a complete rethink.

PS: Only slightly related, but I'm currently working on a SMTP replacement that focuses on speed, privacy, and ease of use. I believe that if more people would do this, at some point some new technologies will stick and we'd get rid of the (bad) 80s-90s stuff.

> The modern web is scriptable and the days of "no javascript" are over.

But why should we accept this? Why does it justify pages like this one, that don't need javascript but deliberately fail if you don't enable it?

Because the marketing guys want it and to write for fallbacks takes time. While this instance is not about marketing, my point is that turning javascript off makes you one of the few and I would have to determine if that 2% is worth the effort.

Some companies won't target your browser if you have less than 5% market share. Even 10% market share. So imagine when I find out you are less than 2% market share (no js users).

For my web dev company, we have about 10 clients. None of the visitors have ever had javascript turned off that I'm aware of over the last several years.

>The modern web is scriptable and the days of "no javascript" are over.

That doesn't mean the days of "designing without javascript" are over, though. HTML and CSS work more or less the way they always have.

While I agree pages shouldn't fail without javascript, there are plenty of ecommerce sites out there now that fail without it for the very reason I stated: those with javascript turned off are less than 2% of all visitors.
If I have to go to a site to do business (for example, my bank's site), then I'll do whatever it takes; if that means running JS, yes, I'll run JS. (And I expect my bank to have reliable JS that isn't going to do something nasty.)

If I don't have to go to your site, and it wants to force me to use JS when it doesn't need JS (for example, when it's basically a bunch of static text), then I'm just not going to visit your site. If that's ok with you, it's ok with me.