Skip to content

Instantly share code, notes, and snippets.

@RayBB
Created August 5, 2020 14:59
Show Gist options
  • Save RayBB/fe023862e252a5bc7c4cc5b9b1ac948f to your computer and use it in GitHub Desktop.
Save RayBB/fe023862e252a5bc7c4cc5b9b1ac948f to your computer and use it in GitHub Desktop.
Hide feeds with no new items in miniflux
/*
Run this on https://reader.miniflux.app/feeds or whatever feeds page you have.
All of the feeds with 0 unread entries will be hidden.
*/
const items = Array.from(document.querySelectorAll(".item"))
items.forEach((item)=>{ if(item.querySelector('[title="Number of unread entries"]').innerText == '0') item.style.display = 'none' })
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment