Name: Anonymous 2021-06-21 9:45
Fucking cloud infra.
(limit => ((keyfun, groupfilter, handoff) => handoff (Array.from (document.querySelectorAll ("div.post > div.body")).map (e => [e, keyfun (e)]).reduce ((acc, [e, key]) => {
if (acc.length === 0) {
acc.push ({count: 1, bodies: [e], key: key})
} else {
const last = acc [acc.length - 1]
if (key === last.key) {
last.count++
last.bodies.push (e)
} else {
acc.push ({count: 1, bodies: [e], key: key})
}
}
return acc
}, []), groupfilter)) (e => e.parentNode.querySelector ("h3.posthead > span.name > a[href='mailto:sage']") != null, group => group.key && (group.count >= limit), (runs, groupfilter) => runs.filter (groupfilter).forEach (({count, bodies}) => {
bodies.forEach ((e, idx) => { if (idx > 0) { e.parentNode.parentNode.removeChild (e.parentNode); }})
bodies [0].parentNode.outerHTML = '<p style="border: thin dashed; text-align: center;">' + count + ' micro/pol/cels</p>'
}))) (5)
GET TURNED INTO BACON LIKE THE RESThttps://en.wikipedia.org/wiki/Charlotte's_Web