News for hackers. Stuff that matters.
Re:HTTP/3 explained by Asooka on Tuesday February 05, 2019 @10:32AM (#19086153)
It's sad that the site doesn't work without javascript. We had this exact navigation working with iframes 20 years ago. And I could resize the TOC on the left back then.
Re:HTTP/3 explained by cupofjoakim on Tuesday February 05, 2019 @10:36AM (#19086189)
Hey, javascript is fundamental to web today, unlike 20 years ago. Even if a site like this definitely wouldn't need javascript since it's so simple, there really isn't much of a trade-of since less than one percent of all visitors are likely to have javascript disabled.
Re:HTTP/3 explained by mrspeaker on Tuesday February 05, 2019 @10:46AM (#19086332)
I disagree JavaScript is fundamental to the web - I'm a huge JavaScript fan (top 1% I'd say), and write it for my job... I've written a few books on it even... but I always use noscript when browsing the web: hackernews, reddit, twitter - can all operate fine without JavaScript. Dodgy third-party ad scripts/malware do need it, but I don't really want them running anyway.

Yes, 20% of sites I load are either a blank page or "You need to enable JavaScript to run this app" (it's the new "An error has occurred"). If it's a friend's site, or something that obviously needs it - like a game, or art project - then I'll temporarily whitelist it. But if not, then hey, I just got a 20% productivity boost by saving some time on whatever it is that thinks it needs JavaScript!

Re:HTTP/3 explained by x15 on Tuesday February 05, 2019 @11:55AM (#19087088)
Most if not all ads can be blocked with an ad blocker like uBlock origin.

I used uMatrix myself in the past (I also used NoScript a much longer while ago), but it requires too much time to cherry pick the remote hosts (usually CDNs) and files to allow.

Re:HTTP/3 explained by corebit on Tuesday February 05, 2019 @11:01AM (#19086520)
Hacker News works great without javascript.

I browse with no javascript a large proportion of the time.

The web is so refreshingly fast without all the scripts.

Re:HTTP/3 explained by zzzcpan on Tuesday February 05, 2019 @11:11AM (#19086606)
Authors own user-agent doesn't do javascript.
Re:HTTP/3 explained by 3xblah on Tuesday February 05, 2019 @11:02AM (#19086525)
I was able to access all the content as either html or md. I could also download PDF and other formats. I am not using a javascript-enabled browser.
Re:HTTP/3 explained by zamadatix on Tuesday February 05, 2019 @10:56AM (#19086464)
There is a way to make an iframe in the body of the page change by clicking the navigation bar in the main page without reloading the main page/navigation bar?
Re:HTTP/3 explained by thefreeman on Tuesday February 05, 2019 @11:01AM (#19086517)
yea you put a target on the anchor tag with the name of the iframe
Re:HTTP/3 explained by tracker1 on Tuesday February 05, 2019 @12:48PM (#19087587)
exactly, same as with a frame... I haven't done much with resizable iframes in a while, but I do remember that at least in the v5-v6 browser era that iframes wouldn't resize properly to match their containers without JS to handle the event, I'm unsure if this is still true, as I haven't really done anything with iframes in nearly a decade now.

aside: used to use/implement something like ajax callbacks with hidden frames and dynamic form posts.

Man, I love JS/Browsers today over pre-2016.