A Tampermonkey userscript to make the project file lists on GitHub collapsible.
Temporary solution to
[Feature] Collapsible project files on Repository overview #109986
.And maybe also for
toggle-files-button missing on "New Repository Overview" #6959
of refined-github.
Uses localStorage
to be persistent on github.com
domain when reloading page/browser.
Format: show NUM rows // DEFAULT
show/hide NUM rows
will show/hide the list when clickedNUM
displays the number of files/folders in the list
DEFAULT
show the current default collapse state and when clicked will cycle through the following optionsauto
(default) only collapse when a README (or LICENCE or similar) is displayedexpanded
never collapsecollapsed
allways collapselast
uses last collapse state (starts collapsed)
Click here to see this userscript in tampermonkey (if you have the plugin installed).