Misteriouser and misteriouser...
I've discovered that .weblocs still work if I drag the location out of the browser onto the desktop or into a folder. They'll open in Safari but getting info shows the possibility to change the default app is greyed out, so I can't change it to Firefox, for example.
It seems that .weblocs created before around March 2010 don't work, those created more recently do.
Opening an old one in BBEdit I get a blank page.
Opening a newer one, like this one that I created right now, I see this:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "
http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>URL</key>
<string>
https://www.rtve.es/directo/canal-24h/</string>
</dict>
</plist>
I can edit the URL and save it as a new one with a new filename and it will work as it should.
eg:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "
http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>URL</key>
<string>
https://forums.macrumors.com/threads/webloc-files-no-longer-open-the-url.2273550/</string>
</dict>
</plist>
What happened in 2010 that broke previously created .weblocs?