GitHub Toggle Expanders

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

作者
Mottie
日安装量
0
总安装量
86
评分
3 0 0
版本
2.1.0
创建于
2016-09-18
更新于
2024-02-17
许可证
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