Anonymous ID: 3db82a Sept. 5, 2021, 1:37 p.m. No.14526521   🗄️.is 🔗kun   >>6525 >>6531 >>6536 >>6621

>>14526488

Anon's been using this one.. running smooth silk, mp4 have to open in their own window, but get that thumbnail too. Gifs are auto play, JPG< JPEG &PNGs all populate.

 

{

// media fixer version 9/5/2021

// for videos (and possibly others) you may have to scroll a tiny bit

var loadListener = function() {

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.pathname.split('/')

var filename = pieces[pieces.length-1]

var [hash, extension] = filename.split('.')

switch (extension) {

case "mp3":

case "png":

case "gif":

var href = ${link.href.replace(&quot;media.&quot;,&quot;sys.&quot;)}/${hash}.jpg

break;

case 'php':

if (hash == 'player') {

// special handling for video thumbnail

var videoplayer = link.search.match(/media.8kun.top\/file_store\/(\w{64})./i)

if (videoplayer) {

var href = "https://sys.8kun.top/file_store/thumb/"+videoplayer[1]+".jpg";

} else {

var href = link.url;

}

}

break;

default:

var href = ${link.href.replace(&quot;media.&quot;,&quot;sys.&quot;)}

break;

}

var imgs = link.querySelectorAll('img')

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

link.href = href;

});

// fix videos

links = Array.from(document.querySelectorAll('video'))

var videoLinks = links.filter(l =/.media.8kun.top./ig.test(l.src))

videoLinks.forEach(link ={

var href = ${link.src.replace(&quot;media.&quot;,&quot;sys.&quot;)}

link.src = href;

});

// images in catalog do not have a href

links = Array.from(document.querySelectorAll('img'))

var imgLinks = links.filter(l =/.media.8kun.top./ig.test(l.src))

imgLinks.forEach(link ={

var href = ${link.src.replace(&quot;media.&quot;,&quot;sys.&quot;)}

link.src = href;

});

}

$(window).on('scroll', function (e, post) {

loadListener();

});

}

 

>>14526503

>>>14526476

>>>14526488

>This is like FBI opening the capitol gates on january 6th.

 

Yeah, sure, again show us where exactly in any of the JS scripts anons have presented to fix the images on the image board have shown where they do so.

 

Anon's that ant to see will do what they wish to get to see.

This anon wants to see Mr. Pig and all the other anon conurbations.

Anonymous ID: 3db82a Sept. 5, 2021, 1:44 p.m. No.14526552   🗄️.is 🔗kun   >>6570

>>14526525

 

Define this ""Team", am but a lone anon…

WWG1WGA

 

<Now I Want you to go Reee! inRed Textpng/jpg

SayAgain, you're coming in Broken & Retarded.png/jpg

 

Oh.. you meant you just want this anon to only read and type, not see in a instant what cannot be said in over a thousand words…

Anonymous ID: 3db82a Sept. 5, 2021, 1:49 p.m. No.14526567   🗄️.is 🔗kun   >>6575

>>14526536

>>>14526521 (You)

>mp4 have to open in their own window

>Nope,

>just click to play, then scroll slightly and it will load properly.

 

Nice! SOB it works that a way!.

 

Thanx Fren.

Anonymous ID: 3db82a Sept. 5, 2021, 2:07 p.m. No.14526618   🗄️.is 🔗kun   >>6619

>>14526570

Ebaker/op or not..

 

If all you ever saw were dicks, then we know which one is comped.

You cannot stop those from observing the truth, and making their own choices. Your choices are yours and yours alone…

This anon will simply keep posing and allowing others to know the code exists for their choice when the question presents on the board.

 

If I wanted to se a real dick I would ask you to post a picture of your face.

Happy Sunday anon, thanx for the bread.

Anonymous ID: 3db82a Sept. 5, 2021, 3:55 p.m. No.14527090   🗄️.is 🔗kun   >>7095

>>14527074

Look back through the bread, a JS fix, several actually have been posted to fix the board content.

 

Use which ever one you will. DNS fuckery/hosts files are no longer a fix.

The JS anon uses:{

// media fixer version 9/5/2021

// for videos (and possibly others) you may have to scroll a tiny bit

var loadListener = function() {

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.pathname.split('/')

var filename = pieces[pieces.length-1]

var [hash, extension] = filename.split('.')

switch (extension) {

case "mp3":

case "png":

case "gif":

var href = ${link.href.replace(&quot;media.&quot;,&quot;sys.&quot;)}/${hash}.jpg

break;

case 'php':

if (hash == 'player') {

// special handling for video thumbnail

var videoplayer = link.search.match(/media.8kun.top\/file_store\/(\w{64})./i)

if (videoplayer) {

var href = "https://sys.8kun.top/file_store/thumb/"+videoplayer[1]+".jpg";

} else {

var href = link.url;

}

}

break;

default:

var href = ${link.href.replace(&quot;media.&quot;,&quot;sys.&quot;)}

break;

}

var imgs = link.querySelectorAll('img')

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

link.href = href;

});

// fix videos

links = Array.from(document.querySelectorAll('video'))

var videoLinks = links.filter(l =/.media.8kun.top./ig.test(l.src))

videoLinks.forEach(link ={

var href = ${link.src.replace(&quot;media.&quot;,&quot;sys.&quot;)}

link.src = href;

});

// images in catalog do not have a href

links = Array.from(document.querySelectorAll('img'))

var imgLinks = links.filter(l =/.media.8kun.top./ig.test(l.src))

imgLinks.forEach(link ={

var href = ${link.src.replace(&quot;media.&quot;,&quot;sys.&quot;)}

link.src = href;

});

}

$(window).on('scroll', function (e, post) {

loadListener();

});

}