Skip to content

Userscript to make the project files list on GitHub collapsible

License

Notifications You must be signed in to change notification settings

MAZ01001/CollapsibleGitHubProjectFiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

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

Topics

Resources

License

Stars

Watchers

Forks