Hello:

I wanted to share with you a way to hide all inactive repositories (2+
years of inactivity) from the main listing using javascript. E.g. go to
https://git.kernel.org and paste this into the URL bar:

javascript:for(n of 
document.querySelectorAll('span.age-years'))n.parentElement.parentElement.remove()

I'm pondering adding a small link in the custom header:

[hide inactive] (with the snippet above)

the link is then replaced with [show inactive] which simply reloads the
page.

I wanted to check here first to see if anyone had improvement
suggestions or other comments before I try it out live.

Best,
-K

Attachment: signature.asc
Description: PGP signature

_______________________________________________
CGit mailing list
[email protected]
https://lists.zx2c4.com/mailman/listinfo/cgit

Reply via email to