mikroblogi/posts/2024-10-13-oldnewthing-link-unfucker-4.html
Juhani Krekelä e088ff89b7 Haunt
2026-03-16 19:45:29 +02:00

23 lines
1.2 KiB
HTML

title: Userscript for fixing (most of) the broken links on The Old New Thing
date: 2024-10-13 00:00
related: oldnewthing-link-unfucker-install/index
originally-zola: oldnewthing-link-unfucker-4
---
<p><a href="https://devblogs.microsoft.com/oldnewthing/">The Old New Thing</a> is a
long-running blog by Raymond Chen that contains a treasure-trove of
information on old Windows (among others).
Over the years the blog's moved around different domains and backends,
which have had the effect of breaking many of the internal links.
You can often find your way to the intended post with some URL hackery, but
it would be nice not to have to do that, you know?</p>
<p>So because of that I wrote
<a href="https://ahti.space/git/nortti/oldnewthing-link-unfucker">oldnewthing-link-unfucker</a>,
which automates most of the work.
If it recognizes a link pointing to an old url it'll rewrite it to point to
the modern URL for the post, or failing that, the day it was posted.
Any URL thus modified will get a 𝌡 (the Taixuanjing tetragram for 'change')
after it to mark it's been changed.</p>
<p>It's a userscript, so to use it paste it to any userscript manager you
like.
I use
<a href="https://addons.mozilla.org/fi/firefox/addon/greasemonkey/">GreaseMonkey</a>.</p>