News for hackers. Stuff that matters.
Re:W3C Leaves Twitter by superkuh on Wednesday December 06, 2023 @01:14PM (#38547506)
I clicked hoping the w3c mastodon site would have HTML. But nope, just another mastodon v3+ that only does anything if you run javascript. The w3c should try to do better. It wasn't possible with twitter but it is with mastodon.
Re:W3C Leaves Twitter by zimpenfish on Wednesday December 06, 2023 @01:21PM (#38547628)
You can choose your own frontend to login with though, can't you? Like Brutaldon[1] which is bare-bones if you want that.

[1] https://brutaldon.org/about

Re:W3C Leaves Twitter by superkuh on Wednesday December 06, 2023 @02:54PM (#38548673)
Is there a way to use this without having an account on the mastodon server? I just want to use my web browser to read text on a web page.
Re:W3C Leaves Twitter by zimpenfish on Wednesday December 06, 2023 @03:02PM (#38548766)
I don't think there is - it's specifically designed to be a user frontend.

Although it should be possible to whip up a text-friendly view of a server you're not logged into assuming they allow non-authenticated access to the API.

Re:W3C Leaves Twitter by organsnyder on Wednesday December 06, 2023 @01:57PM (#38548051)
Does the W3C have any priorities to promote HTML-only sites? Otherwise, what's the problem? There are (of course) many good reasons to not require Javascript, but just because the W3C oversees the HTML standard doesn't mean they can't also use complementary technologies.
Re:W3C Leaves Twitter by idop on Wednesday December 06, 2023 @02:10PM (#38548191)
The problem isn't that the website is not HTML-only, but rather that it is JavaScript-only (practically-speaking). If you're using NoScript, or otherwise have JavaScript disabled, you get an empty page with nothing but an error message.
Re:W3C Leaves Twitter by autoexec on Wednesday December 06, 2023 @02:47PM (#38548592)
At least we had nitter for viewing tweets without the need to allow JS. AFAIK there's no nitter for mastodon (nastodon?) although you can get some data by looking at the RSS feed.
Re:W3C Leaves Twitter by idop on Wednesday December 06, 2023 @03:52PM (#38549311)
I use nitter a lot now that most links on the Internet are to tweets. It provides an experience vastly superior to that of actual Twitter. It takes Twitter from an unreadable cesspool to a readable cesspool.
Re:W3C Leaves Twitter by Andrex on Wednesday December 06, 2023 @01:40PM (#38547858)
Your comment was worded poorly so you're getting downvoted, but I too share the disappointment that Mastodon is shamlessly promoting itself while lacking a JS-free way to even view public posts.
Re:W3C Leaves Twitter by cmdlineluser on Wednesday December 06, 2023 @01:54PM (#38548012)
You can add `/embed` to the end of the URL (although it doesn't show replies/etc)
Re:W3C Leaves Twitter by o11c on Wednesday December 06, 2023 @02:46PM (#38548570)
they really should at least add that link to the noscript version of the site.
Re:W3C Leaves Twitter by superkuh on Wednesday December 06, 2023 @02:43PM (#38548532)
Since mastodon posts are generally very small most posts are split up into multiple so looking at the /embed will only give you say, 1 of 4, like in that Polish/German train DRM story on HN earlier, https://social.hackerspace.pl/@q3k/111528162462505087/embed

Unfortunately /embed is not very useful.

Re:W3C Leaves Twitter by mihular on Wednesday December 06, 2023 @02:43PM (#38548535)
Feel free to create such a client.
Re:W3C Leaves Twitter by WaffleIronMaker on Wednesday December 06, 2023 @04:22PM (#38549629)
Looking through other server software[1], I totally agree that the majority of servers require JavaScript. However, there are a few that don't, such as Smithereen[2]. Picking a random Smithereen instance[3] lets us mirror the content without JavaScript (although it still doesn't seem to like being viewed through w3m).

So, I think there's potential, but it's definitely not ideal.

[1] https://fedidb.org/software [2] https://fedidb.org/software/smithereen [3] https://friends.grishka.me/[email protected]

Re:W3C Leaves Twitter by kstrauser on Wednesday December 06, 2023 @02:52PM (#38548631)
W3C is using web technologies? Say it ain't so!

But sarcasm aside, JS is a web standard, just like HTML and CSS. While I understand the opinion of people who don't want to execute JS in their browser, I'm also highly sympathetic to devs who want to use things that are enabled by default in all modern browsers.

Re:W3C Leaves Twitter by superkuh on Wednesday December 06, 2023 @02:57PM (#38548718)
Re:W3C Leaves Twitter by kstrauser on Wednesday December 06, 2023 @03:07PM (#38548825)
Ironically, the wiki page you linked shows how to use JavaScript to show meaningful error messages to users.

And in any case, graceful degradation is a good thing to shoot for, but far from a requirement. Mastodon is Free Software. If someone wants to fork it and make a version that replaces frontend JS with server side rendering, that's legal and fine.

Re:W3C Leaves Twitter by renewiltord on Wednesday December 06, 2023 @01:15PM (#38547530)
You should probably reach out via email if you're willing to help and know a better way to do it.