News for hackers. Stuff that matters.
Re:The modern web is becoming unusable by danShumway on Friday December 20, 2019 @08:38PM (#21848983)
Somewhat related series of PSAs:

Nitter is an Open Source alternative front end for Twitter that requires zero Javascript to run, and it's really good, and is way nicer than Twitter's own UI, and yall should use it. I see Twitter threads hosted on HN all the time, and I kind of wish more of the posters would link to Nitter's public-facing instance instead of Twitter. I think its interface is just objectively better than Twitter's for browsing.

Invidious is an Open Source alternative to Youtube that is also really good and requires zero Javascript, but unfortunately it suffers from a lot of performance problems and videos will occasionally refuse to load -- Youtube is I think more hostile about throttling/blocking that kind of stuff, and proxying videos is probably harder than proxying tweets. You can donate to Invidious though, which might help them afford more powerful hardware.

In regards to Medium -- if you disable Javascript those popups will all vanish, and for the most part all you'll be missing out on is comments and occasionally a lazy-loaded image. It's amazing how much of the web (particularly news) works fine without Javascript, and getting rid of it gets rid of a lot of these annoying popups and requests. Use uMatrix, it makes it really easy to turn Javascript off by default and whitelist as necessary. And every person who disables Javascript is one more tiny audience metric to make it ever-so-slightly harder for news sites to ignore progressive enhancement.

Re:The modern web is becoming unusable by dotancohen on Friday December 20, 2019 @09:24PM (#21849187)

  > It's amazing how much of the web (particularly news) works
  > fine without Javascript,
It's amazing that any content would require Javascript. Web applications I understand, but content (particularly news) should have no need for scripting.
Re:The modern web is becoming unusable by jm4 on Friday December 20, 2019 @10:01PM (#21849314)
They use it to auto play all their shitty videos. That auto play nonsense is ruining so many things for me. I don’t want any movement or sound on a page that I’m trying to read. It’s insane that content producers think it’s a good idea.
Re:The modern web is becoming unusable by t34543 on Friday December 20, 2019 @10:39PM (#21849433)
It’s insane that a certain demographic responds positively to overstimulation, affirming these choices.

I’m an avid cooker and I fucking hate the auto play video on serious eats.

I like to think the people reading that content are not as susceptible to annoying webpages but I think I am wrong.

Re:The modern web is becoming unusable by pixelrevision on Saturday December 21, 2019 @08:29AM (#21851121)
Analytics don’t provide context. My wife hates autoplay videos and those “blog posts” that now appear before all the recipes. Unfortunately turning off the video and having to scroll around trying to find the recipe is increasing her “engagement”.
Re:The modern web is becoming unusable by satyrnein on Saturday December 21, 2019 @10:19AM (#21851545)
Recipes can't be copyrighted and are basically undifferentiated. I suspect the resulting strategy is to try to hook you with the commentary, so that you like or relate to the author, making future visits more likely.

The relevant metrics would be things like returning visitors, not necessarily time on site or clicks on "mute".

Re:The modern web is becoming unusable by DanBC on Saturday December 21, 2019 @05:58AM (#21850731)
The problem isn't so much that videos autoplay.

The problem is that there's no way for people to set it to "off" as an option, and that any time this option is suggested or implemented someone will see how they can override it, because "people don't really want to block the videos our our site".

Re:The modern web is becoming unusable by acheron on Friday December 20, 2019 @11:04PM (#21849538)
I set up a whole separate style with Stylus to get rid of the autoplay videos on Serious Eats. Also fixed up their site in a couple other ways as well.
Re:The modern web is becoming unusable by square_usual on Saturday December 21, 2019 @12:18AM (#21849771)
You can block autoplay on Firefox without having to use any extensions.
Re:The modern web is becoming unusable by turkeydonkey on Saturday December 21, 2019 @02:41AM (#21850197)
I have ADHD and discovering that setting was a godsend. It's definitely reduced the number of ublock origin rules I've had to create.
Re:The modern web is becoming unusable by boring_twenties on Sunday December 22, 2019 @04:12AM (#21856083)
about:config

media.autoplay.enabled = false

Re:The modern web is becoming unusable by userbinator on Friday December 20, 2019 @11:58PM (#21849717)
If it's an embedded video that sits there waiting for me to click it to play, it may actually get a chance of being viewed. If it starts playing and distracts me, then chances are I will just click the Back button.
Re:The modern web is becoming unusable by andai on Saturday December 21, 2019 @08:14AM (#21851079)
It was surprising to me that disabling JS not only keeps most sites usable, but significantly improves the experience on most "modern" sites.
Re:The modern web is becoming unusable by userbinator on Saturday December 21, 2019 @08:39PM (#21854560)
I've always had JS off by default but one day, many years ago, fell for one of the "you have JavaScript disabled, please enable it for a better experience" banners (on a site that did not need it at all) that you'll see everywhere you go without JS, and tried it on for a moment. The page that was perfectly usable without JS became filled with mounds of ads (with sound!) and all kinds of other distracting moving blinking shit. Selecting text caused more bullshit to appear. Nope. Not falling for that again... Since that time, I've become even more suspicious of sites that ask you to do something and promise a "better experience", and have developed better intuition for when a site actually requires JS (honest-to-God interactive web applications, good ones exist but not many) or just wants to use it to shove more crap down your throat.
Re:The modern web is becoming unusable by ljm on Saturday December 21, 2019 @09:04AM (#21851228)
I wonder how much of that is some marketing department spamming up the page with google tag manager and not caring about the impact on the design (i.e they block the ads themselves or never read the site on mobile).

Most of the worst web UX I’ve ever seen has been through browsing a news site in landscape mode on a mobile. You’re lucky if you can actually read anything at all with the sticky headers, popup banners, modals that don’t fit the screen and break scrolling, and floating videos.

Re:The modern web is becoming unusable by james-skemp on Saturday December 21, 2019 @08:22PM (#21854487)
Or a marketing department worked with an agency.

Not representing my company, etcetera, but some agency ours used turned on all the default settings, and rarely goes back to turn off trackers for campaigns they're no longer running. When someone in house was managing he had only turned on what was required, and cleaned up old campaigns.

I also worked with a user Friday who had noticed links via emails were no longer working. Turned out ublock/Firefox was stopping at the iContact tracking URL. She wasn't sure who to report it to, and wasn't using iContact for her emails, so sat on it until she ran into it when we were meeting.

Based on personal experience, marketing groups usually use whatever their IT department approves, and if they're managed, certain browser settings are being pushed to whitelist these based upon users saying things aren't working. Easier to just push a setting than explain best practices.

Re:The modern web is becoming unusable by sidewndr46 on Saturday December 21, 2019 @11:40AM (#21851993)
More likely they just never read the site in the first place.
Re:The modern web is becoming unusable by boring_twenties on Sunday December 22, 2019 @04:12AM (#21856080)
The best is when I start reading an article, make it to the second page, and then it starts autoplaying. Now I have to scroll back to the top to shut it off.
Re:The modern web is becoming unusable by heavyset_go on Friday December 20, 2019 @11:00PM (#21849513)
NoScript solved this problem for me.
Re:The modern web is becoming unusable by rubyfan on Saturday December 21, 2019 @09:55AM (#21851422)
A long time ago we used to cache static content and then use ajax to bring in anything dynamic like user preferences, comments, etc.

Those were mostly superfluous adds to experience on top of the content. It’s been a while but I’d like to believe if you didn’t have JS our content still functioned.

Now with things like Vue and React I see simple web pages with a loader in between what should be static content. Seems crazy to me.

Re:The modern web is becoming unusable by mehrdadn on Friday December 20, 2019 @10:11PM (#21849350)
Infinite scrolling needs Javascript, and it's pretty useful for some sites that have feeds.
Re:The modern web is becoming unusable by bjelkeman-again on Saturday December 21, 2019 @02:53AM (#21850233)
Oh, infinite scrolling pages with links at the footer, like Privacy policy and About, which you never are able to click. I always wonder who thought that was a good idea.
Re:The modern web is becoming unusable by smcameron on Saturday December 21, 2019 @01:09AM (#21849901)
Fuck no it isn't. Infinite scrolling has no valid use case.
Re:The modern web is becoming unusable by mattowen_uk on Saturday December 21, 2019 @08:53AM (#21851174)
It's only valid use case, is to keep the sheep glued to their phones. In that aspect it's totally succeeded.
Re:The modern web is becoming unusable by RHSeeger on Saturday December 21, 2019 @09:54AM (#21851417)
I use Reddit Enhancement Suite, and one of the features it adds is autoloading the next page when I get to the bottom of the current one. It's really nice.
Re:The modern web is becoming unusable by rolph on Saturday December 21, 2019 @02:26PM (#21852869)
i think it might be handy if you want a web game rather than a document.
Re:The modern web is becoming unusable by torgoguys on Friday December 20, 2019 @10:38PM (#21849430)
Please give me paged results instead of infinite scroll.
Re:The modern web is becoming unusable by zzo38computer on Friday December 20, 2019 @11:41PM (#21849662)
I agree. Paged results can be used instead. However, what might be good is a new kind of HTTP range request, and possibly some way to programmatically delimit each result in a HTML document.
Re:The modern web is becoming unusable by bmn__ on Saturday December 21, 2019 @12:59PM (#21852437)
That's already in HTTP/1.1, the Range header comes with units. The standard defined "bytes", but a Web developer can also use more granular units, for example "items". (See <http://www.iana.org/assignments/http-parameters#range-units>...) I've seen that in the wild a couple of times in the context of JSON based request/response pairs.
Re:The modern web is becoming unusable by zzo38computer on Saturday December 21, 2019 @02:17PM (#21852820)
I was aware that the Range header has units; I did not know of any units other than "bytes", though.
Re:The modern web is becoming unusable by roenxi on Saturday December 21, 2019 @03:49AM (#21850387)
Speaking as someone who browses the web with JavaScript disabled:

To the sort of person who installs NoScript breaking infinite scrolling is one of several advantages. Infinite scrolling is a great tell that there is an infinite amount of content with no marginal value.

Re:The modern web is becoming unusable by eyelidlessness on Saturday December 21, 2019 @08:40AM (#21851147)
You know "infinite scroll" isn't literally infinite right? It's just a next page button triggered at a scroll offset.
Re:The modern web is becoming unusable by tanseydavid on Monday December 23, 2019 @10:15PM (#21869571)
Of course it is not literally infinite, but when viewing a stream like LinkedIn for example, it may as well be infinite in practice.
Re:The modern web is becoming unusable by boring_twenties on Sunday December 22, 2019 @04:14AM (#21856092)
It's nowhere near as good as a next page button.
Re:The modern web is becoming unusable by eyelidlessness on Sunday December 22, 2019 @08:12AM (#21856955)
I didn’t say it is (I think it’s conditional on the type of interface and data involved)
Re:The modern web is becoming unusable by bloaf on Saturday December 21, 2019 @11:37AM (#21851976)
Visit any infinite scrolling site and click on the link associated with an item in the list. Hit the back button.

Q: Where are you in the list now?

A: It is impossible to know because no two sites behave the same way. You will not be anywhere near the item you clicked on in the majority of cases.

Re:The modern web is becoming unusable by heavyset_go on Friday December 20, 2019 @11:04PM (#21849534)
I've run into too many sites and apps with poorly implemented infinite scrolling from a usability and resource consumption viewpoint.
Re:The modern web is becoming unusable by Erlich_Bachman on Saturday December 21, 2019 @04:07AM (#21850437)
Infinite scrolling is an appalling travesty of a UI pattern.
Re:The modern web is becoming unusable by mycall on Friday December 20, 2019 @11:25PM (#21849608)
don't need infinite scrolling if the end of the page has a huge button that says "more"
Re:The modern web is becoming unusable by jibbit on Saturday December 21, 2019 @02:34AM (#21850178)
No - this is still infinite scrolling
Re:The modern web is becoming unusable by 3xblah on Saturday December 21, 2019 @03:13AM (#21850283)
An objective person reading this comment, who otherwise knows nothing about this subject, might ask "If the so much of the web works without Javascript, then why is Javascript enabled by default."

Google just made changes that require users to enable Javascript in order to log on, e.g., to check their email via the web. The rationale for compelling users to make themselves easier for Google to track can be exaplained away as a "security measure".

Google also recently made changes to Chrome that make it impossible to globally disable Javascript for all websites in Guest mode.

Re:The modern web is becoming unusable by deith on Saturday December 21, 2019 @05:19AM (#21850629)
Nitter might not require Javascript to run, but it's everything but fast.

Every page that's not cached takes several seconds to generate. It's not much better to show a white page for seconds than it is to show a skeleton page and then load the data using javascript.

Also they have taken the decision to proxify all images/avatars through their own servers. Why? And if you do that, at least set appropriate cache headers! Every time I visit a page inside Nitter every single image loads again even if I've seen it already.

Re:The modern web is becoming unusable by jonfw on Saturday December 21, 2019 @09:41AM (#21851350)
> at least set appropriate cache headers!

This seems like some pretty good actionable advice. It might be a good idea to make this an issue on their github page.

https://github.com/zedeus/nitter

Re:The modern web is becoming unusable by danShumway on Saturday December 21, 2019 @11:08AM (#21851802)
> Also they have taken the decision to proxify all images/avatars through their own servers. Why?

Privacy. I trust the devs of the Nitter instance I use more than I trust Twitter, and I like that Twitter has (at least somewhat) more difficulty knowing what IP is requesting what.

Better caching would be nice, but in general, I've found Nitter's speed to be fine. It's not amazingly snappy, and because it's proxying from Twitter it's probably never going to be faster than Twitter. But I've never been tempted to load Twitter to get around speed issues. Invidious on the other hand...

My guess is speed might also be affected by your region? I would be very surprised if Nitter's instance is trying to set up global CDNs or anything. It's probably just a couple Linode servers somewhere.

Re:The modern web is becoming unusable by im3w1l on Saturday December 21, 2019 @01:44PM (#21852647)
Invidious isn't proxying the video, just embedding it. If you block third party requests from invidio.us to googlevideo.com, you wont see any clips.
Re:The modern web is becoming unusable by iteratorloopmap on Sunday December 22, 2019 @04:50AM (#21856204)
I'd like to add that we can use ublock origin as well with JS-Off-By-Default.