Anonymous ID: f35f14 March 31, 2023, 1:57 p.m. No.18616421   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun   >>6434 >>6466

>>18616412

Try this auto PB script. It's tits on a phoneโ€ฆ

 

/ Auto PB /

$(document).ready(function(){var posts=[];var updatePosts=function(){posts=[];var OP=parseInt($('div.post.op a.post_no:eq(1)').text());posts.push(OP);$('div.post.reply').find('a.post_no:eq(1)').each(function(){var postID=parseInt($(this).text());posts.push(postID)})};var showpbLinks=function(){$(this).find('div.body a:not([rel="nofollow"])').each(function(){var postID;if(postID=$(this).text().match(/^>>(d+)$/)){postID=parseInt(postID[1])}else{return}var isInBread=$.inArray(postID,posts);if(isInBread===-1){$(this).after(' <small>(pb)</small>')}})};updatePosts();$('div.post.reply').each(showpbLinks);$(document).on('new_post',function(e,post){if($(post).is('div.post.reply')){updatePosts();$(post).each(showpbLinks)}else{updatePosts();$(post).find('div.post.reply').each(showpbLinks)}})});