GitHub Toggle Expanders

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

Автор
Mottie
Установок в день
0
Всего установок
86
Оценки
3 0 0
Версия
2.1.0
Создан
18.09.2016
Обновлён
17.02.2024
Лицензия
MIT
Работает на

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