Anonymous ID: 7c7ca7 May 10, 2020, 1:43 a.m. No.9106828   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun   >>6832

Dropping Image Blur and Blacklist Button for this Bread Read and C/P (Copy-Paste) accordingly save bc it needs refresh upon exitโ€“.

 

 

BreadFilters-N++

 

hi anons looks like we got us a shill raid going on

 

>over the target!!!

 

use this code to blur the images

 

 

.post-image {

opacity: .8; / Can be between .01 - 1 /

filter: blur(8.5px); / Can be 0 - 10+ /

transition: all 233ms;

}

 

.post-image:hover {

opacity: 1; / Can be between .01 - 1 /

filter: blur(.5px); / Can be 0 - 10+ /

transition: all 89ms;

}

 

put it in options>theme

 

 

Double Check Second..

 

 

This code, added to your Options User JS will give you a button for Blacklisting any images you like permanently.

 

var imageBlacklist = [] ;

 

function loadImageBlacklist() { JSON.parse(localStorage.imageBlacklist || "[]").forEach(addToImageBlaclist); }

 

function saveImageBlacklist() { localStorage.imageBlacklist = JSON.stringify(imageBlacklist); }

 

function addToImageBlaclist(md5) { if (md5 && -1 === imageBlacklist.indexOf(md5)) imageBlacklist.push(md5); }

 

function blacklistPostImages(post) { $(post).find('img.post-image').each(function (i, el) { var md5 = el.getAttribute('data-md5'); addToImageBlaclist(md5); el.remove(); }); }

 

function removeBlacklistedImages() { var removed = 0; $('img.post-image').each(function (i, el) { if (-1 !== imageBlacklist.indexOf(el.getAttribute('data-md5'))) { el.remove(); removed += 1; } }); return removed; }

 

function onNopeClicked(event) { event.preventDefault(); event.stopPropagation(); loadImageBlacklist(); var post = $(event.target).closest('.post'); blacklistPostImages(post); removeBlacklistedImages(); saveImageBlacklist(); }

 

function addNopeButtons() { $('.post').each(function(i, post) { if ($(post).find('.nope').length === 0) { $(post).prepend("<input type='button' class='nope' onClick='onNopeClicked(event)' value='Blacklist'></input>"); } }) }

 

setInterval(function () { loadImageBlacklist(); removeBlacklistedImages(); addNopeButtons(); }, 500);

Anonymous ID: 7c7ca7 May 10, 2020, 2:48 a.m. No.9107047   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun

 

 

 

 

 

 

For Good Measure

 

Dropping Image Blur and Blacklist Button for this Bread Read and C/P (Copy-Paste) accordingly save bc it needs refresh upon exit.

 

BreadFilters-N++

 

hi anons looks like we got us a shill raid going on

 

>over the target!!!

 

use this code to blur the images

 

.post-image {

 

opacity: .8; / Can be between .01 - 1 /

 

filter: blur(8.5px); / Can be 0 - 10+ /

 

transition: all 233ms;

 

}

 

.post-image:hover {

 

opacity: 1; / Can be between .01 - 1 /

 

filter: blur(.5px); / Can be 0 - 10+ /

 

transition: all 89ms;

 

}

 

put it in options>theme

 

Second Script..

 

This code, added to your Options User JS will give you a button for Blacklisting any images you like permanently.

 

var imageBlacklist = [] ;

 

function loadImageBlacklist() { JSON.parse(localStorage.imageBlacklist || "[]").forEach(addToImageBlaclist); }

 

function saveImageBlacklist() { localStorage.imageBlacklist = JSON.stringify(imageBlacklist); }

 

function addToImageBlaclist(md5) { if (md5 && -1 === imageBlacklist.indexOf(md5)) imageBlacklist.push(md5); }

 

function blacklistPostImages(post) { $(post).find('img.post-image').each(function (i, el) { var md5 = el.getAttribute('data-md5'); addToImageBlaclist(md5); el.remove(); }); }

 

function removeBlacklistedImages() { var removed = 0; $('img.post-image').each(function (i, el) { if (-1 !== imageBlacklist.indexOf(el.getAttribute('data-md5'))) { el.remove(); removed += 1; } }); return removed; }

 

function onNopeClicked(event) { event.preventDefault(); event.stopPropagation(); loadImageBlacklist(); var post = $(event.target).closest('.post'); blacklistPostImages(post); removeBlacklistedImages(); saveImageBlacklist(); }

 

function addNopeButtons() { $('.post').each(function(i, post) { if ($(post).find('.nope').length === 0) { $(post).prepend("<input type='button' class='nope' onClick='onNopeClicked(event)' value='Blacklist'></input>"); } }) }

 

setInterval(function () { loadImageBlacklist(); removeBlacklistedImages(); addNopeButtons(); }, 500);