TADA
JavaScript so that images work without refresh.
I don't fully like it, because it gets triggered too often, but I can't find a batter and working event right now.
window.addEventListener("scroll", LoadListener, false);
function LoadListener() {
var links = Array.from(document.querySelectorAll('a'))
var imageLinks = links.filter(l =/.media.8kun.top./ig.test(l.href))
imageLinks.forEach(link ={
var pieces = link.href.split('/')
var filename = pieces[pieces.length-1]
var [hash, extension] = filename.split('.')
var href = ${link.href.replace("media.","sys.")}/${hash}.jpg
var imgs = link.querySelectorAll('img')
imgs.forEach(i =i.src = href)
link.href = href
})
}