Anonymous ID: 13c5d3 Sept. 3, 2021, 1:18 p.m. No.14515660   🗄️.is 🔗kun   >>5682

Cotton: Biden pulling biggest 'bait and switch' move in American politics

 

Sen. Tom Cotton, R-Ark., criticizes the Biden administration's handling of vetting Afghan refugees.

 

https://www.youtube.com/watch?v=VbEcZ1KUV44

Anonymous ID: 13c5d3 Sept. 3, 2021, 2:47 p.m. No.14516048   🗄️.is 🔗kun   >>6059

>>14515407

>>14516007

 

This works just as well, without adding extra load to the image server - what's with forcing image fetch from server? You'd only want to do that is there was a likleyhood of the image being updated/changing, like in a CMS driven site for example.

 

{ 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.")} var imgs = link.querySelectorAll('img') imgs.forEach(i => i.src = href) link.href = href })}

 

The above does the same as the original without forcing your web browser to fetch image from server, if already cached on your device.