Live data from Hacker News

I miss the programmable web (2021)

matt-rickard.com

11–20 of 180 posts

Re: I miss the programmable web (2021)

#11
post #2

How did these user scripts work? I don't get how they could be "blocked" now. I've made my own snippets of JS to run on certain sites before.

Sites can impose a Content Security Policy, that (among other things) can disable inline JavaScript. This makes it a real PITA to modify web sites with user CSS/JS.

I am personally aligned with pro-CSP because it can greatly reduce the attack surface of web sites I host, and is quite effective and precise.

Browser extensions can, and do, play around CSP.

Bookmarklets has no overhead in the browser, because they are just bookmarks that do not interact with the browser unless I click it. Having a little addon for each little functionality is annoying, slow, and difficult to maintain and review.

Re: I miss the programmable web (2021)

#12
I don't miss them very much. The whole thing was a security nightmare and I am glad Mozilla dropped XUL. I think they truly had to.

I get the utility but I suspect writing greasemonkey scripts for SPAs might not be a great experience.

Re: I miss the programmable web (2021)

#14
I got my first dev job at a call center because bookmarklets, I was a phone operator and hacked some internal websites to improve the UX and the speed, everyone ended using these bookmarklets (coded in word and then minified running another script in the browser console).

Grease monkey is still alive, I added voice recording and speech to text transcription to Slack before they did.

Re: I miss the programmable web (2021)

#15
post #9

IMHO, we need a browser optimized for power or professional user experience (PPUX), instead of browsers optimized for dumb users (DUX).

Sometimes I use curl with a session cookie copied from the developers tools. I never automated that part. I don't even know if it is possible.

Re: I miss the programmable web (2021)

#16
post #9

IMHO, we need a browser optimized for power or professional user experience (PPUX), instead of browsers optimized for dumb users (DUX).

We have a lot of those, but they're not as popular of course.

Qutebrowser is my favourite among them.

Re: I miss the programmable web (2021)

#17
post #10

Huh? Userscripts are dead according to author, but I apparently never got the notice because I have about a dozen of those things installed right now. Three of them are for YouTube because it's this much annoying as is.

What do your user scripts do if you don't me asking?

On a site note: Been looking for one to show reccomendations always based on simmiliar vids, not my recently watched and whatever the black box algorithm is offering me. Unfortunately I never figured out how do it properly, since the position of the element seems to be random and sometimes straight up missing.

Re: I miss the programmable web (2021)

#18
I miss the 3D web. In the late 90's Silicon Graphics machines came with an out of the box experience delivered by Netscape Navigator. The page was rendered in frames, so you only downloaded the navigation frames once, not with every click.

Some of this navigation and some of this content was in VRML that you could interact with. The full product tour could be explored in a 3D world. The UI UX did not seem OTT. It felt like the future.

It turned out that the excellent CosmoWorlds VRML authorship tools were just a little bit ahead of their time and there was little of the expected interest. We ended up with a flat 2D web rather than a 3D web. Sure this makes sense but the tools you have available frame how you solve problems.

Also out the box was a web server. You put HTML (and VRML) in your shared web folder and your machine instantly had your stuff available on the local network and you could route to the machine from the internet if you had the networking skills to set that up.

It was all in the original Tim Berners Lee vision, you could imagine how this would make sense in academia, with academics in a department able to put all their work/knowledge on the web very easily.

In this SGI version of the 3D web it was the javascript that glued it all together, VRML was made useful with scripting which could go across those frames to put together an awesome web experience, rose tinted spectacles accepted.

We aren't even thinking along those lines these days. The web has gone, we have platforms now.

Re: I miss the programmable web (2021)

#19
post #17
post #10

Huh? Userscripts are dead according to author, but I apparently never got the notice because I have about a dozen of those things installed right now. Three of them are for YouTube because it's this much annoying as is.

What do your user scripts do if you don't me asking? On a site note: Been looking for one to show reccomendations always based on simmiliar vids, not my recently watched and whatever the black box algorithm is offering me. Unfortunately I never figured out how do it properly, since the position of the element seems to be random and sometimes straight up missing.

The YouTube ones?

1. Prevents channel page video from auto-playing (not mine)

2. Removes the stupid custom scrollbar that takes up actual pixels on my screen at all times

3. Automatically sets highest available video quality by clicking through the quality menu so I don't have to

And those are in addition to SponsorBlock and uBlock Origin extensions.

Re: I miss the programmable web (2021)

#20
post #10

Huh? Userscripts are dead according to author, but I apparently never got the notice because I have about a dozen of those things installed right now. Three of them are for YouTube because it's this much annoying as is.

They aren’t dead but with more and more build systems that obfuscate everything in the page, including CSS classes and IDs, it’s sometimes hard to do something really useful.
Post reply on HN