Anonymous ID: 9b2407 Sept. 4, 2021, 5:40 a.m. No.14518836   🗄️.is 🔗kun   >>8846 >>9111

>>14518461

>muh eyes is open, but I cain't see no images and I aint gonna do the Hosts reach-around

 

No need for the "Hosts reach-around"

Clicky on the 'Options' in upper right corner, and paste the below after you clicky User JS. You'll see the posted images in real time.↓↓↓↓↓↓↓works like a charm.

 

{

var updateLinks = function() {

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 href = ${link.href.replaceAll("media.","sys.")}?n=${n};/

var imgs = link.querySelectorAll('img');

imgs.forEach(i =i.src = href);

link.href = href;

});

};

updateLinks();

// allow to work with auto-reload.js, etc.

$(document).on('new_post', function (e, post) {

updateLinks();

});

}

Anonymous ID: 9b2407 Sept. 4, 2021, 7:16 a.m. No.14519114   🗄️.is 🔗kun

>>14519111

Yes…this…

 

The image Fix

For any anon that wants to view images whether they’re .jpg; .jpeg or .png without having to refresh

Copy and paste the below script into your ‘User JS’ then ‘save custom Javascript’ in the ‘Options’ located in the upper right corner of your page

you’ll also be able to view mp4’s when you click on the area where the mp4 is posted

‘’’This does work!’’’

 

{

var updateLinks = function() {

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 href = ${link.href.replaceAll("media.","sys.")}?n=${n};/

var imgs = link.querySelectorAll('img');

imgs.forEach(i =i.src = href);

link.href = href;

});

};

updateLinks();

// allow to work with auto-reload.js, etc.

$(document).on('new_post', function (e, post) {

updateLinks();

});

}

 

*Note: another anon wrote the script, I’m just a messenger. You’re Welcome!

Anonymous ID: 9b2407 Sept. 4, 2021, 7:19 a.m. No.14519122   🗄️.is 🔗kun

>>14519111

>will the additions gum up the works

 

sorry, read it wrong. If you copy and paste what I just posted on my first reply to you, everything works like in the past. Promise!