>>102525299
>or if it's client side just does it once after the post is loaded.
Seems to be the case
>https://s.4cdn.org/js/extension.min.1175.js
Parser.parseBacklinks = function (e, t) {
var a,
i,
n,
o,
r,
s,
d,
l,
c;
if (
n = document.getElementById('m' + e).getElementsByClassName('quotelink')
) for (o = {}, a = 0; i = n[a]; ++a) (r = i.getAttribute('href').split('#p')) [1] &&
(
r[1] == t &&
(i.textContent += ' (OP)'),
(s = document.getElementById('pi' + r[1])) ? o[r[1]] ||
(
o[r[1]] = !0,
d = document.createElement('span'),
c = Main.tid ? '#p' + e : 'thread/' + t + '#p' + e,
Main.hasMobileLayout ? d.innerHTML = '<a href="' + c + '" class="quotelink">>>' + e + '</a><a href="' + c + '" class="quoteLink"> #</a> ' : d.innerHTML = '<a href="' + c + '" class="quotelink">>>' + e + '</a> ',
(l = document.getElementById('bl_' + r[1])) ||
(
(l = document.createElement('div')).id = 'bl_' + r[1],
l.className = 'backlink',
Main.hasMobileLayout &&
(
l.className = 'backlink mobile',
s = document.getElementById('p' + r[1])
),
s.appendChild(l)
),
l.appendChild(d)
) : Main.tid &&
'>' != i.textContent.charAt(2) &&
(i.textContent += ' ')
)
},