Skip to content

GitHub toggle expanders

Rob Garrison edited this page Feb 17, 2019 · 22 revisions

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

  • This userscript works on repository commit, release and pull request pages.
  • Toggle expanders ()
  • Outdated reviews (added v1.1.0)
    • Click to toggle the outdated review as normally.
    • Use Shift + Click to toggle all outdated blocks within a single review.
    • Use (Ctrl or )+ Shift + Click to toggle all outdated 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.

Screenshot

Expanders

github-toggle-expanders

Outdated Reviews

github-toggle-expanders-outdated

Change Log

Version 1.1.4 (2019-02-16)

  • Update GitHub icon.

Version 1.1.3 (2018-08-15)

Version 1.1.2 (2018-08-13)

Version 1.1.1 (2018-01-18)

  • Update assets.
  • Fix lint issue.

Version 1.1.0 (2017-06-15)

  • Add support for toggling outdated pull request reviews. See pull #22; thanks @cmalard!

Version 1.0.6 (2017-05-16)

  • Change license to MIT.

Version 1.0.5 (2017-05-14)

  • Update to work in releases pages; thanks @darkred!

Version 1.0.4 (2017-03-25)

  • Fix linting.

Version 1.0.3 (2017-01-11)

  • Clean up closest function.
  • Use classList toggle.

Version 1.0.2 (2016-09-29)

  • Target selectors inside of commit lists. Fixes issue #8.

Version 1.0.0 - 1.0.1 (2016-09-17)

  • Initial commit.
  • Fix URL.
Clone this wiki locally