var links = 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 = () => links.filter(quotedPost).filter(pbQuotedPost).forEach(relabelQuotedPost);
Message too long. Click here to view full text.