The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,835 other subscribers

Archive for the ‘Bookmarklet’ Category

“You need to learn to delegate” โ€ฆ That’s not always easy due to a variety of situations out of one’s control : @hhariri on Thread Reader App

Posted by jpluimers on 2026/07/24

A year ago, Hadi Hariri wrote this very important Tweet which I preserved through [Wayback/Archive] Thread Reader App because the Space Karen hates the Wayback Machine so much that it still can’t archive tweets ยน:

[Wayback/Archive] Thread by @hhariri on Thread Reader App

“You need to learn to delegate”

Learning to delegate is not that hard. Delegating, and doing it successfully on the other hand, requires having the right people to delegate to.

That’s not always easy due to a variety of situations out of one’s control.

Luckily, Archive.is can still archive Tweets, so here is the original one: [WaybackSave/Archive] Hadi Hariri on X: “”You need to learn to delegate” Learning to delegate is not that hard. Delegating, and doing it successfully on the other hand, requires having the right people to delegate to. That’s not always easy due to a variety of situations out of one’s control.”

 

Anyway, I responded with my story, which I archived too, but this time because Twitter does not allow viewing threads as an anonymous user since 2021: [Wayback/Archive] Twitter won’t show complete threads now without an account. :( Twitter accounts … | Hacker News.

My storyย [Wayback/Archive] Thread by @jpluimers on Thread Reader App

@hhariri Especially when explaining what and how to a delegatee is taking more time/energy/effort than doing it yourself.

Still training the new internal care of my brother. Costs less energy than last year, but back then the old “ambulant” care took 2 hours and then “it was OK”.

@hhariri Weekly I try to figure out what happened then hours re-explaining “treat him like he is: mentally a 3 year old with autism in a full grown body that seems to speak Dutch very well, but does not really understand what he says. So what he says is different from what he wants/needs”

@hhariri And for “normal work”, the life long job is to keep explaining that doing things right the first time saves a lot of effort.

@hhariri And yes, there is hindsight when at the time you did things, you didn’t know there was or would become a better way, or that the current situation changed.

Those are valid reasons for redoing things later, but not valid reasons for not even trying to do it right the first time.

In case you have a Twitter account, you can find the thread start at [WaybackSave/Archive] Jeroen Wiert Pluimers @wiert@mastodon.social on X: “@hhariri Especially when explaining what and how to a delegatee is taking more time/energy/effort than doing it yourself. Still training the new internal care of my brother. Costs less energy than last year, but back then the old “ambulant” care took 2 hours and then “it was OK”.”

--jeroen

ยน sometimes it archives something of the tweet, in this case the [Wayback/Archive] Tweet JSON which you normally would get through the Twitter CDN like [Wayback/Archive] Tweet JSON (I wrote about creating a JavaScript Bookmarklet for this method in Probably many more like these are needed to download Twitter videos: [extractor/twitter] Fix unauthenticated extraction by bashonly ยท Pull Request #7476 ยท yt-dlp/yt-dlp).

Posted in About, Awareness, Bookmarklet, Development, JavaScript/ECMAScript, LifeHacker, Personal, Power User, Scripting, Software Development, Web Browsers | Tagged: | Leave a Comment »

Some Twitter internals after I found GitHub – offish/twitter-broadcast-downloader: Download Twitter broadcasts/lives

Posted by jpluimers on 2026/04/30

Found this while trying to find the source from which I constructed this Bookmarklet which from a Tweet URL returns the JSON metadata which has all the links to media (like images and videos) as it failed for broadcasts:

javascript:{ tweetID = document.location.href.split('/').filter(e => e).slice(-1); url = new URL(`https://cdn.syndication.twimg.com/tweet-result?id=${tweetID}&token=!`); open(url); }

I could not find that back, but did findย [Wayback/Archive] GitHub – offish/twitter-broadcast-downloader: Download Twitter broadcasts/lives via these query steps:

Read the rest of this entry »

Posted in Bookmarklet, Development, JavaScript/ECMAScript, Power User, Scripting, Software Development, Web Browsers | Leave a Comment »

archive.today: On the trail of the mysterious guerrilla archivist of the Internet โ€“ Gyrovague

Posted by jpluimers on 2026/02/23

I pulled this post forward from the blog queue in light of the recent Archive Today controversy (which started because of the Gyrovague article mentioned below). Please note that in this controversy, the Wayback Machine of the Internet Archive plays no role: it is purely about the Archive Today behaviour. Apart from this remark above the line I left this blog post in the original form I wrote it in, as I liked it a lot and quite a few published and queued blog posts still depend on it.


From a while back, but still a historic relevant article: [Wayback/Archive] archive.today: On the trail of the mysterious guerrilla archivist of the Internet โ€“ Gyrovague

Via [Wayback/Archive] difference between archive today and wayback machine – Google Search

Related:

Read the rest of this entry »

Posted in Archive Today controversy, archive.is / archive.today, Archiving, Bookmarklet, History, Internet, mementoweb, Power User, WayBack machine, Webcitation | Leave a Comment »

Bookmarklet for Archive.is to navigate to the canonical link with the “redirected from” instead of “saved from”

Posted by jpluimers on 2026/01/27

This is a follow-up on Bookmarklet for Archive.is to navigate to the canonical link which can be accessed from multiple URLs, some through redirection:

You can see the difference in these archived links (the navivate was a typo that I only spotted after the original blog post got published):

I wanted a Bookmarklet to find the last link; the one in the referenced blog post didn’t.

Read the rest of this entry »

Posted in Bookmarklet, Debugging, Development, JavaScript/ECMAScript, Power User, Scripting, Software Development, Web Browsers, Web Development | Leave a Comment »

How could i get a permanent link for raw file? ยท community ยท Discussion #22537 ยท GitHub

Posted by jpluimers on 2025/12/04

I used [Wayback/Archive] How could i get a permanent link for raw file? ยท community ยท Discussion #22537 ยท GitHub to go

The reason I needed it is that for quite a while now, GitHub has started to display PDF files as preview, and modified the download behaviour to get a blob: link instead of the actual raw file download location.

On the to do list:

  1. figure out the same for raw files in gists
  2. figure out the same for GitLab
  3. convert these into Bookmarklets (fiddle with the bold parts in the above URLs)

Thanks [Wayback/Archive] Lotaristo (Czeslaw Meyer)ย and [Wayback/Archive] byrneh (Hugh Byrne)

--jeroen

Posted in Bookmarklet, Conference Topics, Conferences, Development, DVCS - Distributed Version Control, Event, gist, git, GitHub, GitLab, Hosting, JavaScript/ECMAScript, Power User, Scripting, Software Development, Source Code Management | Tagged: | Leave a Comment »

Revisited: Bookmarklet to save a page both in the WayBack machine and Archive.is (ending on the latter to solve a reCAPTCHA)

Posted by jpluimers on 2025/09/02

Quite a I while ago, I wrote Bookmarklet to save a page both in the WayBack machine and Archive.is (ending on the latter to solve a reCAPTCHA).

The bookmarklet has been very stable, but as of a week or so I need to press the Enter key for it to actually archive.

The reason is that Archive.is, also known as Archive Today, introduced a new URL parameter for auto-starting the archive of an URL.

The old one looked like this: https://archive.is/submit/?run=1&url=https%3A%2F%2Fwww.youtube.com%2Ffeed%2Fhistory%2Fcomment_history

The new one like this: https://archive.is/submit/?anyway=1&url=https%3A%2F%2Fwww.youtube.com%2Ffeed%2Fhistory%2Fcomment_history&submitid=auT7eAltRDxCOGSjdoRMhu3H9d91VEFlvjVztfvNU8XO0ccAhji5DvTyqQew6rfm

The new submitid URL 40 character base64 parameter is being checked in the back end. One way of obtaining one by loading https://archive.is/ then wait for it’s completion and grab it from there.

The alternative is to wait for the submit page to fully load, then find the “save” button via its HTML <input type="submit" value="save"> and press it.

So that’s on the todo list for the updated Bookmarklet of the above blog post.

For now, I just have to press the Enter key for each archived page, I wonder how long that will last (:

Oh: to get the “do you want to save the page again” URL you will have to know the canonical URL first, as that ID is in the again URL, see the bold bits here:

  1. https://archive.is/c6d09
  2. https://archive.is/c6d09/again?url=https://www.youtube.com/feed/history/comment_history

--jeroen

Posted in archive.is / archive.today, Bookmarklet, Development, Internet, Power User, Software Development, Web Browsers, Web Development | Leave a Comment »

linux – Get final URL after curl is redirected – Stack Overflow (plus some Twitter scraping tricks)

Posted by jpluimers on 2025/08/06

Sometimes I need [Wayback/Archive] Redirect Checker | Check your Statuscode 301 vs 302 on the command-line, so cURL to the rescue: [Wayback/Archive] linux – Get final URL after curl is redirected – Stack Overflow. The relevant portions of answers and comments further below.

TL;DR:

Since I prefer verbose command-line arguments (you can find them at the [Wayback/Archive] curl – How To Use on-line man page) especially in scripts this HTTP GET request is what works with Twitter:

% curl --location --silent --output /dev/null --write-out "%{url_effective}\n" https://twitter.com/anyuser/status/20
https://x.com/anyuser/status/20

This failed (twitter dislikes HTTP HEAD requests):

% curl --head --location --silent --output /dev/null --write-out "%{url_effective}\n" https://twitter.com/anyuser/status/20
https://twitter.com/anyuser/status/20

Notes

Given so many of my scripts now run on zsh, I added the new-line because of command line โ€“ Why does a cURL request return a percent sign (%) with every request in ZSH? โ€“ Stack Overflow. You can strip that bit.

Note that these do not perform client side redirects, so they do not return the ultimate originating URL https://x.com/jack/status/20 (which was the first ever Tweet on what was back then called twttr) as Twitter on the client-side overwrites window.location.href with the final URL. Similar behaviour for getting the Twitter user handle of a Twitter user ID, more on Twitter tricks below.

Tweet by TweetID trick via [Wayback/Archive] Accessing a tweet using only its ID (and without the Twitter API) โ€“ Bram.us.

Further reading (thanks [Wayback/Archive] vise, [Wayback/Archive] Daniel Stenberg, [Wayback/Archive] Ivan, [Wayback/Archive] AndrewF, [Wayback/Archive] Roger Campanera, and [Wayback/Archive] Dave Baird):

Read the rest of this entry »

Posted in *nix, *nix-tools, bash, Batch-Files, Bookmarklet, Communications Development, Conference Topics, Conferences, CSS, cURL, Development, Event, HTTP, Internet protocol suite, JavaScript/ECMAScript, Power User, Scripting, SocialMedia, Software Development, TCP, Twitter, Web Browsers, Web Development | Tagged: | Leave a Comment »

Tootski, a sharing bookmarklet for Mastodon ยท GitHub

Posted by jpluimers on 2025/08/05

For my research list: [Wayback/Archive] Tootski, a sharing bookmarklet for Mastodon ยท GitHub

--jeroen

Posted in Bookmarklet, Development, JavaScript/ECMAScript, Mastodon, Power User, Scripting, SocialMedia, Software Development, Web Browsers | Leave a Comment »

Igor Brigadir posted a few useful Twitter search tips a while back: searching tweets, users, disable auto-URL, embedding media, etc

Posted by jpluimers on 2025/07/11

For my link archive:

Posted in Bookmarklet, Development, JavaScript/ECMAScript, Power User, Scripting, SocialMedia, Software Development, Twitter, Web Browsers | Leave a Comment »

Alex’s Bookmarklets – New Twitter RSS Bookmarklet, Font Bookmarklet

Posted by jpluimers on 2025/07/09

Some entries for my inspiration: [Wayback/Archive] Alex’s Bookmarklets – New Twitter RSS Bookmarklet, Font Bookmarklet

–jeroen

Posted in Bookmarklet, Development, JavaScript/ECMAScript, Power User, Scripting, Software Development, Web Browsers | Leave a Comment »