Last active
March 24, 2020 08:49
-
-
Save damieng/a869d7155051c0b3988a to your computer and use it in GitHub Desktop.
Make the World of Spectrum screenshots work again (a Greasemonkey script)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Fix WoS screenshots | |
// @namespace http://damieng.com | |
// @version 0.1 | |
// @description Make the World of Spectrum screenshots work again | |
// @author Damien Guard | |
// @include https://www.worldofspectrum.org/* | |
// ==/UserScript== | |
var images = document.getElementsByTagName('img'); | |
for (var i = 0; i < images.length; i++) | |
images[i].src = images[i].src.replace('/showscreen.cgi?screen=', '/pub/sinclair/'); |
Shouldn't need this any more tho - they fixed the screenshots some time ago.
I thought so as well, and stopped using this some time ago, but recently I have found out that these infoseek outputs are still broken:
(this is an example of best games of 1984). So I came back and installed this script again, just had to adjust it for https.
Ah right, cool. Should probably report that to the WoS maintainers - I'll see if I can track the right person down.
FYI, Lee Fogarty just recently got this fixed directly on WoS. Thanks to everybody involved.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for this script. Just note that WoS now uses https instead of http, so you may want to update it. Thanks again.