Skip to content

Instantly share code, notes, and snippets.

@damieng
Last active March 24, 2020 08:49
Show Gist options
  • Select an option

  • Save damieng/a869d7155051c0b3988a to your computer and use it in GitHub Desktop.

Select an option

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/');
@damieng

damieng commented Mar 20, 2020

Copy link
Copy Markdown
Author

Ah right, cool. Should probably report that to the WoS maintainers - I'll see if I can track the right person down.

@raxoft

raxoft commented Mar 24, 2020

Copy link
Copy Markdown

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