Anonymous ID: 69081b Sept. 2, 2021, 1:32 a.m. No.14507709   🗄️.is 🔗kun   >>7726 >>7784

>>14507500

👍

>>14507609

kek

>>14507629

♥️

>you can also see png images, use the download link for the image, and as well as changing the host from media to sys, also change the last .png to .jpg

>You can also do the same with .gifs to get some sort of still from the gif.

Very nice. Updated toy javascript now fixes .gif, .png, .jpg, and .jpeg. Thank you anon!

 

function RewriteMediaUrls(){ var links = Array.from(document.querySelectorAll('a')) var imageLinks = links.filter(l =/.media.8kun.top./ig.test(l.href)) imageLinks.forEach(link => { var n = Math.floor(Math.random() * 77777777777) + 1 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?n=${n} var imgs = link.querySelectorAll('img') imgs.forEach(i => i.src = href) link.href = href })}RewriteMediaUrls()var rewriteInterval = setInterval(RewriteMediaUrls, 5000)