TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

I miss the programmable web (2021)

248 pointsby rckrdalmost 3 years ago

29 comments

mgalmost 3 years ago
<p><pre><code> I miss: bookmarklets and user scripts </code></pre> I use bookmarklets all the time. I can&#x27;t imagine living without them. For example, this is how I read HN:<p><a href="https:&#x2F;&#x2F;twitter.com&#x2F;marekgibney&#x2F;status&#x2F;1551483561621979136" rel="nofollow">https:&#x2F;&#x2F;twitter.com&#x2F;marekgibney&#x2F;status&#x2F;1551483561621979136</a><p>The bookmarklet takes me to the latest HN post I have not seen. When I click it again, it takes me to the next I have not seen. As soon as I see a post I have seen before, I know I am up to date.<p>I can&#x27;t imagine reading HN any other way. Because otherwise, I would have to skim the whole front page to see what&#x27;s new.<p>It also works on threads. So, when I post something on HN and want to see the latest replies, the same bookmarklet does this for me.<p>I have bookmarklets for every site I use frequently.
评论 #32284986 未加载
评论 #32286372 未加载
评论 #32286288 未加载
评论 #32287768 未加载
评论 #32285468 未加载
评论 #32289835 未加载
oztenalmost 3 years ago
I thought this would be about the glory days of “Mash-ups” using web APIs. Flickr + Twitter + Delicious tags to create a new experience. 2007 ? What a period to be a hacker!
评论 #32285015 未加载
评论 #32284929 未加载
评论 #32286479 未加载
andrewstuart2almost 3 years ago
My most used bookmark is this, for speeding up the first audio or video element on the page. I suppose that&#x27;s if you don&#x27;t count me typing &#x27;n&#x27; and auto-completing my way to hacker news.<p><pre><code> javascript:(function() { (document.querySelector(&#x27;video&#x27;) || document.querySelector(&#x27;audio&#x27;)).playbackRate = (+prompt(&#x27;How many times normal speed?&#x27;) || 1); })();</code></pre>
评论 #32284653 未加载
adrusialmost 3 years ago
It&#x27;s become harder to develop stupid simple bookmarklets because modern web pages are trickier to reverse-engineer, the market has expanded by a lot, and now people can make working on handy WebExtensions their full time job, and those are nothing more than bundled userscripts and bookmarklets that have access to some bonus APIs.<p>It used to be browser extensions were only used by a select few power users, if you don&#x27;t count those installed by malware&#x2F;shitware. Now it&#x27;s common to see folks who only use their computers for Instagram and Youtube having all sorts of browser extensions installed intentionally, and use regularly. And they&#x27;re essentially just bookmarklet&#x2F;userscript bundles with access to some special extra APIs.<p>What&#x27;s more, with the proliferation of Electron in desktop applications, now even more of the UIs we use are programmable.
Theodoresalmost 3 years ago
I miss the 3D web. In the late 90&#x27;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.<p>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.<p>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.<p>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.<p>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&#x2F;knowledge on the web very easily.<p>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.<p>We aren&#x27;t even thinking along those lines these days. The web has gone, we have platforms now.
评论 #32285474 未加载
评论 #32285317 未加载
评论 #32288843 未加载
mark_and_sweepalmost 3 years ago
I&#x27;m still happily using userChrome.css and userContent.css in Firefox to customize both its UI as well as a couple of sites I visit regularly. To do so, you need to enable toolkit.legacyUserProfileCustomizations.stylesheets in about:config.
评论 #32286274 未加载
grishkaalmost 3 years ago
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&#x27;s this much annoying as is.
评论 #32284885 未加载
评论 #32284803 未加载
评论 #32288245 未加载
评论 #32284985 未加载
评论 #32294828 未加载
tannhaeuseralmost 3 years ago
On a related note, Chrome has removed its user stylesheet feature years ago. I&#x27;ve often asked myself why we then still need this &quot;cascading&quot; of style sheets. It seems to have degenerated into a feature for web developers who can&#x27;t make up their minds, and pushing conflicting styles to every browser for late evaluation, negatively impacting energy consumption. Or maybe they want component-like behaviors from their third-party stuff they can then adapt and override, but at the same time the comfort of not having to do so when unnecessary? And they don&#x27;t want preprocessing either; nope, it has all to be in the browser, with accessibility a fig leaf for this complexity. In other words, CSS was hijacked by web devs for their convenience, as can also be seen by the custom properties feature, the upcoming nesting feature, and so on.<p>Another way to say this is that we have <i>web developers</i> now when the original web was for <i>web authors</i>.
评论 #32285395 未加载
ddoicealmost 3 years ago
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).<p>Grease monkey is still alive, I added voice recording and speech to text transcription to Slack before they did.
ttepassealmost 3 years ago
My most used bookmarklets are two: both find the last number in the URI path and increment or decrement that number. Perfect for paged websites. I&#x27;m using these for almost twenty years. If sometimes Safari removes the function to activate Favorites via ⌘1 to ⌘9 my whole muscle memory will be screwed.<p>For almost twenty years I&#x27;m thinking of expanding these two bookmarklets to use the rel=next&#x2F;previous link relations instead, but I don&#x27;t have high hopes in the quality of the markup of the web anymore. Which is a small problem for the idea of a programmable web. The deeply nested div trees which often result of modern frontend development and weird CSS methodologies are as worse as the table layouts of yore.
contentbootalmost 3 years ago
&gt;The security benefit to consumers of blocking user scripts is probably a net positive for the average internet user.<p>Strong disagree. Extensions and User scripts are an unmapped wild west.<p>Providing a registry type system to securely vend packages&#x2F;scripts is a very hard security problem.<p><a href="https:&#x2F;&#x2F;www.bleepingcomputer.com&#x2F;news&#x2F;security&#x2F;mozilla-blocks-malicious-add-ons-installed-by-455k-firefox-users&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.bleepingcomputer.com&#x2F;news&#x2F;security&#x2F;mozilla-block...</a><p><a href="https:&#x2F;&#x2F;iamakulov.com&#x2F;notes&#x2F;npm-malicious-packages&#x2F;" rel="nofollow">https:&#x2F;&#x2F;iamakulov.com&#x2F;notes&#x2F;npm-malicious-packages&#x2F;</a>
islemasteralmost 3 years ago
Whether they&#x27;re gone or not, I definitely want _more_ of these. I&#x27;ve had great success with shared Tampermonkey scripts at work, augmenting off-the-shelf tools my team uses with conveniences specific to our team. For example, automatically extracting relevant bits within noisy logs when browsing CI results, or providing buttons that kick off narrow re-runs or link to relevant source files. CSS injections are great too, a very lightweight way to improve the accessibility and usability of tools.
nperezalmost 3 years ago
Userscripts are alive and well! I use Tampermonkey in conjunction with an Amazon seller extension (which I won&#x27;t name because I&#x27;m not really using it as intended). The extension displays, among other things, a flag icon next to a product listing indicating the seller&#x27;s country. My script hides the extension&#x27;s entire UI and replaces it with a country filter. It can be really useful to filter down to US sellers only, and only see brands that are well established here
isodevalmost 3 years ago
Kind of reminds of the days of Yahoo! Toolbar and friends. I think today we have several ways we can go about this. There are browser extensions that can be used to both complement and alter the behavior of a website. Extensions can interact with the OS and other apps on a system which offers a lot of potential for integrations and customization. (e.g., on iOS&#x2F;macOS, Shortcuts allow integrations with 3rd party apps, AppleScript, PowerShell (on Windows), etc.)
LAC-Techalmost 3 years ago
How did these user scripts work? I don&#x27;t get how they could be &quot;blocked&quot; now. I&#x27;ve made my own snippets of JS to run on certain sites before.
评论 #32284762 未加载
评论 #32284679 未加载
niklaslogrenalmost 3 years ago
I love the programmable web!<p>I wanna give a shoutout to Stylus[0] for offering userstyles (basically the same thing as TamperMonkey but for .css files)<p>[0] <a href="https:&#x2F;&#x2F;addons.mozilla.org&#x2F;en-US&#x2F;firefox&#x2F;addon&#x2F;styl-us&#x2F;" rel="nofollow">https:&#x2F;&#x2F;addons.mozilla.org&#x2F;en-US&#x2F;firefox&#x2F;addon&#x2F;styl-us&#x2F;</a>
system2almost 3 years ago
Maybe because we have an extension for almost everything. If not enough, tempermonkey still works for nearly everything I am doing. I also use stylebot here and there for visuals and block elements with adblock. I am not sure if I understood the author&#x27;s problem.
derefralmost 3 years ago
&gt; I made it possible to generate a new document by loading, e.g. javascript:&#x27;hello, world&#x27;<p>It never occurred to me to try, but I think this is still possible even without the javascript: URI scheme, as there’d be nothing stopping you from putting an inline &lt;script&gt; in an HTML page described by a data: URI, and bookmarking said data: URI.<p>Not sure what the browser would consider that data: page’s HTTP origin to be for cookie &#x2F; CORS purposes, though.
评论 #32290153 未加载
yoyopaalmost 3 years ago
this has nothing to do with security and everything to do with trying to charge $4.99 a month for everything to the maximum extent permissible under law.
drranalmost 3 years ago
IMHO, we need a browser optimized for power or professional user experience (PPUX), instead of browsers optimized for dumb users (DUX).
评论 #32284772 未加载
评论 #32285589 未加载
评论 #32285161 未加载
评论 #32284785 未加载
评论 #32284787 未加载
vasergenalmost 3 years ago
Is it because in the beginning of the web the percent of tech users was much higher than now and not revenue optimized?
评论 #32285622 未加载
FrozenVoidalmost 3 years ago
Writing userscripts and CSS filters becomes more tedious each few years, especially mucking with dynamic DOM and complex frameworks websites tend to use now. WASM and obfuscated&#x2F;minified javascript made &quot;programmable web&quot; impossible in practice.
评论 #32285601 未加载
memorablealmost 3 years ago
I used to write a lot of small user scripts because they allow me to easily add functionalities to a certain website without worrying about UI and shit like when building a browser extension.
f0e4c2f7almost 3 years ago
I think this is one of the highest aspirations of web3. API&#x27;s baked in so deep that it&#x27;s literally part of the protocol. Rate limited by price.
zmixalmost 3 years ago
I remember the goold ole&#x27; days, when XUL based Firefox could be programmed to act like a Shell to the WWW.
throwawayjun21almost 3 years ago
I used hate ORMs and a few weeks ago i tried one just to improve my productivity and guess what i had to spend 2 days to figure out the problem that crashing my MySQL server. It turned out to be a ton prepared statements by the ORM.<p>Simple web is better.
beebeepkaalmost 3 years ago
I don&#x27;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.<p>I get the utility but I suspect writing greasemonkey scripts for SPAs might not be a great experience.
评论 #32285095 未加载
sylwarealmost 3 years ago
I miss the noscript&#x2F;basic (x)html web.
mouzogualmost 3 years ago
I miss the &quot;immediate web&quot;. Being able to work on simple things without feeling like they are useless, pointless or perceptibly outdated.<p>Now it&#x27;s install node, install git, install npm, install a gazillion packages, run localhost then hope everything works. Build command, clean command, eject commands, deploy command, pre processors, post processers, documentations full of so much jargon that i feel burnt out looking at it, hydration rehydration, pre-rendering, headless cms....on and on.<p>I find myself reverting to writing simple bash scripts, userscripts - they are more enduring, not built on a stack of fickle dependencies, fads and ever increasing complexity.
评论 #32285596 未加载
评论 #32286875 未加载
评论 #32285772 未加载
评论 #32288003 未加载
评论 #32286706 未加载
评论 #32285866 未加载
评论 #32286611 未加载
评论 #32285534 未加载
评论 #32286161 未加载
评论 #32285607 未加载
评论 #32286693 未加载
评论 #32285644 未加载
评论 #32286181 未加载
评论 #32287252 未加载