* Hiding inactive repositories from main listing
@ 2018-06-04 21:07 konstantin
0 siblings, 0 replies; only message in thread
From: konstantin @ 2018-06-04 21:07 UTC (permalink / raw)
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.zx2c4.com/pipermail/cgit/attachments/20180604/72ed7206/attachment.asc>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-06-04 21:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-04 21:07 Hiding inactive repositories from main listing konstantin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).