```ts
const purgeAiSlop = () => document.querySelectorAll('a.author[href="/apps/coderabbitai"]')
.forEach(el => el.closest('.TimelineItem')?.remove());
const debounce = (fn, ms) => {
let t;
return (...a) => (clearTimeout(t), t = setTimeout(() => fn(...a), ms));
};
new MutationObserver(debounce(purgeAiSlop, 100))
.observe(document.body, { childList: true, subtree: true });
purgeAiSlop();
```
you're welcome (gets rid of the coderabbit spam in github)
Login to reply