I wrote a
greasemonkey/tampermonkey userscript that automatically injects all of the included images so that you can see them while you play
This userscript comes with *no warranty or guarantee*, but it is open source so you can read it for yourself and see that it isn't trying to do malicious. It works for me.
It also won't slow down your gameplay since the userscript doesn't run until the page has fully loaded. This decision does have the side effect of maybe flashing the greyscale images for a moment, but the color versions load. It's not that distracting IMO.
Code: Select all
// ==UserScript==
// @name Zorg images
// @namespace http://tampermonkey.net/
// @version 1.0
// @description Replaces Zorg Empire CDN images with colorized Imgur versions lazily
// @author Mark Davis
// @include /^https://www.zorgempire.net*/
// @grant none
// ==/UserScript==
(function() {
'use strict';
// This fetches all of the <img> tags and stores them in "tags".
var tags = document.getElementsByTagName('img');
// This loops over all of the <img> tags.
for (var i = 0; i < tags.length; i++) {
tags[i].src = tags[i].src.replace("//www.zorgempire.net/cdn/zorg/skins/zorg/gebaeude/202.gif", '//i.imgur.com/Tv29aZ9.gif');
tags[i].src = tags[i].src.replace("//www.zorgempire.net/cdn/zorg/skins/zorg/gebaeude/203.gif", '//i.imgur.com/uvPssBw.gif');
tags[i].src = tags[i].src.replace("//www.zorgempire.net/cdn/zorg/skins/zorg/gebaeude/204.gif", '//i.imgur.com/Nh4iSgb.gif');
tags[i].src = tags[i].src.replace("//www.zorgempire.net/cdn/zorg/skins/zorg/gebaeude/205.gif", '//i.imgur.com/PInswCd.gif');
tags[i].src = tags[i].src.replace("//www.zorgempire.net/cdn/zorg/skins/zorg/gebaeude/206.gif", '//i.imgur.com/fXKu0tJ.gif');
tags[i].src = tags[i].src.replace("//www.zorgempire.net/cdn/zorg/skins/zorg/gebaeude/207.gif", '//i.imgur.com/oKhe4S0.gif');
tags[i].src = tags[i].src.replace("//www.zorgempire.net/cdn/zorg/skins/zorg/gebaeude/208.gif", '//i.imgur.com/Z6KobJM.gif');
tags[i].src = tags[i].src.replace("//www.zorgempire.net/cdn/zorg/skins/zorg/gebaeude/209.gif", '//i.imgur.com/XGu9JYE.gif');
tags[i].src = tags[i].src.replace("//www.zorgempire.net/cdn/zorg/skins/zorg/gebaeude/210.gif", '//i.imgur.com/7A9wKWk.gif');
tags[i].src = tags[i].src.replace("//www.zorgempire.net/cdn/zorg/skins/zorg/gebaeude/211.gif", '//i.imgur.com/iCnrSn5.gif');
tags[i].src = tags[i].src.replace("//www.zorgempire.net/cdn/zorg/skins/zorg/gebaeude/212.gif", '//i.imgur.com/XwN2U8h.gif');
tags[i].src = tags[i].src.replace("//www.zorgempire.net/cdn/zorg/skins/zorg/gebaeude/213.gif", '//i.imgur.com/CcPbFNC.gif');
tags[i].src = tags[i].src.replace("//www.zorgempire.net/cdn/zorg/skins/zorg/gebaeude/214.gif", '//i.imgur.com/VamD0xW.gif');
tags[i].src = tags[i].src.replace("//www.zorgempire.net/cdn/zorg/skins/zorg/gebaeude/216.gif", '//i.imgur.com/Mm9QZLJ.gif');
tags[i].src = tags[i].src.replace("//www.zorgempire.net/cdn/zorg/skins/zorg/gebaeude/217.gif", '//i.imgur.com/4XK66G3.gif');
tags[i].src = tags[i].src.replace("//www.zorgempire.net/cdn/zorg/skins/zorg/gebaeude/217.gif", '//i.imgur.com/4XK66G3.gif');
tags[i].src = tags[i].src.replace("//www.zorgempire.net/cdn/zorg/skins/zorg/gebaeude/221.gif", '//i.imgur.com/Gr9yWxj.gif');
tags[i].src = tags[i].src.replace("//www.zorgempire.net/cdn/zorg/skins/zorg/gebaeude/502.gif", '//i.imgur.com/v7jLYhr.gif');
tags[i].src = tags[i].src.replace("//www.zorgempire.net/cdn/zorg/skins/zorg/gebaeude/503.gif", '//i.imgur.com/dzWIKMM.gif');
tags[i].src = tags[i].src.replace("//www.zorgempire.net/cdn/zorg/skins/zorg/gebaeude/44.gif", '//i.imgur.com/Faoo74i.gif');
tags[i].src = tags[i].src.replace("//www.zorgempire.net/cdn/zorg/skins/zorg/gebaeude/1.gif", '//i.imgur.com/AlCc7aR.gif');
tags[i].src = tags[i].src.replace("//www.zorgempire.net/cdn/zorg/skins/zorg/gebaeude/2.gif", '//i.imgur.com/LpdQuHd.gif');
tags[i].src = tags[i].src.replace("//www.zorgempire.net/cdn/zorg/skins/zorg/gebaeude/3.gif", '//i.imgur.com/1FAGMOW.gif');
tags[i].src = tags[i].src.replace("//www.zorgempire.net/cdn/zorg/skins/zorg/gebaeude/4.gif", '//i.imgur.com/iLpqUs8.gif');
tags[i].src = tags[i].src.replace("//www.zorgempire.net/cdn/zorg/skins/zorg/gebaeude/12.gif", '//i.imgur.com/xQQGdwP.gif');
tags[i].src = tags[i].src.replace("//www.zorgempire.net/cdn/zorg/skins/zorg/gebaeude/14.gif", '//i.imgur.com/BaT3aTd.gif');
tags[i].src = tags[i].src.replace("//www.zorgempire.net/cdn/zorg/skins/zorg/gebaeude/15.gif", '//i.imgur.com/gfKwLdZ.gif');
tags[i].src = tags[i].src.replace("//www.zorgempire.net/cdn/zorg/skins/zorg/gebaeude/21.gif", '//i.imgur.com/ZXut2i9.gif');
tags[i].src = tags[i].src.replace("//www.zorgempire.net/cdn/zorg/skins/zorg/gebaeude/22.gif", '//i.imgur.com/ScTMUZl.gif');
tags[i].src = tags[i].src.replace("//www.zorgempire.net/cdn/zorg/skins/zorg/gebaeude/23.gif", '//i.imgur.com/Uehi8L6.gif');
tags[i].src = tags[i].src.replace("//www.zorgempire.net/cdn/zorg/skins/zorg/gebaeude/24.gif", '//i.imgur.com/AY9nMvI.gif');
tags[i].src = tags[i].src.replace("//www.zorgempire.net/cdn/zorg/skins/zorg/gebaeude/31.gif", '//i.imgur.com/AbTjRck.gif');
tags[i].src = tags[i].src.replace("//www.zorgempire.net/cdn/zorg/skins/zorg/gebaeude/34.gif", '//i.imgur.com/PxHLWiI.gif');
tags[i].src = tags[i].src.replace("//www.zorgempire.net/cdn/zorg/skins/zorg/gebaeude/41.gif", '//i.imgur.com/PuW6xBu.gif');
tags[i].src = tags[i].src.replace("//www.zorgempire.net/cdn/zorg/skins/zorg/gebaeude/42.gif", '//i.imgur.com/jZHiKIB.gif');
tags[i].src = tags[i].src.replace("//www.zorgempire.net/cdn/zorg/skins/zorg/gebaeude/43.gif", '//i.imgur.com/GwWiv99.gif');
}
})();