Anonymous ID: 3afe8e April 8, 2019, 6:45 p.m. No.6103259   🗄️.is 🔗kun

>>6103113

 

I have this in js (it will automatically label any numbered psot reference as "(pb)" if it is from a previous bread):

 

var op = parseInt(document.getElementsByClassName('op')[0].id.split('_')[1]);

 

window.addEventListener("load", LoadListener, false);

 

function LoadListener() {

var replies = document.getElementsByClassName('reply');

for (var i=0, r; r=replies[i]; i++){

var rid = parseInt(r.id.split('_')[1]);

if (rid 100000) {

var body = r.getElementsByClassName('body')[0];

var elements = body.getElementsByTagName('a');

for (var j=0, a; a=elements[j]; j++){

if (a.hasAttribute('onclick')) {

if (a.onclick.toString().includes('highlightReply')) {

var pid = parseInt(a.href.split('/')[5].split('.')[0]);

if (pid < op - 751) {

if (!a.text.includes('pb')) {

a.text += ' (pb)';

}

} else if (pid < op) {

if (!a.text.includes('lb')) {

a.text += ' (lb)';

}

}

}

}

}

}

}

}

 

————-

 

Using 'Fringe' as theme in the Options menu.

 

————-

 

Dark Reader web browser.

 

————-

 

Oh, and you might like my PyCharm theme: