fe.settings:getUserBoardSettings - non array given[qanonresearch] - Endchan Magrathea
 >>/17738/

small bug, corrected below. /use or /ignore, youre call frens.


var getLinks = () => Array.from(document.querySelectorAll('a.quoteLink'));

var quotedPost = (link) => /^>>[0-9]+$/.test(link.innerText);
var pbQuotedPost = (link) => link.pathname != document.location.pathname;
var relabelQuotedPost = (link) => link.innerText = link.innerText + ' /pb';
var relabelQuotedPosts = () => getLinks().filter(quotedPost).filter(pbQuotedPost).forEach(relabelQuotedPost);

relabelQuotedPosts();

var interval = setInterval(relabelQuotedPosts, 5000);