Created
August 5, 2020 14:59
-
-
Save RayBB/fe023862e252a5bc7c4cc5b9b1ac948f to your computer and use it in GitHub Desktop.
Hide feeds with no new items in miniflux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
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