-
-
Notifications
You must be signed in to change notification settings - Fork 165
GitHub toggle expanders
Rob Garrison edited this page Mar 25, 2017
·
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.
- Using Shift + Click on an expander toggle all visible expanders on the page.
- The script was inspired by this thread: https://github.com/dear-github/dear-github/issues/193.
- Example page: https://github.com/torvalds/linux/commits/master (Shift + click on the commit title ellipsis).
- Click this link to install from GitHub, or install from GreasyFork.
- Fix linting.
- Clean up "closest" function.
- Use
classList
toggle.
- Target selectors inside of commit lists. Fixes issue #8.
- Initial commit.
- Fix URL.