MAZ01001 / CollapsibleGitHubProjectFiles

Userscript to make the project files list on GitHub collapsible

Repository from Github https://github.comMAZ01001/CollapsibleGitHubProjectFilesRepository from Github https://github.comMAZ01001/CollapsibleGitHubProjectFiles

Collapsible GitHub project files

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 clicked
    • NUM displays the number of files/folders in the list
  • DEFAULT show the current default collapse state and when clicked will cycle through the following options
    • auto (default) only collapse when a README (or LICENCE or similar) is displayed
    • expanded never collapse
    • collapsed allways collapse
    • last uses last collapse state (starts collapsed)

Click here to see this userscript in tampermonkey (if you have the plugin installed).

About

Userscript to make the project files list on GitHub collapsible

License:MIT License


Languages

Language:JavaScript 100.0%