Skip to content

Instantly share code, notes, and snippets.

@damieng
Last active March 24, 2020 08:49
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save damieng/a869d7155051c0b3988a to your computer and use it in GitHub Desktop.
Save damieng/a869d7155051c0b3988a to your computer and use it in GitHub Desktop.
Make the World of Spectrum screenshots work again (a Greasemonkey script)
// ==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/');
@raxoft
Copy link

raxoft commented Mar 24, 2020

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