GitHub Toggle Expanders

A userscript that toggles all expanders when one expander is shift-clicked

Maker
Mottie
Dagelijks aantal installaties
1
Totaal aantal installaties
87
Beoordelingen
3 0 0
Versie
2.1.0
Gemaakt op
18-09-2016
Bijgewerkt op
17-02-2024
Licentie
MIT
Wordt toegepast op

A userscript that toggles all expanders when one expander is shift-clicked

  • This userscript works on repository commit, release, pull request & compare pages.
  • Toggle expanders ()
    • Click to toggle a single expander as normally.
    • Use Shift + Click on an expander to toggle all expanders within a date block (New behavior in v2.0.0)
    • Use (Ctrl or ) + Shift + Click on an expander to toggle all expanders on the page (New behavior in v2.0.0).
    • Example page: https://github.com/torvalds/linux/commits/master (Shift + click on a commit title ellipsis).
  • Resolved Outdated reviews (added v1.1.0; updated v2.0.0)
    • Click to toggle the resolved review as normally.
    • Use Shift + Click to toggle all outdated blocks within a single review.
    • Use (Ctrl or ) + Shift + Click to toggle all resolved blocks on the page.
  • The script was inspired by this thread: https://github.com/dear-github/dear-github/issues/193 and pull #22.
  • Click this link to install from GitHub; or, install from GreasyFork or OpenUserJS.
  • Compare pages
    • Click to toggle a single expander as normally.
    • Use Shift + Click on an expander to toggle all expanders on the page.
    • In this case, adding the Ctrl key does not change the behavior. As requested.

github-toggle-expanders

github-toggle-expanders-outdated

Hosted with ♥ at GitHub